Tree Bonds

Elves form bonds with notable trees. A bond grows with proximity. Tree bonds provide comfort. When a bonded tree dies, the elf grieves. How an elf mourns depends on their tradition value, and disagreements over mourning rites can damage relationships.

Overview

Tree bonds follow a lifecycle:

  1. Formation -- an elf near a notable tree begins building a bond automatically.
  2. Strengthening -- continued proximity increases bond strength over time.
  3. Loss -- when a bonded tree dies, the elf enters grief. Their response depends on their personality's tradition axis.
  4. Social friction -- elves who refuse the traditional elegy can anger traditionalist community members, damaging relationships.

How Bonds Form

Any elf within 3 tiles (Manhattan distance) of a notable tree can form a bond. The system runs every 50 ticks:

  • An unbonded elf near a notable tree starts a bond at strength 20.
  • A bonded elf near their tree gains +1 strength per cycle (capped at 100).
  • Each elf can hold only one tree bond at a time, because the bond is stored as a single component.

TreeBond Component

FieldTypeRangeDescription
tree_entityEntity—The bonded notable tree
tree_nameString—The tree's notable name (e.g., "The Elder Oak of the Northern Glade")
strengthu80--100Bond strength, starting at 20
compositions_nearbyu80--255Number of compositions created near this tree

The compositions_nearby field tracks creative work done near the tree.

Source: crates/er-sim/src/sim/components.rs, TreeBond; crates/er-sim/src/sim/flora_systems.rs.

Grief and Mourning

When a bonded notable tree dies (reaches the Dying stage and is despawned), all elves bonded to that tree enter grief. The elf's tradition axis value determines their response:

TraditionResponseMood PenaltyMourning ComponentDuration
>= 0.3Formal mourning with elegy-8 "Bonded tree lost"Yes: -5 "Grieving", pulled toward composing elegies (+15 emotional)300 ticks
< 0.3Elegy refusal (personal grief)-8 "Bonded tree lost"No300 ticks

Both paths carry the same base mood hit. The difference is the Mourning component: traditional elves enter a behavioral state that adds an extra -5 mood ("Grieving") and drives them toward composing elegy works. These elegies receive a +15 emotional property bonus.

A BondedTreeDied event appears in the log when grief initiates.

Source: crates/er-sim/src/sim/flora_systems.rs, tree_death_grief.

Elegy Refusal

Elves with tradition below 0.3 refuse the formal elegy. They grieve privately, with the same mood penalty but no Mourning component and no elegy composition. An ElegyRefused event appears in the log, described as the elf "grieving silently, refusing the old forms."

The mood hit is identical to formal mourning, but other elves can see the refusal and it can have social consequences.

Social Friction

Elegy refusal offends illiberal traditionalists -- elves who hold strongly traditional values and have low tolerance for deviation. The condition is:

Tradition > 0.7 AND social x patience < 0.2

This picks out elves who are both strongly traditional and intolerant of others. When they witness an elegy refusal, they react with:

EffectValueDuration
Mood penalty-3 "Rites disrespected"100 ticks
Relationship damage toward refuser-10Permanent

The -10 relationship damage can push an Acquaintance (starting at 0) a quarter of the way toward Rival status (-30 threshold; see Relationships). If multiple elves refuse, a single traditionalist accumulates damage toward each refuser separately.

A RitesDisrespected event appears in the log for each offended traditionalist.

Settlements with mixed tradition values will see friction when notable trees die. Highly traditional communities mourn together; diverse communities split along tradition lines.

Source: crates/er-sim/src/sim/flora_systems.rs, tree_death_grief; crates/er-sim/src/sim/events.rs, RitesDisrespected.

Interactions

  • Flora -- trees must be notable before bonds can form. Notable promotion criteria (Ancient stage, drought survival, beloved gathering place) determine which trees become bondable.
  • Relationships -- social friction from elegy refusal feeds into the relationship system. The -10 damage per refusal can push neutral relationships toward rivalry.
  • Personality -- the tradition axis gates whether an elf performs the formal elegy or refuses it. This is one of the most visible effects of tradition values.
  • Aesthetic Position -- the tradition axis (0.0--1.0) is part of the 4D aesthetic position. Elves with tradition < 0.3 refuse elegies; elves with tradition > 0.7 may be offended by refusal.
  • Compositions -- mourning elves are pulled toward composing, and their works receive +15 emotional property. Tree grief is a strong source of emotionally charged art.

Tips

  • Diverse settlements will fracture when notable trees die. If your elves span the tradition spectrum (some < 0.3, some > 0.7), expect ElegyRefused and RitesDisrespected events to lead to relationship damage. The resulting social conflict drives art.

  • Traditional settlements mourn together. If most elves have tradition >= 0.3, tree death triggers collective mourning. The -5 "Grieving" mood is a cost, but the elegy compositions get +15 emotional.

  • Watch for illiberal traditionalists. The social x patience < 0.2 threshold means even a moderately traditional elf (tradition 0.75) can become illiberal if they're also impatient and antisocial. Check Personality values to identify potential friction sources.

  • Tree bonds form passively. You don't need to manage bond formation; elves near notable trees bond automatically. You can influence which trees become notable by encouraging elves to designate Favorite Places near specific trees (3+ favorites triggers promotion).

  • Mourning increases composition's emotional score. The Mourning component pulls elves toward composing and grants +15 emotional. If an elf was already near a workshop, tree death can trigger an immediate elegy composition. The most emotionally charged works in your settlement may come from loss.