forked from OpenRA/OpenRA
-
Notifications
You must be signed in to change notification settings - Fork 1
Unit Traits: Money related
hamb edited this page Nov 7, 2011
·
7 revisions
The traits listed here all have to do with money, ore, buying the unit, etc.
AcceptsSupplies: # If present, supply units can drop off their supplies here
Related: 'SupplyTruck' trait, to specify supply units.
CustomSellValue:
Value: 0 # Defines what you get when you sell by a specified number. (Mostly used by walls)
GivesBounty: # If present, unit will give bounty on death
Percentage: 10 # Percent of value given as bounty
LevelMod: 125 # If unit is level k, then gives k*1.25 times the amount of bounty.
Stances: Enemy, Neutral # If the destroyed unit's stance is of Enemy or Neutral, give the bounty. Supports Enemy, Neutral, and or Ally
Related: 'Valued->Cost', or 'CustomSellValue->Value', for bounty calculations.
[CustomSellValue->Value takes precedence]
StoresOre: # If present, unit has the ability to store ore
PipCount: 0 # number of little squares used to display how filled unit is
Capacity: 0 # Amount of ore storable by unit
SupplyTruck: # If present, unit has the abilities of a supply truck
Payload: 500 # The amount of supplies (money) that will be sent
Related: Buildings which can receive supplies need the 'AcceptSupplies' trait.
Valued:
Cost: 0 # Cost of producing unit in game