Skip to content

Treasure_bigkey

Jan Sandström edited this page Apr 28, 2020 · 1 revision

The component has a big chest which contains the tier dungeon treasure/equipment item.

The component requires the following snippet:

local map, data = ...

local treasure = require 'maps/components/treasure_bigkey/treasure_bigkey'

treasure.init(map, data)

Apart from the common component tiles the following tiles are required:

  • A placeholder_bigchest tile named chest.

Rooms with a big chest should appear pompous, as if the room was designed to house a great treasure, not just put a chest wherever there was room for it. Therefore, no treasure_bigkey component should be smaller than 2/3 of a room.

Go nuts with torches, statues and other visuals.

Clone this wiki locally