Sandbox mode issue
Posted: Fri Apr 15, 2016 11:14 pm
I have been posed with an interesting bug report for my mods.
To have a special "Electronics Assembling Machine" factory, capable of producing only electronic based products, some of which are normally made hand crafting, and others made only by machine, I created 2 new crafting categories.
"electronics-machine", which can only be produced by machines, and is present on the new electronics machine, and added to every machine with the "crafting" catagory. and "electronics", which is also on the new electronics machine, but also added not only to the machines with the "crafting" catagory, but also the player.
Here lies the issue, it is added to the player entity, but Sandbox mode does not have a player entity with a "crafting_categories" tag to add "electronics" to, therefore, in sandbox, you can't craft electronics. it also doesn't allow me to increase the "inventory_size" either.
Does anyone know of any way to add new crafting catagories to the "God" player, or increase it's inventory size in sandbox mode?
To have a special "Electronics Assembling Machine" factory, capable of producing only electronic based products, some of which are normally made hand crafting, and others made only by machine, I created 2 new crafting categories.
"electronics-machine", which can only be produced by machines, and is present on the new electronics machine, and added to every machine with the "crafting" catagory. and "electronics", which is also on the new electronics machine, but also added not only to the machines with the "crafting" catagory, but also the player.
Here lies the issue, it is added to the player entity, but Sandbox mode does not have a player entity with a "crafting_categories" tag to add "electronics" to, therefore, in sandbox, you can't craft electronics. it also doesn't allow me to increase the "inventory_size" either.
Does anyone know of any way to add new crafting catagories to the "God" player, or increase it's inventory size in sandbox mode?