jkachhad / Stormhalter

A public repository for Stormhalter, a Legends of Kesmai revival project.
GNU General Public License v3.0
13 stars 36 forks source link

Decorations on walls that are secret doors should vanish when the door is opened #1426

Open yarrim opened 2 years ago

yarrim commented 2 years ago

The poisoned dagger is used frequently to denote a thief secret door. Other "wall decoration" statics may be used similarly to denote breakable walls or secrets. UK, surface, door to thief trainer area has a static dagger (385, terrain.xml has an order of 7) over a door with a secretID of 346 (order 5) and openId of 74 (order 1). I suspect that any cases where a static ID has an order higher than a door's openID and/or SecretID, that static should be hidden if the door is opened or the wall is destroyed.

jkachhad commented 2 years ago

I think the issue is due to the static not related to the door. We may need two new terrain that uses multiple sprites, the dagger sprite after the door sprite. It's not possible to trigger hiding the dagger when the door is open. Some of the Kesmai temple doors have this, where the emblem moves with the door.