Talk Codes¶
Game version: 1.32a
← Moddable tables index · Documentation index
When a character delivers advice or a result line, the engine computes every talk code the character qualifies for (from their personality stats), weights each, and picks one at random. A column that takes a talk code (e.g. an advice talkcode) should normally be 1 (REGULAR) — but advice columns also support an inline "talkcode#text#talkcode#text" markup that lets one character offer several voices. The full set below is what the engine actually supports.
Source-derived from Helper_GetCharacterTalkCode (EventRelatedClass.cs line 144350): the engine builds
a weighted list of every code a character qualifies for and picks one at random. Code 1 (REGULAR) is
always available, so any talk-code column can simply be 1.
Codes¶
| ID | Voice | Qualifies when |
|---|---|---|
| 1 | REGULAR | Always available — the default voice. |
| 2 | WITTY | wittiness (col 51) > 50 and IQ (col 38) > 25 |
| 3 | INTELLIGENT | IQ (col 38) > 32 |
| 4 | STUPID / FOOLISH | IQ (col 38) < 21 |
| 5 | GENIUS | IQ (col 38) > 45 |
| 6 | FLOWERY / POETIC / FLATTERING | IQ (col 38) > 30 and charisma (col 37) > 25 and wittiness (col 51) < 50 |
| 7 | SARDONIC | MALE only; IQ (col 38) < 22 and charisma (col 37) > 35 and wittiness (col 51) > 40 |
| 8 | CORRUPT / FLEXIBLE | (ambition col 49 > 70 and col 47 > 50) OR (col 47 > 70 and ambition col 49 > 50); scaled by col 52 |
| 9 | AMBITIOUS / SELF-OBSESSED | modesty (col 47) < 40 |
| 10 | AUTHORITARIAN / BOSSY | col 48 > 50 |
| 11 | SUBMISSIVE / GENTLE / KIND / TIMID | col 48 < 50 |
| 12 | LOGICAL / PERFECTIONIST / FOCUSSED | col 45 < 50 (also forced when the col-8 job marker == 21) |
| 13 | EMOTIONAL / TACTLESS / PUSHY | col 45 > 50 |
| 14 | CUTE / CATTY / FRIVOLOUS | FEMALE only; charisma (col 37) > 25 and wittiness (col 51) > 40 and age < 40 and IQ (col 38) < 28 |
| 15 | WISE / PHILOSOPHICAL / SENTIMENTAL / GRUMPY | age > 60 and IQ (col 38) > 30 and willpower (col 39) > 25 |
| 16 | AFRAID / CAREFUL / PROTECTIVE | col 46 < 50 |
| 17 | HEROIC | col 46 > 50 |
Personality stat columns¶
The conditions above read these columns of the character/leader StringList. Column numbers + thresholds are source-exact; the human label for each is inferred from the threshold semantics.
| Col | Inferred meaning |
|---|---|
| 8 | special/job marker (==21 forces LOGICAL) |
| 15 | sex (1=male, 2=female) |
| 16 | birth round (age = floor( |
| 37 | charisma |
| 38 | IQ / intelligence |
| 39 | willpower |
| 45 | logical (<50) ↔ emotional (>50) |
| 46 | afraid (<50) ↔ heroic (>50) |
| 47 | modesty (low = self-obsessed) |
| 48 | submissive (<50) ↔ authoritarian (>50) |
| 49 | ambition |
| 51 | wittiness |
| 52 | corruption multiplier |
This doc was generated from extracting data from Shadow Empire version 1.32a on 2026-06-05 06:56 UTC.