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
11 days ago
0.17 - 2.0
102K
Cheats

g Error with resource sprites

a month ago

Due to the icon_size changes any mod that uses a resource with an icon of 32 pixels will cause an error when CM tries to make the infinite version. Real simple fix though.

In the 2.0.2 release, it's at line 286 of data-final-fixes.lua. Change it to add the icon_size:
{ icon = resource.icon, icon_size=32 }

Line 279 might also need the same fix as it's also adding a 32 pixel icon without specifying size. Haven't tested this though.
table.insert(icons, { icon = creative_mode_defines.mod_directory .. "/graphics/icons/infinite-resource-32.png" , icon_size=32 })

New response