User Tools

Site Tools


modding:xml:itemtable

Summary

  • <ItemTable>. Contains multiple generators. All child generators and their children can have chance (100 by default) and count (1 by default). Each generator is tested for chance and if successful will run a number of times based on count.
    • UNID=
    • <Group>. Same as <ItemTable>
      • value= Runs until the total value of items generated reaches this amount.
      • levelValue= Contains the total values of items at each level, starting at 1.
    • <Table>. Generates an item from only one of the child generators, selecting based on each generator's chance.
    • <LevelTable>. Creates an item from only one of the child generators. All children must have a levelFrequency attribute. Ignores the children's individual chance attributes.
    • <LocationCriteriaTable>. Creates an item from only one of the child generators. All children must have a criteria= attribute in the location criteria format. Ignores the children's individual chance attributes.
    • <Lookup>. Generates items using another <ItemTable>
      • count=
      • table=
    • <RandomItem>. Chooses an item based on its category and attributes. levelFrequency= and levelCurve= cannot be used together. criteria and attributes with categories cannot be used together.
      • criteria=
      • attributes=
      • modifiers= DEPRECATED: Same as attributes
      • categories=
      • levelFrequency=
        • “{1}{2}{3}{4}{5}…“ where {X} is the frequency of items with level X
        • “systemLevel:{below}|{center}|{above}“ where {center} is the frequency of items with the same level as the current system, {below} represents frequencies of items with levels below the current system level, and {above} represents items above the system level.
      • level= The level that items should have in order to qualify.
      • levelCurve= The maximum difference, between the required level and item level, that qualifying items can have.
      • enhanced= The chance that the item will have the specified enhancement.
      • enhancement= The code of the enhancement that this item may have.
      • damaged=
    • <Item>. Generates a single item.
      • count=
      • item=
      • enhanced=
      • enhancement=
      • damaged=
      • debugOnly= This item only appears during debug mode.
    • <Null>. Generates nothing
modding/xml/itemtable.txt · Last modified: 2017/02/12 07:12 by 0xabcdef