Starrynite120
Prince
- Joined
- Jul 15, 2015
- Messages
- 472
How do you add new technologies to the game? I'm getting a repeated lua error with this below code and the game won't load. I do want it to be a leaf tech.
Code:
<Technologies>
<Row>
<Type>TECH_ENGINEERING_2</Type>
<Cost>75</Cost>
<LeafTech>true</LeafTech>
<Description>TXT_KEY_TECH_ENGINEERING_2</Description>
<Civilopedia>TXT_KEY_TECH_ENGINEERING_2_DESC</Civilopedia>
<Help>TXT_KEY_TECH_ENGINEERING_2_HELP</Help>
<Quote>TXT_KEY_TECH_ENGINEERING_2_QUOTE</Quote>
<IconAtlas>TECH_ATLAS_1</IconAtlas>
<PortraitIndex>12</PortraitIndex>
<AudioIntroHeader>AS2D_HEADING_TECH_ENGINEERING_2</AudioIntroHeader>
</Row>
</Technologies>
<Technology_Connections>
<Row>
<FirstTech>TECH_ENGINEERING</FirstTech>
<SecondTech>TECH_ENGINEERING_2</SecondTech>
</Row>
</Technology_Connections>