Skip to content
Brian Rivas edited this page Oct 21, 2017 · 8 revisions

Loot rules specify a type of treasure chest and loot to put in it. The loot is reliably distributed throughout chests of the specified type throughout the entire dungeon.

Loot Rule Structure

  • Object
    • "type" : String - Treasure Type
    • "loot" : Array - Loot Item
    • "quantity" : Integer (Number of items to add)
    • "each" : Boolean - If true, then this rule will add 'quantity' loot to each chest of this type. otherwise the specified 'quantity' will be distributed among all the chests of the type specified
    • "level" :
      • Integer - 0-4 the dungeon level that this rule targets
      • Array - of levels

Loot table

  • Object
    • table : String - Resource Location
    • type : String - Treasure Type (if missing, targets all types)
    • level : Array or Integer
      • Integer - 0-4
      • Array - of levels

Treasure Chest Types

The following explains what's included in these chest types by default

  • ARMOUR : A piece of armour and some consumables
  • WEAPONS : A weapon and some consumables
  • BLOCKS : A few stacks of blocks
  • ENCHANTING : An enchanted book and some experience bottles
  • FOOD : A few stacks of food
  • ORE : A few stacks of ore
  • POTIONS : A few stacks of potions
  • STARTER : Pantaloons and other gubbins. Also the mod book.
  • TOOLS : A tool and some ore
  • SUPPLIES : Various bits and bobs, often includes seeds and saplings
  • SMITH : A Tempered blade and some ore
  • MUSIC : A record
  • REWARD : Nothing by default. This is included in special reward rooms.
  • EMPTY : Nothing. This chest is excluded from rules that target all chests.
  • BREWING : Brewing supplies
Clone this wiki locally