BrogueCE icon indicating copy to clipboard operation
BrogueCE copied to clipboard

Creatures can still 'swim' in obsidian created from dragonfire+water

Open tmewett opened this issue 3 years ago • 1 comments

Submerged kraken grappling the player from obsidian: https://cdn.discordapp.com/attachments/647802299783184384/863600149258436639/unknown.png. 1.10.0

tmewett avatar Jul 18 '21 17:07 tmewett

I looked into this one - obsidian is a SURFACE feature, so the dragon fire places obsidian "over" other terrain, such as water.

Several fixes I tried:

  1. Add DFF_BLOCKED_BY_OTHER_LAYERS to the OBSIDIAN feature

    • Does not fix the issue, it still spawns on water, and monsters can still swim under it
  2. Change OBSIDIAN from SURFACE to DUNGEON feature

    • Similar behavior to (1)
  3. Add DFF_CLEAR_OTHER_TERRAIN to the OBSIDIAN feature

    • Creates a new problem because it replaces any tile with obsidian (dragon fire turns deep water into obsidian)

So, not sure what the right move is for this one. Solution (3) certainly has a lot of flavor, but it may damage machines/puzzles by clearing important flags.

brturn avatar Feb 05 '23 23:02 brturn

I added DFF_CLEAR_LOWER_PRIORITY_TERRAIN

zenzombie avatar Apr 07 '24 17:04 zenzombie