XML Hot Reloader

If you liked this item, please rate it up on Steam Workshop page.

Author: Evil Factory

Last revision: 10 Mar, 2023 at 08:23 UTC

File size: 3.07 KB

On Steam Workshop

Description:

This mod was made for modders to be able to reload their XML mods without having to go back to the mainmenu.

Requires Client-Side Lua to work.

Adds two (new!!) console commands:

reloadpackage "Name Of Your Mod"
(You can use tab to autocomplete)

multicommand "name" "command 1" "command 2" "command x"
(Allows you to run many commands at same time without having to paste them individually)
example:
– multicommand "test" "spawnitem "revolver" inventory" "spawnitem "revolverround" inventory 8"
now you can just run
– multicommand "test"
and it will execute all the commands you specified in order

Notes

– Afflictions will have a ghost of their former self still present, you will need to run the revive command to remove the old affliction and use the giveaffliction command to give yourself the affliction again.
– All items associated with the reloaded mod will be deleted, you will have to spawn them again.

Download
Required items:

Click the title to search on this site.


Lua For BarotraumaSteam Workshop