Creative Mod

by jodli

Based on the old Creative Mode mod created by Y.Petremann, then patched by Pac0master, and also the Test Mode mod created by rk84. By enabling Creative Mode in the game, you can access objects that can generate unlimited items, fluid or energy, or nullify them. Perfect for testing purpose or making initial setup for games. Quick patch for 0.16 until an official release - everything should work now. Quick patch for 0.17 until an official release - if ever...

Content
6 days ago
0.17 - 2.0
115K
Cheats

b Crash When Exiting God Mode with Remote View Open

5 months ago

I encountered a crash when I had remote view open while in god mode. After clicking the button to exit god mode, the game immediately crashed with the following error message:

Hope this helps with identifying the issue—thanks!

Error while running event creative-mod::on_gui_click (ID 1)
__creative-mod__/scripts/util.lua:127: attempt to get length of local 'source_inventory' (a nil value)
stack traceback:
    __creative-mod__/scripts/util.lua:127: in function 'transfer_inventory_contents'
    __creative-mod__/scripts/cheats.lua:867: in function 'apply_to_target_function'
    __creative-mod__/scripts/cheats.lua:2271: in function 'apply_cheat_to_targets'
    __creative-mod__/scripts/gui-menu-cheats.lua:3156: in function 'on_gui_click_in_cheats_menu_toggles'
    __creative-mod__/scripts/gui-menu-cheats.lua:3709: in function 'on_gui_click_in_cheats_menus_gui_data_contents'
    __creative-mod__/scripts/gui-menu-cheats.lua:3767: in function 'on_gui_click'
    __creative-mod__/scripts/gui-menu.lua:322: in function 'on_gui_click'
    __creative-mod__/scripts/gui.lua:295: in function 'on_gui_click'
    __creative-mod__/scripts/events.lua:661: in function '?'
    __creative-mod__/scripts/events.lua:1421: in function <__creative-mod__/scripts/events.lua:1351>

New response