Recharging Armor

by Silari

Armor which has been unequipped still charges. Modded solar panels and fusion generators should be fully supported, as well as any equipment that stores energy. Burner generator equipment is not currently supported.

Tweaks
a month ago
1.1 - 2.0
401
Armor

b [DONE]Existing game fails to load after mod is enabled

a month ago

I didn't see any warnings about it but I'm not sure if this mod is only supposed to be added to new games.

After adding this mod, my existing Space Age game fails to load with the following message:

The mod Recharging Armor (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Recharging_Armor::on_init()
Recharging_Armor/control.lua:28: attempt to index local 'event' (a nil value)
stack traceback:
Recharging_Armor/control.lua:28: in function 'initstuff'
Recharging_Armor/control.lua:39: in function <Recharging_Armor/control.lua:37>

a month ago

It should be fine to add later, the code that’s breaking is setup to handle that. I must have made a mistake when fixing one of the bugs last night, though it’s odd it didn’t trigger since I was in fact testing it by adding it to my vanilla save. I’ll look at it tonight when I’m home.

a month ago

Thank you!

a month ago

This has been fixed in the new version. Apparently this was broken since it was released, and no one noticed until now.

New response