Skip to content

You Should Rest Dialogue Keys

Sakorona edited this page Jul 13, 2020 · 14 revisions

NOTE: Not all keys are required for every NPC, this simply denotes the fallback.

The mod looks for keys in the following order and it uses the first one it finds:

  • Specific character dialogue:
    • name[heartlevel]_seasonday_healthstatus_staminastatus_timeofday
    • name[heartlevel]_seasonday_healthstatus_staminastatus
    • name[heartlevel]_seasonday_staminastatus
    • name[heartlevel]_seasonday_healthstatus
    • name[heartlevel]_healthstatus_staminastatus
    • name[heartlevel]_staminastatus
    • name[heartlevel]_healthstatus
    • name_seasonday_healthstatus_staminastatus
    • name_seasonday_staminastatus
    • name_seasonday_healthstatus

If it can't find that, it falls back to disposition text.

  • Disposition text:
    • age_manners_social_seasonday_timeofday_optimism_health_stamina
    • age_manners_social_seasonday_timeofday_optimism_stamina
    • age_manners_social_seasonday_timeofday_optimism_health
    • age_manners_social_seasonday_timeofday_health_stamina
    • age_manners_social_seasonday_timeofday_stamina
    • age_manners_social_seasonday_timeofday_health
    • age_manners_social_seasonday_health_stamina
    • age_manners_social_seasonday_stamina
    • age_manners_social_seasonday_health
    • age_manners_health_stamina
    • age_manners_stamina
    • age_manners_health
    • age_seasonday_health_stamina
    • age_seasonday_stamina
    • age_seasonday_health
    • manners_timeofday_health_stamina
    • manners_timeofday_stamina
    • manners_timeofday_health
    • age_timeofday_health_stamina
    • age_timeofday_stamina
    • age_timeofday_health
    • manners_health_stamina
    • manners_stamina
    • manners_health

If it can't find all that, it falls back to the default text installed in the mod.

Values for each token are as follows:

  • name - character name. (the Name property of the character)
  • heartlevel - number of hearts the character has. This uses generic flags for ranges: Acquaintance: 0-2 hearts; Friend 2-6 hearts; Close Friend 6-8 hearts; Best Friends: 8-10 hearts with no flag; Dating: with flag: 8-10 hearts; Married: 10+ hearts (with flag); Platonic Soulmates: 10+ hearts (with no flag. Provided for compatibility)
  • seasonday - the season and day, written [spring4]. NOTE: If day is missing, it'll fall back to generic season automatically.
  • healthstatus - High: >75%, Medium 35-50%, Low 2-25%, Very Low: <2%.
  • staminastatus - High: >75%, Medium 35-50%, Low 2-25%, Very Low: <2%.
  • timeofday - from 0 to 5, 0 is before 7am (early morning), 1 is 7 to noon (morning), 2 is afternoon (noon to the first time it gets dark, which is 6pm in Spring/Summer, 5pm in Fall, and 4pm in Winter. Note that mods such as Dynamic Night Time alter this calculation.). 3 is evening, which lasts for 2 hours. Note, again, that mods such as Dynamic Night Time alter this calculation. 4 is night, which is until 10pm from evening, and 5 is late night, which is past 10pm.

Generic Disposition text follows the same values as listed by base game code.

Clone this wiki locally