Changes between Version 1 and Version 2 of DevNotes/UnitEquipment


Ignore:
Timestamp:
05/12/09 20:24:12 (11 years ago)
Author:
ibboard
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevNotes/UnitEquipment

    v1 v2  
    11= Dev Notes - Unit Equipment =
    22
    3 The following [wiki:DevNotes development notes] are on unit equipment and how best to handle it. This includes how to define what equipment a unit type can take and what equipment a unit currently has.
     3The following [wiki:DevNotes development notes] are on unit equipment and how best to handle it. This includes how to define what equipment a unit type can take and what equipment a unit currently has. Any text that is in <pointyBrackets> is a tag in the default [browser:IBBoard.WarFoundry.API/trunk/dtds/ WarFoundry XML file format].
     4
     5== Defining a unit type's equipment ==
     6
     7To allow multiple unit types to share the same equipment the Race definition contains a [browser:IBBoard.WarFoundry.API/trunk/dtds/race.xsd?rev=116#L120 common <equipmentItem> definition]. All that is common to an item of equipment is its name, "armour type" and cost - everything else changes per-unit.
     8
     9Each unit then has a [browser:IBBoard.WarFoundry.API/trunk/dtds/race.xsd?rev=116#L31 <unitEquipmentItem> definition] references an <equipmentItem> and defines limits on how many can be taken, exclusion lists of what the item can and cannot be taken with, whether the item (or one of the items it is in an exclusion group with) must be taken and (after ticket:82) whether there is a custom multiplier on the item's value.