Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/components/Technology.js
- This file was added.
function Technology() {} | |||||
Technology.prototype.Schema = | |||||
"<a:help>Specifies the effects of a technology.</a:help>" + | |||||
"<a:example>" + | |||||
"<ID>phase_town</ID>" + | |||||
"<Supersedes>phase_village</Supersedes>" + | |||||
"</a:example>" + | |||||
"<optional>" + | |||||
"<choice>" + | |||||
"<element name='AutoResearched' a:help='Whether this technology should be autoresearched when its requirements are met.'>" + | |||||
"<data type='boolean'/>" + | |||||
"</element>" + | |||||
"<element name='Choice' a:help='Use for choice techs? Space-limited exclusive technologies.'>" + | |||||
"<text/>" + | |||||
"</element>" + | |||||
"</choice>" + | |||||
"</optional>" + | |||||
"<element name='ID' a:help='Identifier string used to refer to this technology.'>" + | |||||
"<text/>" + | |||||
"</element>" + | |||||
"<optional>" + | |||||
ModificationsSchema + | |||||
"</optional>" + | |||||
"<optional>" + | |||||
"<element name='Supersedes' a:help='The predecessor to this technology.'>" + | |||||
"<text/>" + | |||||
"</element>" + | |||||
"</optional>"; |
Wildfire Games · Phabricator