Memories: различия между версиями

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску
мНет описания правки
Нет описания правки
Строка 4: Строка 4:


Эмоции, вызванные воспоминанием, могут меняться сами по себе с течением времени, и это может вызывать постоянные изменения в [[personality trait|чертах личности]] и [[value|ценностях]] ​​дварфа. Когда это произойдет, на экране [[Thoughts and preferences]] будет отображаться ярко-пурпурным цветом: каким образом изменилась его личность, какое событие вызвало это изменение и когда.
Эмоции, вызванные воспоминанием, могут меняться сами по себе с течением времени, и это может вызывать постоянные изменения в [[personality trait|чертах личности]] и [[value|ценностях]] ​​дварфа. Когда это произойдет, на экране [[Thoughts and preferences]] будет отображаться ярко-пурпурным цветом: каким образом изменилась его личность, какое событие вызвало это изменение и когда.
== Подробная механика ==
=== Как работают воспоминания ===
Dwarves have thoughts based on their experiences, those thoughts provoke emotions of varying degrees of strength, creating memories. Each type of memory falls into a group. [note 1] Each dwarf has three memory storage systems: short term memory, long term memory and core memory. You can see what has recently been in a dwarf's memory by looking at their thoughts and preferences screen. If an experience is immediate "She felt satisfied at work." it has affected their short term memory, if an experience is recalled "She felt satisfied remembering work." it has affected their long term memory. Core memories are shown in detail, alongside the year of the event and a personality change that came as a result. "She can easily fall in love or develop positive sentiments, after gaining a sibling in 351."
=== Краткосрочные воспоминания ===
A dwarf has 8 short-term memory slots. When a dwarf has a thought, a check is made to see if a memory of that group already exists in a short-term memory slot. If the thought doesn't fall into an existing group, the new thought will fill an empty slot, or if no slots are empty, overwrite the weakest memory (the one with the weakest emotion) in the 8 short-term memory slots - even if the overwritten memory is stronger than the new one. If the thought already has one of its group in a memory slot the strongest memory of the two, the new thought and the existing memory, will be kept and the other discarded.
For example, a dwarf gets caught in the rain and is dejected (strength 1/4). If they haven't seen rain in the last year, this will be written to their memory, overwriting the weakest existing memory of a different group. If they have seen rain in the last year, it will overwrite the previously weaker emotion of being annoyed by the rain (strength 1/8), or ignore the new experience if the old emotion was the stronger being dismayed by the rain (strength 1/2).
This mostly leads to a constant cycling of the weakest of the 8 memory slots as new thoughts overwrite each other. An overwritten thought is a forgotten thought. You can see this in the dwarf's thoughts and preferences screen, they'll mention more than 8 things that they have recently experienced, but they are only being ''affected'' by 8 of those things. The list is not a reflection of what is in their current memory, but is a reflection of what has been in their memory recently. The consequence of this cycling is that short-term memories are mostly fleeting, with a maximum of 7 short-term memories having a lasting effect on a dwarf's mood.
=== Долгосрочные воспоминания ===
Once a memory has remained in a short-term memory slot for one year [note 2] it will attempt to be promoted to a long-term memory slot. There are 8 long-term memory slots, and the procedure works similarly to short-term memory allocations, with one important difference.
When the attempt to promote is made, a check is first made to see if there is an empty slot, if there is an empty slot the memory will be promoted to that slot even if a memory of that group already exists in another long-term memory slot. It is possible (but very rare) to have more than one memory of the same group in long term memory. This cannot happen in short term memory. If there are no empty slots a check is made to see if an existing memory of the same group exists. The promotion will fail [note 3] if the existing long term memory is stronger, or will overwrite if the existing long term memory is weaker. If there are no empty slots and no existing memory of the same group, then the weakest of the other existing memories in long term will be overwritten.
When a short-term memory is promoted (or possibly fails to promote [note 3 again]) to long term memory it leaves an empty slot in the dwarf's short-term memory. Due to the cycling of the weakest short-term memories, it tends to be the stronger emotions that cause memories to remain in short-term memory for long enough to be promoted. The effect of the promotion on the dwarf's short-term memory is that it 'purges' a slot, allowing for a relatively weaker emotion to stick around without being overwritten by the cycling.
Long-term memories are important and can be particularly impactful on a dwarf's mood because: 1) if a dwarf is frequently experiencing the same thing, good or bad, the same emotion can easily exist in both short term and long term, effectively doubling its impact; 2) long term memories are often revisited long after an experience has ceased to occur; and 3) long term memories can become clogged with thoughts that can't be promoted further - more on that below.
It's currently indeterminate what causes a dwarf to think about something in their long-term memory, whether it's random or predictable, but it seems to be frequent. (Across a sample size of 300 dwarves, all of whom had been in one of several 'happy' fortresses for more than 2 years, the median number of revisited memories was 9, with 83% of dwarves revisiting 8 or more long-term memories. This suggests that all of their long-term memories had been revisited at the point of sampling, with some cycling of long-term memories having occurred within the recent months.)
=== Основные воспоминания ===
When a dwarf thinks about a long-term memory, it has a 1:3 chance of being promoted to core memory and causing one or more personality changes, if the memory is of a group that can be promoted to core memory. There is no limit on the number of core memory slots, and it is common to have several core memory slots populated by memories of the same group, for example, several experiences of seeing dead bodies in different years are common in core memory.
Core memories are less impactful than long-term memories, as they are rarely, if ever, revisited. However, the change that is made to the personality of the dwarf is permanent, and this can be for good or  bad.
The majority of long-term memories that will be promoted to core memory are negative thoughts. The ones that have been found so far are: seeing a dead body, seeing somebody die, having a loved one die, being uncovered, experiencing trauma, experiencing miasma, rain, freakish weather or being made nauseous by the sun; and on the positive side: becoming a parent and gaining a sibling. A query to Toady about this tendency to promote only certain long-term memories to core memory confirmed that he thinks that there is an exclusion list, but couldn't recall what was on it at the time of the Q&A.
The effect of mostly negative memories being promoted to core means that the long-term memory slots of a dwarf can become clogged with relatively positive emotions, if care is taken. Only the weakest long-term memory will be cycled out by short-term memories being promoted, meaning that it is possible to maintain dwarves in an ecstatic state.
Long-term memories that are written to the core memory are removed from long-term memory, thereby leaving an empty slot.
== Также ==
* [http://www.bay12forums.com/smf/index.php?topic=177577.0 Оригинальный тред] с исследованием механики работы стресса и воспоминаний.


[[Категория:Мысли]]
[[Категория:Мысли]]
[[en:Memories]]
[[en:Memories]]

Версия от 04:09, 31 августа 2021

Воспоминания – причина появления мыслей дварфа. По сути, они являются эволюцией старой системы, произошедшей в версии 0.44.10.

У каждого дварфа есть восемь слотов краткосрочной памяти и восемь слотов долговременной памяти. В течение года дварф будет "зацикливаться/переживать/запоминать" восемь событий, которые вызвали сильнейшие эмоции (негативные или позитивные), и дополнительно изменит свой уровень стресса. После года в одном из кратковременных слотов воспоминание будет перемещено в слот долговременной, если оно сильнее, чем те, которые там уже есть, в противном случае оно исчезнет. В долговременных слотах воспоминание сохраняется навсегда и периодически преследуют дварфа (с положительным или отрицательным эффектом), пока не будет перезаписана еще более сильными воспоминаниями. Чтобы избежать излишних психологических травм, которые накапливались бы и блокировали слоты памяти дварфа (например, множественные случаи ужаса в битве при виде смерти множества существ), воспоминания сгруппированы в категории, и только самые сильные эмоции в каждой категории получают отдельный слот.

Эмоции, вызванные воспоминанием, могут меняться сами по себе с течением времени, и это может вызывать постоянные изменения в чертах личности и ценностях ​​дварфа. Когда это произойдет, на экране Thoughts and preferences будет отображаться ярко-пурпурным цветом: каким образом изменилась его личность, какое событие вызвало это изменение и когда.

Подробная механика

Как работают воспоминания

Dwarves have thoughts based on their experiences, those thoughts provoke emotions of varying degrees of strength, creating memories. Each type of memory falls into a group. [note 1] Each dwarf has three memory storage systems: short term memory, long term memory and core memory. You can see what has recently been in a dwarf's memory by looking at their thoughts and preferences screen. If an experience is immediate "She felt satisfied at work." it has affected their short term memory, if an experience is recalled "She felt satisfied remembering work." it has affected their long term memory. Core memories are shown in detail, alongside the year of the event and a personality change that came as a result. "She can easily fall in love or develop positive sentiments, after gaining a sibling in 351."

Краткосрочные воспоминания

A dwarf has 8 short-term memory slots. When a dwarf has a thought, a check is made to see if a memory of that group already exists in a short-term memory slot. If the thought doesn't fall into an existing group, the new thought will fill an empty slot, or if no slots are empty, overwrite the weakest memory (the one with the weakest emotion) in the 8 short-term memory slots - even if the overwritten memory is stronger than the new one. If the thought already has one of its group in a memory slot the strongest memory of the two, the new thought and the existing memory, will be kept and the other discarded.

For example, a dwarf gets caught in the rain and is dejected (strength 1/4). If they haven't seen rain in the last year, this will be written to their memory, overwriting the weakest existing memory of a different group. If they have seen rain in the last year, it will overwrite the previously weaker emotion of being annoyed by the rain (strength 1/8), or ignore the new experience if the old emotion was the stronger being dismayed by the rain (strength 1/2).

This mostly leads to a constant cycling of the weakest of the 8 memory slots as new thoughts overwrite each other. An overwritten thought is a forgotten thought. You can see this in the dwarf's thoughts and preferences screen, they'll mention more than 8 things that they have recently experienced, but they are only being affected by 8 of those things. The list is not a reflection of what is in their current memory, but is a reflection of what has been in their memory recently. The consequence of this cycling is that short-term memories are mostly fleeting, with a maximum of 7 short-term memories having a lasting effect on a dwarf's mood.

Долгосрочные воспоминания

Once a memory has remained in a short-term memory slot for one year [note 2] it will attempt to be promoted to a long-term memory slot. There are 8 long-term memory slots, and the procedure works similarly to short-term memory allocations, with one important difference.

When the attempt to promote is made, a check is first made to see if there is an empty slot, if there is an empty slot the memory will be promoted to that slot even if a memory of that group already exists in another long-term memory slot. It is possible (but very rare) to have more than one memory of the same group in long term memory. This cannot happen in short term memory. If there are no empty slots a check is made to see if an existing memory of the same group exists. The promotion will fail [note 3] if the existing long term memory is stronger, or will overwrite if the existing long term memory is weaker. If there are no empty slots and no existing memory of the same group, then the weakest of the other existing memories in long term will be overwritten.

When a short-term memory is promoted (or possibly fails to promote [note 3 again]) to long term memory it leaves an empty slot in the dwarf's short-term memory. Due to the cycling of the weakest short-term memories, it tends to be the stronger emotions that cause memories to remain in short-term memory for long enough to be promoted. The effect of the promotion on the dwarf's short-term memory is that it 'purges' a slot, allowing for a relatively weaker emotion to stick around without being overwritten by the cycling.

Long-term memories are important and can be particularly impactful on a dwarf's mood because: 1) if a dwarf is frequently experiencing the same thing, good or bad, the same emotion can easily exist in both short term and long term, effectively doubling its impact; 2) long term memories are often revisited long after an experience has ceased to occur; and 3) long term memories can become clogged with thoughts that can't be promoted further - more on that below.

It's currently indeterminate what causes a dwarf to think about something in their long-term memory, whether it's random or predictable, but it seems to be frequent. (Across a sample size of 300 dwarves, all of whom had been in one of several 'happy' fortresses for more than 2 years, the median number of revisited memories was 9, with 83% of dwarves revisiting 8 or more long-term memories. This suggests that all of their long-term memories had been revisited at the point of sampling, with some cycling of long-term memories having occurred within the recent months.)

Основные воспоминания

When a dwarf thinks about a long-term memory, it has a 1:3 chance of being promoted to core memory and causing one or more personality changes, if the memory is of a group that can be promoted to core memory. There is no limit on the number of core memory slots, and it is common to have several core memory slots populated by memories of the same group, for example, several experiences of seeing dead bodies in different years are common in core memory.

Core memories are less impactful than long-term memories, as they are rarely, if ever, revisited. However, the change that is made to the personality of the dwarf is permanent, and this can be for good or bad.

The majority of long-term memories that will be promoted to core memory are negative thoughts. The ones that have been found so far are: seeing a dead body, seeing somebody die, having a loved one die, being uncovered, experiencing trauma, experiencing miasma, rain, freakish weather or being made nauseous by the sun; and on the positive side: becoming a parent and gaining a sibling. A query to Toady about this tendency to promote only certain long-term memories to core memory confirmed that he thinks that there is an exclusion list, but couldn't recall what was on it at the time of the Q&A.

The effect of mostly negative memories being promoted to core means that the long-term memory slots of a dwarf can become clogged with relatively positive emotions, if care is taken. Only the weakest long-term memory will be cycled out by short-term memories being promoted, meaning that it is possible to maintain dwarves in an ecstatic state.

Long-term memories that are written to the core memory are removed from long-term memory, thereby leaving an empty slot.

Также