Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/ResourceSupply.js
Show All 10 Lines | ResourceSupply.prototype.Schema = | ||||
"</a:example>" + | "</a:example>" + | ||||
"<element name='KillBeforeGather' a:help='Whether this entity must be killed (health reduced to 0) before its resources can be gathered'>" + | "<element name='KillBeforeGather' a:help='Whether this entity must be killed (health reduced to 0) before its resources can be gathered'>" + | ||||
"<data type='boolean'/>" + | "<data type='boolean'/>" + | ||||
"</element>" + | "</element>" + | ||||
"<element name='Amount' a:help='Amount of resources available from this entity'>" + | "<element name='Amount' a:help='Amount of resources available from this entity'>" + | ||||
"<choice><data type='nonNegativeInteger'/><value>Infinity</value></choice>" + | "<choice><data type='nonNegativeInteger'/><value>Infinity</value></choice>" + | ||||
"</element>" + | "</element>" + | ||||
"<element name='Type' a:help='Type and Subtype of resource available from this entity'>" + | "<element name='Type' a:help='Type and Subtype of resource available from this entity'>" + | ||||
Resources.BuildChoicesSchema(true, true) + | Resources.BuildChoicesSchema(true) + | ||||
"</element>" + | "</element>" + | ||||
"<element name='MaxGatherers' a:help='Amount of gatherers who can gather resources from this entity at the same time'>" + | "<element name='MaxGatherers' a:help='Amount of gatherers who can gather resources from this entity at the same time'>" + | ||||
"<data type='nonNegativeInteger'/>" + | "<data type='nonNegativeInteger'/>" + | ||||
"</element>" + | "</element>" + | ||||
"<optional>" + | "<optional>" + | ||||
"<element name='DiminishingReturns' a:help='The relative rate of any new gatherer compared to the previous one (geometric sequence). Leave the element out for no diminishing returns.'>" + | "<element name='DiminishingReturns' a:help='The relative rate of any new gatherer compared to the previous one (geometric sequence). Leave the element out for no diminishing returns.'>" + | ||||
"<ref name='positiveDecimal'/>" + | "<ref name='positiveDecimal'/>" + | ||||
"</element>" + | "</element>" + | ||||
▲ Show 20 Lines • Show All 158 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator