Improvement yield effects

ShenMa

Chieftain
Joined
Sep 1, 2014
Messages
5
Location
Vancouver, Canada
Hi everyone
Noob question here. I want to mod back the old ectogenesis pod, but I couldn't get the farms to give 1 extra food. I do see some remnants of the old ecto pod perk in the xml, but I opted to make an entirely new one. Here's what I did:

Code:
<PlayerPerks>
<Row>
<Type>PLAYERPERK_ECTOGENESIS_POD_OLD</Type>
<Help>TXT_KEY_PLAYERPERK_WONDER_ECTOGENESIS_POD</Help>
</Row>
</PlayerPerks>

<PlayerPerks_ImprovementYieldEffects>
<Row>
<PlayerPerkType>PLAYERPERK_ECTOGENESIS_POD_OLD</PlayerPerkType>
<ImprovementType>IMPROVEMENT_FARM</ImprovementType>
<YieldType>YIELD_FOOD</YieldType>
<FlatYield>1</FlatYield>
</Row>
</PlayerPerks_ImprovementYieldEffects>

<Buildings>
<Update>
<Set FreePlayerPerk="PLAYERPERK_ECTOGENESIS_POD_OLD"/>
<Where Type="BUILDING_ECTOGENESIS_POD"/>
</Update>
</Buildings>

Any help would be greatly appreciated
 
Maybe you just didn't copy them, but it seems like you're missing the <GameData>-Tags:

Code:
[B]<GameData>[/B]
 <PlayerPerks>
  <Row>
   <Type>PLAYERPERK_ECTOGENESIS_POD_OLD</Type>
   <Help>TXT_KEY_PLAYERPERK_WONDER_ECTOGENESIS_POD</Help>
  </Row>
 </PlayerPerks>

 <PlayerPerks_ImprovementYieldEffects>
  <Row>
   <PlayerPerkType>PLAYERPERK_ECTOGENESIS_POD_OLD</PlayerPerkType>
   <ImprovementType>IMPROVEMENT_FARM</ImprovementType>
   <YieldType>YIELD_FOOD</YieldType>
   <FlatYield>1</FlatYield>
  </Row>
 </PlayerPerks_ImprovementYieldEffects>

 <Buildings>
  <Update>
   <Set FreePlayerPerk="PLAYERPERK_ECTOGENESIS_POD_OLD"/>
   <Where Type="BUILDING_ECTOGENESIS_POD"/>
  </Update>
 </Buildings>
[B]</GameData>[/B]

Other than that the code looks correct to me, so if this doesn't solve the problem you may just have forgotten to activate the file.
 
Back
Top Bottom