Page 1 of 1

[v1.7.0+] Fearscape Vault Floor Sort

Posted: Mon Jun 24, 2024 9:48 pm
by Zizzo
While I was testing our new support for The Hammer of Urh'Rok in Traps in Other Campaigns, I was reintroduced to a few minor inconveniences in the campaign's storage room in Fearscape. The inner walls taking up a chunk of our space was one thing, but having to manually sort dropped objects by type (which the Shert'tul fortress storage room does for us automatically) was mildly annoying.

Well, I already fixed that for Embers via Ruined Cave Floor Sort, and this storage room is rectangular, which avoids a lot of the problems I had in that case, and thus it was both easier and harder than I feared to whip up a new addon, Fearscape Vault Floor Sort. We knock out the inner walls for more room, :twisted: and drops sort by type automatically (right to left, since the door is on the west wall).

[And no, obviously this one isn't going into ZOmnibus… :wink: ]

[Implementation notes:]

Code: Select all

Hooks:
  ToME:load [to install our floor-sorting function]
  MapGeneratorStatic:subgenRegister [to remove walls in Fearscape vault]
  Zone:create [to add floor sorting to vault floor grids]