1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 19:57:46 +00:00
kawari/resources/scripts
thedax 61616df842
Reimplement several commands in Lua (#37)
* Reimplement !unlockaction in Lua
Rebased on upstream master

* Unlockaction: display the action id that was unlocked

* Reimplement GM speed in Lua

* Fix warnings and errors

* Run cargo fmt

* Reimplement GM wireframe in Lua

* Reimplement GM invis command, with a caveat
It can't toggle the invis state yet, and I'm not sure where to update it.

* Lua invis: add the gm_invisible toggle, but it still doesn't revert back to false...

* Reimplement GM aetheryte in Lua, with a caveat
It's seemingly not working right now though: it doesn't add any new aetherytes to the teleport menu.
But I can't get the command `//gm aetheryte on X` to do it either, so it's possible Kawari isn't responding correctly?
Either way this needs further testing.

* Lua invis: add the forgotten Lua file

* Reimplement GM teri in Lua
Also add a TODO for UnlockAetheryte

* Make comment in lua.rs more useful

* Run cargo fmt again

* Teri: range check the territory ID

* Update USAGE.md to reflect the new commands
Rebased on upstream master

* Clarify unlockaetheryte USAGE and in-script usage

* Refactor UnlockAetheryte.lua, and make ToggleInvisibility actually work properly.
I opted to create a Task for this, because sticking it in kawari-world.rs felt like a hack to me.

* Run cargo fmt for hopefully the last time today

* Move lua.ra:toggle_invisibility down with the other queued tasks

* Fix spaces in USAGE.md, remove stray rebase message
2025-06-21 13:30:52 -04:00
..
actions Add script for the Teleport action 2025-05-11 10:12:02 -04:00
commands/debug Reimplement several commands in Lua (#37) 2025-06-21 13:30:52 -04:00
common Add generic Aetheryte event script, document the interesting scenes 2025-06-21 12:01:11 -04:00
custom/000 Create GenericWarp script to handle simple warps 2025-05-05 23:30:36 -04:00
items Implement Fantasia and remaking your character 2025-05-02 15:36:22 -04:00
opening Add warning message when failing to find poprange 2025-05-12 16:32:55 -04:00
tosort Add dummy event script for Central Shroud's Chocobokeep 2025-06-21 11:34:56 -04:00
warp Consolidate exit-to-inn scripts into a generic one. 2025-06-21 09:12:28 -04:00
Global.lua Reimplement several commands in Lua (#37) 2025-06-21 13:30:52 -04:00