Gerkiz / RPG

A Diablo like RPG stats system - now with magic!
The Unlicense
5 stars 3 forks source link

Mod breaks all Simple Start mods #1

Closed AlexBeez closed 3 years ago

AlexBeez commented 4 years ago

Title says it all. The mod breaks all mods that add inventory at the beginning of the game.

It's a simple enough workaround - start new world, save, THEN enable mod, but thought you might still want to know.

Loving it by the by.

Gerkiz commented 4 years ago

Happy that you enjoy the mod. This mod should not interfere with other mods inventory - since I add a rpg-string.

What mod are you using that breaks this?

AlexBeez commented 4 years ago

Other way around.

Having this mod enabled prevents all other mods from adding inventory to the player AND stops the Crash cutscene from playing which prevents the ship from spawning which, as of 1.0.0, often has inventory too.

Examples of mods broken by this behavior:

https://mods.factorio.com/mod/Kux-SpeedyBotStart https://mods.factorio.com/mod/crash-quick-start https://mods.factorio.com/mod/IngosAdvancedStart

Gerkiz commented 4 years ago

I'll load these mods and try to replicate this issue. I'll get back to you when I have a fix for this.

Gerkiz commented 4 years ago

I see the issue now.

What RPG does is - it applies the modifiers (below) to the player. So if there are any other mods that also does this then it will not work.

https://github.com/Gerkiz/RPG/blob/a0834fcb4ada66f2fdca01c200c2a3ed57b2c61b/utils/player_modifiers.lua#L24-L37

AlexBeez commented 4 years ago

That's interesting!