Increase god mode's inventory size ?
Increase god mode's inventory size ?
Hi,
is there a way to increase god mode's inventory size ?
by god mode, I mean when game.player.character = nil ...
thanks.
is there a way to increase god mode's inventory size ?
by god mode, I mean when game.player.character = nil ...
thanks.
My mods on the Factorio Mod Portal
Re: Increase god mode's inventory size ?
There's a mod for this viewtopic.php?f=91&t=5891
I do not know if it works in god mode (I cant see why it wouldn't as it's written by one of the devs).
I do not know if it works in god mode (I cant see why it wouldn't as it's written by one of the devs).
See the daily™ struggles with my Factory! https://www.twitch.tv/repetitivebeats
Re: Increase god mode's inventory size ?
no, it does not work, it only modifies the real player inventory size.Ghoulish wrote:There's a mod for this viewtopic.php?f=91&t=5891
I do not know if it works in god mode (I cant see why it wouldn't as it's written by one of the devs).
My mods on the Factorio Mod Portal
Re: Increase god mode's inventory size ?
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"
If you want to get ahold of me I'm almost always on Discord.
Re: Increase god mode's inventory size ?
ha ha, ok, I have my answerRseding91 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"
My mods on the Factorio Mod Portal
Re: Increase god mode's inventory size ?
Oh noesRseding91 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"
Can you give me a hint about where to hack in the binary to change it?
Re: Increase god mode's inventory size ?
You can try using Big Bags mod as alternative.neoc wrote:Oh noesRseding91 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"
Can you give me a hint about where to hack in the binary to change it?
It increases stack sizes so you can fit more in same space.
Re: Increase god mode's inventory size ?
Yeah, that would work too. On the other hand that would be cheating regarding chest sizeorzelek wrote:You can try using Big Bags mod as alternative.
It increases stack sizes so you can fit more in same space.
I like to store a lot in chests, it would actually matter for me.
Re: Increase god mode's inventory size ?
Can it be accessed from a mod? I'd like have a key binding to empty it.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"
Re: Increase god mode's inventory size ?
Never mind I found it, if anyone else ends up here, it's at player.get_main_inventory() it can be wiped with .clear() and if you are in a keyboard event you can get the player with game.players[event.player_index]tolomea wrote:Can it be accessed from a mod? I'd like have a key binding to empty it.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"
Re: Increase god mode's inventory size ?
You can set the character_inventory_slots_bonus of the force:
Which will also work in god mode.
Code: Select all
/c game.player.force.character_inventory_slots_bonus=130