upgrades/destroys eat resources

Bug #846228 reported by Rob White
This bug report is a duplicate of:  Bug #559854: Enhancing a building wastes its wares. Edit Remove
8
This bug affects 1 person
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-and-expensive by destroying the flag.

(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.)

Tags: loss resource
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.