Page 1 of 1

Sandbox mode issue

Posted: Fri Apr 15, 2016 11:14 pm
by bobingabout
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?

Re: Sandbox mode issue

Posted: Sat Apr 16, 2016 1:31 pm
by daniel34
Rseding91 wrote:The God Controller inventory size is currently hard coded with a nice note above it in the code that says "to do - move this to a prototype" :P
Source: Increase god mode's inventory size ? [Modding help]

Re: Sandbox mode issue

Posted: Sat Apr 16, 2016 2:05 pm
by Adil
You cant modify a God. :P

Re: Sandbox mode issue

Posted: Sat Apr 16, 2016 2:44 pm
by bobingabout
I presume the same issue with crafting catagories?
though, might not be a move todo x3