Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Mirror doesn't break on the first stab with the dagger (5.1.0.6513)
New Topic New Poll Post Reply
Poster Message
kikuchiyo
Level: Master Delver
Rank Points: 175
Registered: 04-01-2012
IP: Logged

File: TDoKH Unfriendly Neighbours 5N1E Victory.demo (21.5 KB)
Downloaded 8 times.
License: Public Domain
icon Mirror doesn't break on the first stab with the dagger (5.1.0.6513) (+1)  
In The Descent of King Hesper, Unfriendly Neighbours 5N1E there is a mirror in the corner that doesn't break on the first time when stabbed with the dagger, only on the second stab (even though there is a mirror breaking sound effect on the first stab too). Is there a rational explanation for this?

This was observed on Linux, DROD version 5.1.0.6513. See attached demo.
01-11-2025 at 11:03 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1496
Registered: 06-23-2006
IP: Logged
icon Re: Mirror doesn't break on the first stab with the dagger (5.1.0.6513) (+2)  
There is a rational explanation: the tile has two mirrors on it. This is difficult to know prior to 5.1.1, since covered items weren't displayed in tooltips before then.

Of course this situation shouldn't be possible to create. So there's probably a bug potentially allowing arbitary T-layer items to be covered by mirrors. This is not desirable.

____________________________
[Insert witty comment here]
Qzvlkx?
02-11-2025 at 06:53 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
kikuchiyo
Level: Master Delver
Rank Points: 175
Registered: 04-01-2012
IP: Logged
icon Re: Mirror doesn't break on the first stab with the dagger (5.1.0.6513) (+1)  
Interesting! Both the two stabs and the two breaking sounds make sense then.

This breaks my mental model of DROD somewhat, though: I thought of game squares as having a "floor" that may have multiple types of modifier layers over it (tokens, arrows, ortho squares etc.), and a "volume" that may hold zero or one item or monster, but not more.

There is a level in TDoKH where mirrors or kegs can be placed under the player with build commands (and there may have been earlier examples), so this mental model was already weakened, but still, it was surprising to learn that two mirrors can, in fact, be on top of each other.

Is it at least true that it is not possible to for two items/monsters to occupy the same square, if they weren't originally placed there, or by a script?

Also, can this effect have further, unexpected puzzle potential?

For example, stacks of monsters that have to be stabbed multiple times, or a monster that carries an other monster or item on its back. Is this latter thing even possible?
02-11-2025 at 08:05 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
hyperme
Level: Smitemaster
Avatar
Rank Points: 1496
Registered: 06-23-2006
IP: Logged
icon Re: Mirror doesn't break on the first stab with the dagger (5.1.0.6513) (+2)  
The strange double-mirror is a consequence of the way the "transparent" layer works, which is the one with tokens, fuses, tarstuff, potions and the pushable objects. Since you can push mirrors and kegs over certain other items, there's effectively an extra layer for covered items. However, mirrors aren't supposed to cover other mirrors. Even scripted building follows that rule. There is presumably a missing check somewhere in the editor code that has allowed this illegal stacking to occur.

Multiple monsters can't be stacked (with the exception of invisible NPCs, which don't really exist in the room), and the game tends to get very upset if something goes wrong enough to allow that to happen.

____________________________
[Insert witty comment here]
Qzvlkx?
02-11-2025 at 11:11 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
disoriented
Level: Smitemaster
Avatar
Rank Points: 2517
Registered: 08-07-2007
IP: Logged

File: dbl.png (95.8 KB)
Downloaded 71 times.
License: Public Domain
icon Re: Mirror doesn't break on the first stab with the dagger (5.1.0.6513) (+5)  
Mirror mirror on the floor, reflecting aumtlich beams I can't ignore,
In the same square, they both collide, a bug we can't let slide.
Mirror, mirror on the floor, two reflections, one heretofore,
Fix the code, make it right, so only one shines in the light.



____________________________
34th Skywatcher

Best to PM me, since I might miss your message on CaravelNet chat.
02-11-2025 at 11:52 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Mirror doesn't break on the first stab with the dagger (5.1.0.6513)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.9
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.