What controls how quickly a worker builds things?

zoomer61

Chieftain
Joined
Nov 16, 2014
Messages
24
Probably not wording this correctly, but what field controls how fast a worker builds something, like a road or a mine or a quarry, etc? Thanks!
 
Correct, the Time attribute determines how many turns it takes to build something. That number is modified by the gamespeeds among other things to determine the final value.
 
You could also use "<WorkRate>100</WorkRate>" in the units table if you are modifying/updating a worker, explorer or a new unit you are building that builds things, I created an advanced explorer unit that can build basic transport and clearance improvements faster than a worker. Notice the little adjustments like movment, cost, base sight, extra expedition and no maintenance :lol:
<UnitClasses>
<Row>
<Type>UNITCLASS_TA_EXPLORER</Type>
<Description>TXT_KEY_UNIT_TA_EXPLORER_DESC</Description>
<DefaultUnit>UNIT_TA_EXPLORER</DefaultUnit>​
</Row>​
</UnitClasses>
<Units>
<Row>
<Type>UNIT_TA_EXPLORER</Type>
<Class>UNITCLASS_TA_EXPLORER</Class>
<Combat>3</Combat>
<Cost>50</Cost>
<PrereqTech>TECH_HABITATION</PrereqTech>
<Description>TXT_KEY_UNIT_TA_EXPLORER_DESC</Description>
<Civilopedia>TXT_KEY_UNIT_TA_EXPLORER_PEDIA</Civilopedia>
<Help>TXT_KEY_UNIT_TA_EXPLORER_HELP</Help>
<Strategy>TXT_KEY_UNIT_TA_EXPLORER_STRATEGY</Strategy>
<Moves>3</Moves>
<BaseSightRange>4</BaseSightRange>
<CombatClass>UNITCOMBAT_RECON</CombatClass>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_ATTACK</DefaultUnitAI>
<MilitarySupport>true</MilitarySupport>
<MilitaryProduction>true</MilitaryProduction>
<Pillage>true</Pillage>
<AdvancedStartCost>50</AdvancedStartCost>
<XPValueAttack>2</XPValueAttack>
<XPValueDefense>2</XPValueDefense>
<Conscription>1</Conscription>
<UnitArtInfo>ART_DEF_UNIT_EXPLORER</UnitArtInfo>
<MoveRate>WHEELED</MoveRate>
<WorkRate>150</WorkRate>
<NumExpeditionCharges>2</NumExpeditionCharges>
<NoMaintenance>true</NoMaintenance>
<!-- No maintenance, unit is self sufficent -->​
</Row>​
</Units>
<Unit_Builds>
<Row>
<UnitType>UNIT_TA_EXPLORER</UnitType>
<BuildType>BUILD_EXPEDITION</BuildType>​
</Row>
<Row>
<UnitType>UNIT_TA_EXPLORER</UnitType>
<BuildType>BUILD_ROAD</BuildType>​
</Row>
<Row>
<UnitType>UNIT_TA_EXPLORER</UnitType>
<BuildType>BUILD_REPAIR</BuildType>​
</Row>
<Row>
<UnitType>UNIT_TA_EXPLORER</UnitType>
<BuildType>BUILD_REMOVE_MARSH</BuildType>​
</Row>
<Row>
<UnitType>UNIT_TA_EXPLORER</UnitType>
<BuildType>BUILD_REMOVE_FOREST</BuildType>​
</Row>
<Row>
<UnitType>UNIT_TECHNOASSASSIN_EXPLORER</UnitType>
<BuildType>BUILD_REMOVE_ROUTE</BuildType>​
</Row>
<Row>
<UnitType>UNIT_TECHNOASSASSIN_EXPLORER</UnitType>
<BuildType>BUILD_MAGRAIL</BuildType>​
</Row>​
</Unit_Builds>
 
Back
Top Bottom