Advertisement
Guest User

Custom dungeon loot template

a guest
Jan 4th, 2015
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. name: Name the chest uses when opened (defaults to none).
  2. weight: Chance of using this chest compared to other chests in the folder (higher = more likely), required field.
  3. min_items: Minimum number of item stacks to place (should be 1-27), required field.
  4. max_items: Maximum number of item stacks to place (should be 1-27 and not below min_items, defaults to min_items).
  5. reuse_groups: If set to false, when a group below is picked for an item stack to be added it can't be used again for that chest. If true, all groups can be used infinitely. Defaults to true.
  6. only_spawn_in_super_dungeon: If set to true, prevent this loot item being picked for regular unlinked dungeons. Only relevant to V5.2 and upwards.
  7. item_groups:
  8.  -
  9.     weight: Chance of picking this group compared to the other groups, required field.
  10.     items:
  11.      -
  12.         weight: Chance of picking this item compared to the other items in this group, required field.
  13.         id: The item ID for this particular item, or the internal name (like SUGAR_CANE), required field.
  14.         dmg: The damage value for this item (useful for different dyes and such). If the item id is an enchanted book, this is used to specify the enchantment level (capped at how high the random enchantment usually goes). Defaults to 0.
  15.         minstack: The minimum stack size, required field.
  16.         maxstack: The maximum stack size, defaults to minstack.
  17.       -
  18.         Repeat items in item group as many times as you want.
  19.   -
  20.     Repeat item groups as many times as you want.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement