BinaryConstruct/Terraria-Map-Editor — Issue #194: Treasure Chest Contents Being Wiped Under Various Circumstances
Author: Alphanos
Created: 2012-01-03 03:05:06+00:00
State: open

Using TEdit 3 Beta 8:

This is closely related to issue #191, which was closed with an indication that the issues should now be resolved in beta 8. However 2 of the 3 reported use cases still result in chest contents being cleared under beta 8. I have copied and pasted the prior issue text below. Case 1 is now resolved, cases 2 and 3 remain.

--------------------------------------------------------

I've noticed that treasure chest contents are being wiped under several different circumstances, in order from least to most severe:

1) If a chest is copied and pasted, the pasted version will have no contents. (Note: this is the case which is now fixed in beta 8).

2) If a chest is accidentally deleted during other edits, and that deletion is undone (with Undo), the replaced chest will have no contents (!).

3) If painting with the brush over a chest area using a mask to avoid doing anything to the chest, the chest's contents will still be cleared (!!). In my case I decided to change my world's dungeon from green to blue dungeon bricks using a brush masked to only edit dungeon tiles. I didn't realize until far later that this had completely cleared the contents of all chests in my dungeon. Since this is an editor I can always add new contents or place dungeon-unique items elsewhere, but I'm fairly sure this must be an unintentional aspect of brush masking.

I did notice that another issue is open regarding chest contents not being saved into exported schematic files, but given the other scenarios I've noticed, I suspect that is simply a side effect of other chest handling code.