You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
emotion.flags.unk0 seems to be set to true for thoughts which cause the creature to be "overcome by terror" or other similar extreme states.
emotion.flags.unk1 is related to goals/dreams being fulfilled. I've only seen it set to true on CraftMasterwork thoughts for dwarves who dream of crafting a masterwork or creating a great work of art, and on MasterSkill thoughts for dwarves who dream of mastering a skill. Weirdly it didn't get set for my baron's BecomeNoble thought, despite the fact that it realized his dream of "attaining rank in society". One dwarf had received two MasterSkill thoughts in quick succession and both had this flag set. More science is definitely needed here.
EDIT: It can apparently be set to true for emotions which would satisfy the dwarf's dream even if their dream is already satisfied.
emotion.flags.unk2 is almost always true for the thoughts of citizens and traders, always false for wild and domesticated animals, and varies for sentient invaders. I think it's probably some kind of flag to mark which thoughts have been "processed" by the game engine in some sense. After a dwarf made an artifact I viewed their thoughts without unpausing the game and it showed flags.unk2 to be false for their two most recent thoughts (MadeArtifact and ImproveSkill). Advancing the game by one tick didn't change anything, but after two ticks the ImproveSkill thought got flagged with unk2=true. Another ~20 ticks later the MadeArtifact thought also received the unk2 flag. The same thing happened when looking at a dwarf who had just given birth while the game was still paused, and I also managed to catch a regular "satisfied at work" thought before the unk2 flag got set.
emotion.flags.unk3 causes the emotion to display as "didn't feel anything". I can't actually take credit for this one since PatrikLundell pointed it out earlier in the thread. Interestingly this isn't the only way to get the "didn't feel anything" message. Sometimes the game uses this flag and other times it sets emotion.type to -1.
EDIT: The difference seems to be that this flag only affects thoughts after they leave the present-tense section of the thoughts screen and move into the "within the last season, ..." section.
The text was updated successfully, but these errors were encountered:
From http://www.bay12forums.com/smf/index.php?topic=164123.msg8261382#msg8261382:
The text was updated successfully, but these errors were encountered: