Equipment

by ElAdamo

Oh, you'd be surprised at the things you can learn while you're doing alterations.

Content
10 months ago
2.0
449
Combat Armor

b Crash when removing pocket

10 months ago

Crash occurs when respawning, removing armor containing pocket, or removing pocket from equipment grid.

The mod Adamo Equipment (0.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event adamo-equipment::on_player_removed_equipment (ID 42)
Given value has to be larger than or equal to: 0
stack traceback:
[C]: in function 'newindex'
__adamo-equipment
/adamocontrol.lua:107: in function 'to_property'
adamo-equipment/control.lua:148: in function 'process_equipment_change'
adamo-equipment/control.lua:201: in function <adamo-equipment/control.lua:199>

10 months ago

What other mods do you have?

10 months ago

Quite a lot... but the only one I can think of that could affect it is using https://mods.factorio.com/mod/ModularLife to give light and heavy armor equipment grids. Possibly https://mods.factorio.com/mod/HardcoreStart affects your stuff on respawn, but again this error also occurs when simply removing a pocket from the grid or taking off armor containing it.
Other than that, https://mods.factorio.com/mod/minime seems to cause conflicts with other mods.
I can give you a full mod list if you think it would help, but there's like a hundred of them and mostly entirely unrelated.

10 months ago
(updated 10 months ago)

Yeah, tough to say. Almost certainly an interaction with another mod. My mod tracks the effect of each equipment piece and adds/subtracts based on the difference, and likely is in a race condition with another mod where it then tries to subtract past 0. I'll try to make it more robust when I have time.

New response