1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Is Plant Forest hardcoded to Conservation?

Discussion in 'Mod Creation Help' started by Zeronix, Jan 28, 2018.

  1. Zeronix

    Zeronix Chieftain

    Joined:
    Jan 21, 2018
    Messages:
    12
    Gender:
    Male
    I want to make a civ with a trait that allows them to plant forests before researching Conservation. The Plant forest action is found in UnitOperations, but I can't find the code in the SQL that actually determines where that operation unlocks. Any help appreciated.
     
  2. Tomice

    Tomice Passionate Smart-Ass

    Joined:
    Oct 5, 2009
    Messages:
    2,187
    Location:
    Austria, EU, no kangaroos ;)
    <Row FeatureType="FEATURE_FOREST" Name="LOC_FEATURE_FOREST_NAME" RemoveTech="TECH_MINING" Removable="true" Forest="true" AddCivic="CIVIC_CONSERVATION" SightThroughModifier="1" DefenseModifier="3" MovementChange="1" Appeal="+1" AntiquityPriority="2"/>

    This line is in features.xml, I guess its the bold part (not tested!)
     
  3. Zeronix

    Zeronix Chieftain

    Joined:
    Jan 21, 2018
    Messages:
    12
    Gender:
    Male
    Oh! That looks very helpful, thanks!
     

Share This Page