Trickster

Trickster 是一个基于 esolang(极简编程语言)的魔法模组, loosely 受到 Hex Casting 的启发。
配备一本由古代奥术学者撰写的书籍,学习组合法术,创造出从简单到复杂随心所欲的魔法效果。
Trickster 的进度高度依赖知识积累。浏览创造模式标签页或自行授予进度可能会破坏预期的游戏体验。

那么我能制作什么?
可以。
你可以组合的法术构建于一个图灵完备的树状结构中,
提供了在创建所需结果方面的完全自由。
法术可以实现你所能想象的任何东西*!
*假设你的想象力受限于可用符文(glyphs)的范围。
库及作者不对过度活跃的想象力或其他形式的不当创造力承担责任。

这是一个相当大胆的声明,不是吗?
确实如此,但我们认为这并非空穴来风。
首先,法术会一直施放直到完成,而这实际上可能永远不会结束!
法术与游戏其余部分并发运行,并且可以随时保存到磁盘或从磁盘加载,就像 Minecraft 中的其他一切一样。这意味着你可以让一个法术持续运行,登出游戏,两天后再回来,它会继续在你离开的地方执行。
此外,法术可以无限庞大和复杂。虽然法术的执行速度存在限制(以避免给服务器带来压力),但法术本身可以如你所愿地复杂或简单!
那么我该如何开始?
好吧,我们已经让这部分变得相当容易。
所有图案、物品和方块均由 Areli Haron 所著的《教师之语》(The Teacher's Language)记录,
她是少数精通奥术的古代文明遗存之一。
随着你对世界了解的加深,书中会增加反映这些发现的笔记。
如果愿意,也可以在 trickster.ing 上查看网络版书籍。

我还会有什么期待?
正如任何优秀的魔法模组应该做的那样,我们提供了一系列扎实的工具和小饰品,以促进法术的组合与施放。

功能性编程意义上的“Functional”
对于更具编程思维的人来说,本模组的施法系统可以被描述为基于树的函数式编程,最接近 Lisp。这意味着以下几点:
- 数据是不可变的。
- 递归不仅是可能的,而且是实现类似循环行为的主要方式。
- 这也意味着通过尾调用优化(Tail-Call Optimization)实现了无限(甚至是相互!)递归。
- 数据只能从树上的一个节点向上移动到下一个节点。
这与其他函数式范式相结合,创造了一种非常简洁但功能强大的脚本语言。
鸣谢
部分物品纹理 courtesy of Discord 上的 @midnightcartridge。
同样感谢 @crephan 帮助处理了许多物品纹理和模型。
本模组最初是为 Modfest: Carnival 制作的,
但此后已远远超出了其原始范围,得到了进一步开发。
Trickster

Trickster is an esolang-based magic mod loosely inspired by Hex Casting.
Equipped with a book written by an ancient arcane scholar, learn to compose spells which create magical effects as simple or complex as you want.
Trickster's progression is heavily knowledge-based. Looking through the creative tab or granting yourself advancements may be detrimental to the intended experience.

So what can I make?
Yes.
The spells you can compose are made in a turing-complete tree-like structure,
offering complete freedom in creating the results you want.
Spells can do literally anything you can imagine*!
*Assumes your imagination is limited by the scope of available glyphs.
Library inc. takes no responsibility for overactive imagination or other forms of undue creativity.

That's a pretty bold statement isnt it?
Yes it is, but we don't think its unfounded.
For one, spells will not stop casting until they are complete, which can, in fact, be never!
Spells run concurrently with the rest of the game and can be saved to and loaded from disk at any moment, just like everything else in Minecraft. This means you can leave a spell running, log out, come back two days later, and have it continue where you left off.
But also, spells can be infinitely big and complex. While there is a limit to the speed spells execute at (to avoid straining the server) the spell itself can be as convoluted or as simple as you want!
So how do I begin?
Well, we've made that part pretty easy.
All patterns, items, and blocks are documented in The Teacher's Language by Areli Haron,
one of the few remnants of an ancient civilization proficient in the arcane.
As you discover more about the world, notes will be added to the book reflecting on those discoveries.
If preferred, there is also a web book at trickster.ing.

What else can I expect?
As any good magic mod should, we provide a solid selection of tools and trinkets to facilitate spell composition and casting.

Functional as in Functional Programming
For the more programming-minded, the spellcasting system in this mod can be described as tree-based functional programming, most closely resembling a Lisp. This means a few things:
- Data is immutable.
- Recursion is not only possible, but also the main way to achieve loop-like behaviour.
- Which also means infinite (and even mutual!) recursion via Tail-Call Optimization.
- Data can only move up the tree from one node to the next.
- Though various flow control options exist to overcome this limitation.
This combines with other functional paradigms to create a very clean, but powerful scripting language.
Credits
Some of the item textures are courtesy of @midnightcartridge on Discord.
Thanks to @crephan as well for help with a bunch of item textures and models.
This mod was originally made for Modfest: Carnival,
but has since been further developed far beyond its original scope.
评论 0
登录后参与评分
还没有评论,来抢沙发吧