ScriptTheSpire 预览图

杀戮尖塔 (Slay the Spire)

ScriptTheSpire

模组简介

Giving players or modders the ability to write Lua scripts to modify the game Put Lua scripts under "mods/scripts" in the game root directory to apply effects. This mod supports hot-reload, any changes to the files will be applied without restarting the game. For example, you can write a script that gives you 1 gold whenever you play a card: addListener('OnCardUse', function(e) local absDungeon = java.bind('com.megacrit.cardcrawl.dungeons.AbstractDungeon') absDungeon.player:gainGold(1, true) end) Or add a shiv when battle start: addListener('OnBattleStart', function(e) local shiv = sts.newCard('Shiv') print(shiv) local action = sts.newAction('MakeTempCardInHandAction', shiv) sts.addToBot(action) end) Or debug your mod with the ability to interact with lua and java. Some example scripts will be generated automatically at first run. You can delete them as you like. Tutorials: Github

条目信息

所属游戏
杀戮尖塔 (Slay the Spire)
创意工坊 ID
3038839709
文件名
3038839709.bin
文件大小
900.7 KB
最后更新
2023/10/03
内容版本
v1696304720-bd3c6c948a90368b
作者与来源
由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。

版权与举报

本条目的著作权归其原作者所有。尖塔补给站仅提供索引与下载中转,不存储、不修改、不二次分发其著作权内容, 也不对其内容作任何担保。详见 版权声明免责声明

若你是该内容的权利人并希望下架此条目,或发现该条目含有违法违规内容,请通过 侵权删除申请 提交材料,我们会在核实后处理并在本页标注状态。

Steam 社区评论

以下评论来自 Steam 创意工坊原始页面,由 Steam 用户发表,不代表本站立场。