Skip to content

You Should Rest Dialogue Keys

Sakorona edited this page Mar 16, 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:

  • Specific character dialogue:
    • name[heartlevel]_seasonday_healthstatus_staminastatus_timeofday_spousestatus
    • name[heartlevel]_seasonday_healthstatus_staminastatus_timeofday
    • name[heartlevel]_seasonday_healthstatus_staminastatus
    • name[heartlevel]_seasonday_staminastatus
    • name[heartlevel]_seasonday_healthstatus
    • name_seasonday_staminastatus
    • name_seasonday_healthstatus
    • name[heartlevel]_staminastatus
    • name[heartlevel]_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
    • age_timeofday_health_stamina
    • age_timeofday_stamina
    • age_timeofday_health
    • age_health_stamina
    • age_stamina
    • age_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
  • seasonday - the season and day, written [spring4]. NOTE: If day is missing, it'll fall back to generic season automatically.
  • healthstatus - from 0 to 5, follows the same value chart as stamina status: [0 >98%, 1 is 80% to 98%, 2 is 50% to 80%, 3 is 20% to 50%, 4 is 2% to 20%, 5 is less than 2%.]
  • staminastatus - from 0 to 5, follows the same value chart as health status: [0 >98%, 1 is 80% to 98%, 2 is 50% to 80%, 3 is 20% to 50%, 4 is 2% to 20%, 5 is less than 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.
  • spousestatus - blank if not married, spouse if married

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

Clone this wiki locally