Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/simulation/components/Builder.js
function Builder() {} | function Builder() {} | ||||
Builder.prototype.Schema = | Builder.prototype.Schema = | ||||
"<a:help>Allows the unit to construct and repair buildings.</a:help>" + | "<a:help>Allows the unit to construct and repair buildings.</a:help>" + | ||||
"<a:example>" + | "<a:example>" + | ||||
"<Rate>1.0</Rate>" + | "<Rate>1.0</Rate>" + | ||||
"<Entities datatype='tokens'>" + | "<Entities datatype='tokens'>" + | ||||
"\n structures/{civ}_barracks\n structures/{native}_civil_centre\n structures/pers_apadana\n " + | "\n structures/{civ}/barracks\n structures/{native}/civil_centre\n structures/pers/apadana\n " + | ||||
"</Entities>" + | "</Entities>" + | ||||
"</a:example>" + | "</a:example>" + | ||||
"<element name='Rate' a:help='Construction speed multiplier (1.0 is normal speed, higher values are faster).'>" + | "<element name='Rate' a:help='Construction speed multiplier (1.0 is normal speed, higher values are faster).'>" + | ||||
"<ref name='positiveDecimal'/>" + | "<ref name='positiveDecimal'/>" + | ||||
"</element>" + | "</element>" + | ||||
"<element name='Entities' a:help='Space-separated list of entity template names that this unit can build. The special string \"{civ}\" will be automatically replaced by the civ code of the unit's owner, while the string \"{native}\" will be automatically replaced by the unit's civ code. This element can also be empty, in which case no new foundations may be placed by the unit, but they can still repair existing buildings.'>" + | "<element name='Entities' a:help='Space-separated list of entity template names that this unit can build. The special string \"{civ}\" will be automatically replaced by the civ code of the unit's owner, while the string \"{native}\" will be automatically replaced by the unit's civ code. This element can also be empty, in which case no new foundations may be placed by the unit, but they can still repair existing buildings.'>" + | ||||
"<attribute name='datatype'>" + | "<attribute name='datatype'>" + | ||||
"<value>tokens</value>" + | "<value>tokens</value>" + | ||||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator