[v1.7.0+] Fearscape Vault Floor Sort

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2521
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.7.0+] Fearscape Vault Floor Sort

#1 Post 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]
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply