添加了一种相当不平衡的 iota 存储形式,称为属性 iotas。这些本质上是将焦点铭刻在宇宙结构本身中的存在;它们可以以极低的代价写入,并且可以自由读取。
它们可用于许多应用场景,例如通过将分支卸载到属性中来避免长 Hex 中的堆栈限制,或者用于玩家施放的 Hex、施法装置、灵体、法术圆圈以及任何嵌入了 iota 的对象之间的通信。它还可用于保留状态,例如一个施法装置通过递增某个属性来记录其被施放的次数,并在每次施放时执行不同的操作。
作为有趣的额外特性,所有属性名称均生成得类似于 toki pona 词汇,包括围绕禁止音节及鼻音前音节的所有限制规则,以及属性名称长度的加权机制。每个属性名称均可发音。
此外,对于希望制作插件的用户来说,这也是一个很好的学习参考,因为它相对简单,同时仍能利用持久化状态和新型 iota 实现一些强大的功能。
Adds a fairly unbalanced form of iota storage called property iotas. These are essentially focuses inscribed into the fabric of the universe itself; they can be written to for very cheap and read from freely.
They can be used in many applications like avoiding the stack limit in long Hexes by offloading branches into properties, or to communicate between player-cast Hexes, casting devices, wisps, spell circles, and anything else that have an iota embedded. It can also be used to retain state, for example a casting device that increments a property in order to know how many times it has been cast and do something different each time.
As a fun bonus, all property names are generated to resemble toki pona words, including all the rules surrounding banned syllables and syllables proceding nasals, as well as the length of the property's name being weighted. Every property can be pronounced.
Also good as a learning reference for those looking to make an addon, with how relatively simple it is while still doing some powerful stuff with persistent state and a new iota type.
下载 Hexcellular
下载 Hexcellular
下载 Hexcellular
下载 Hexcellular
下载 Hexcellular
下载 Hexcellular
下载 Hexcellular
- 修复了一个 bug,其中属性 iota 在检查相等性时未考虑其只读状态
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
所有本应存在的事物
模组
一个专注于小调整和品质生活添加的 Ars Nouveau 模组扩展。
模组
沼泽村落与音乐蛙群!
模组
一款功能齐全的 Minecraft 模组,关于驾驭色彩的力量
模组
一个包含具有独特机制的实用物品的模组 :3
模组
添加魔法元素
评论 0
登录后参与评分
还没有评论,来抢沙发吧