Skip to content

MissionsLootTable.json

AlPepino edited this page Feb 27, 2022 · 2 revisions

Object array of all available loots in missions. Must be called by title in mission.

title

unique name of this set

type

reserved keyword. Possible values are:

  • weapons - used for weapon set. First element of string array items must be className of the weapon and the rest are its attachments
  • equipments - random element of string array items will be chosen (obsolete)
  • items - random element of string array items will be chosen
  • lootset - used for items set. It useful for spawning item with attachments etc.

quantmin

minimum quantity in case of item has quantity

quantmax

maximum quantity in case of item has quantity

chance

takes float value 0-1. 1 means 100% chance for spawning (default value, which can be override in mission template)

items

array of string array. Random element will be chosen. E.g. : [["NVGoggles","KazuarOptic","StarlightOptic"],["NVGoggles"]]