Skip to content

Fixes and features for Classes#558

Draft
Qatavin wants to merge 2 commits intomodded-factorio:devfrom
Qatavin:patch-3
Draft

Fixes and features for Classes#558
Qatavin wants to merge 2 commits intomodded-factorio:devfrom
Qatavin:patch-3

Conversation

@Qatavin
Copy link
Collaborator

@Qatavin Qatavin commented Mar 12, 2026

Addresses #552

The god controller's inventory will now be preserved when you switch in and out of it, as requested, by saving its contents in storage. I've set it up in a way that can accommodate multiple players, even though god mode is only meant for use in single player or by an admin. Just in case.

Also, I've added a check that will make it so the God Mode button will always be there if you start the game in god mode (meaning, in Sandbox mode). It would be understandably frustrating if someone were to start a game intending to jump in and out of God Mode, only to realize several hours in that they forgot to enable the setting.

Addresses #554

Adds checks to create_character function to ensure that any items you try to add or remove from an inventory exist.

I would also like to address #466 here by removing the Editor Mode button, since it's basically pointless. /editor fulfills the same function, and without any of the obtuse issues. But I need @KiwiHawk to give the go ahead for that.

I have been unable to recreate the crash described in #539.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant