Tree Thoughts Without Precept - KonradHeinser/EBSGFramework GitHub Wiki

This is one of the few thoughts that don't require the extension, but it must always contain 14 stages. This is treated separately from the precept version of the same thing, so the effects will stack if an ideology has the tree preference precept. The only difference is that carriers of this gene will not have any sort of mood changes when trees are chopped down.

The only requirements this has is the 15 stages to represent tree density, along a situational worker and the EBSG worker class:

        <thoughtClass>Thought_Situational</thoughtClass>
        <workerClass>EBSGFramework.ThoughtWorker_TreesDesiredNoPrecept</workerClass>

Environmental Preference Genes contains the only two variations I actually expect this to be used for, specifically one that loves having trees around, and one that hates it. I've copied the two ThoughtDefs below. You can copy these into your own xml with your own information as desired. You can increase how extreme the gene carriers love their respective environment by increasing the moods of all the stages.

    <ThoughtDef>
        <defName>EBSG_ForestDweller</defName>
        <thoughtClass>Thought_Situational</thoughtClass>
        <workerClass>EBSGFramework.ThoughtWorker_TreesDesiredNoPrecept</workerClass>
        <validWhileDespawned>true</validWhileDespawned>
        <doNotApplyToQuestLodgers>true</doNotApplyToQuestLodgers>
        <requiredGenes>
            <li>EBSG_ForestDweller</li>
        </requiredGenes>
        <stages>
            <li>
                <label>amazing trees</label>
                <description>I am surrounded by several massive, beautiful trees. I feel so at home here!</description>
                <baseMoodEffect>9</baseMoodEffect>
            </li>
            <li>
                <label>amazing tree</label>
                <description>I very recently encountered a massive, beautiful tree - a splendid place to begin making a home!</description>
                <baseMoodEffect>8</baseMoodEffect>
            </li>
            <li>
                <label>remarkable trees</label>
                <description>I am surrounded by a lush forest.</description>
                <baseMoodEffect>7</baseMoodEffect>
            </li>
            <li>
                <label>amazing tree</label>
                <description>I recently encountered a massive, beautiful tree.</description>
                <baseMoodEffect>6</baseMoodEffect>
            </li>
            <li>
                <label>rich forest</label>
                <description>I was recently surrounded by a lush forest.</description>
                <baseMoodEffect>5</baseMoodEffect>
            </li>
            <li>
                <label>full trees</label>
                <description>I recently walked among many full trees.</description>
                <baseMoodEffect>4</baseMoodEffect>
            </li>
            <li>
                <label>mixed trees</label>
                <description>I recently walked among a wide variety of trees.</description>
                <baseMoodEffect>3</baseMoodEffect>
            </li>
            <li>
                <label>full tree</label>
                <description>I recently encountered a full tree.</description>
                <baseMoodEffect>2</baseMoodEffect>
            </li>
            <li>
                <label>mini trees</label>
                <description>I was recently surrounded by plenty of miniature trees.</description>
                <baseMoodEffect>4</baseMoodEffect>
            </li>
            <li>
                <label>mini tree</label>
                <description>I recently got to enjoy the company of a miniature tree.</description>
                <baseMoodEffect>2</baseMoodEffect>
            </li>
            <li>
                <label>no tree</label>
                <description>I haven't been around any trees in a while.</description>
                <baseMoodEffect>-1</baseMoodEffect>
            </li>
            <li>
                <label>no tree</label>
                <description>I miss having trees around me.</description>
                <baseMoodEffect>-2</baseMoodEffect>
            </li>
            <li>
                <label>trees missed</label>
                <description>It has been a while since I've been near a tree.</description>
                <baseMoodEffect>-3</baseMoodEffect>
            </li>
            <li>
                <label>trees missed</label>
                <description>It has been too long since I've been near a tree.</description>
                <baseMoodEffect>-4</baseMoodEffect>
            </li>
            <li>
                <label>trees sorely missed</label>
                <description>It has been way too long since I've been near a tree!</description>
                <baseMoodEffect>-5</baseMoodEffect>
            </li>
        </stages>
    </ThoughtDef>

    <ThoughtDef>
        <defName>EBSG_DesertDweller</defName>
        <thoughtClass>Thought_Situational</thoughtClass>
        <workerClass>EBSGFramework.ThoughtWorker_TreesDesiredNoPrecept</workerClass>
        <validWhileDespawned>true</validWhileDespawned>
        <doNotApplyToQuestLodgers>true</doNotApplyToQuestLodgers>
        <requiredGenes>
            <li>EBSG_DesertDweller</li>
        </requiredGenes>
        <stages>
            <li>
                <label>hated trees</label>
                <description>I am surrounded by several massive, sun concealing trees. they should be removed!</description>
                <baseMoodEffect>-9</baseMoodEffect>
            </li>
            <li>
                <label>horrible tree</label>
                <description>I very recently encountered a massive, sun concealing tree - why is it still standing!</description>
                <baseMoodEffect>-8</baseMoodEffect>
            </li>
            <li>
                <label>remarkable trees</label>
                <description>I am surrounded by a lush forest.</description>
                <baseMoodEffect>-7</baseMoodEffect>
            </li>
            <li>
                <label>massive tree</label>
                <description>I recently encountered a massive, sun concealing tree.</description>
                <baseMoodEffect>-6</baseMoodEffect>
            </li>
            <li>
                <label>rich forest</label>
                <description>I was recently surrounded by a lush forest.</description>
                <baseMoodEffect>-5</baseMoodEffect>
            </li>
            <li>
                <label>full trees</label>
                <description>I recently walked among many full trees.</description>
                <baseMoodEffect>-4</baseMoodEffect>
            </li>
            <li>
                <label>mixed trees</label>
                <description>I recently walked among a wide variety of trees.</description>
                <baseMoodEffect>-3</baseMoodEffect>
            </li>
            <li>
                <label>full tree</label>
                <description>I recently encountered a full tree.</description>
                <baseMoodEffect>-2</baseMoodEffect>
            </li>
            <li>
                <label>mini trees</label>
                <description>I was recently surrounded by plenty of miniature trees.</description>
                <baseMoodEffect>-4</baseMoodEffect>
            </li>
            <li>
                <label>mini tree</label>
                <description>I recently saw a miniature tree.</description>
                <baseMoodEffect>-2</baseMoodEffect>
            </li>
            <li>
                <label>no tree</label>
                <description>I haven't been around any trees in a while.</description>
                <baseMoodEffect>1</baseMoodEffect>
            </li>
            <li>
                <label>no tree</label>
                <description>The lack of trees is starting to make this place feel like home.</description>
                <baseMoodEffect>2</baseMoodEffect>
            </li>
            <li>
                <label>trees not seen recently</label>
                <description>It has been a long time since I've been near a tree.</description>
                <baseMoodEffect>4</baseMoodEffect>
            </li>
            <li>
                <label>trees absent</label>
                <description>It has been so long since I've been forced to see a tree! I finally feel at home now.</description>
                <baseMoodEffect>5</baseMoodEffect>
            </li>
        </stages>
    </ThoughtDef>
⚠️ **GitHub.com Fallback** ⚠️