upgrades/destroys eat resources
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
New
|
Undecided
|
Unassigned |
Bug Description
As near as I can tell, whenever I upgrade a building that has use resources in it, those resources disappear. That seems wrong. In the same way that soldiers and workers leave a building you are destroying, the _stuff_ in a building should be returned to the economy.
Example: going from a mine to a deep mine should eject the snacks onto the flag. The replacement building doesn't use snacks, so those things, even if they are "in there" are just gone.
In the ++ version destruction or upgrade should wait for the evacuation (maybe overridable) so if, say, you were to destroy a warehouse the stuff should pile onto the road with lag and everything first. The override for this would be, when destroying the building, the destruction would be instant-
(I might be wrong about the lost material if it teleports back to the warehouse, but it doesn't _seem_ to do that as far as I can tell.)
Hello Rob and welcome to the Widelands bug tracker!
Yes, when upgrading or destroying a building all wares will be lost. This has been discussed a bit before in bug 559854 and bug 587251. I believe any further discussion or anything you wish to add should happen in the other bug reports. (I am marking this as a duplicate of bug 559854. (Unfortunately the discussion is a bit spread between the two bugs mentioned earlier and one more, but they all cover different aspects, so I don't think it would be right to mark all of them duplicate in order to cut it down to a single report.)
Feel free to report any other bugs you may find in the future.