XML Hot Reloader
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
– 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.