Open Brroleg opened 1 month ago
I seem to be able to reproduce, probably related to this error I get when deploying a solar suitcase
Notably this didn't affect taking down an old solar suitcase that I had deployed several updates ago, until I re-deployed it (getting this error)
So I did a little testing on this. When you remove the panel it's supposed to ignore the "item" line of the appliance entry and give you the "removes_as" line instead. However, it's giving both for some reason. I don't know why this is or how to fix it. That's why one of the removed panels is a 1/1 charged item, it's the battery magazine that's not supposed to ever appear in game.
This is also occurring for the smaller solar panel deployable, though it didn't kick me an error. These are the only two things in the game I found that use remove_as, so I can't test how broken it is.
Looking at the set base item error, I see the error output, and it appears to be because these are in fact different base items due to the remove_as field, but I have no idea what to do about any of this or if I'm even right in understanding it, I'm shit at reading code.
Describe the bug
Undeploying deployed solar suitcase creates "deployed solar suitcase" copy
Attach save file
N/A
Steps to reproduce
Expected behavior
Solar suitcase should not leave deployed copy of itself on the ground after undeploying
Screenshots
Versions and configuration
Experimental build 2024-05-15-0120
Additional context
No response