1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    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,173
    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