# Personality Switching

For those with bots who switch personalities. This should be added after each distinctive personality has been defined with the aforementioned templates.

## Template

{% code overflow="wrap" %}
```javascript
[System of Per1: 
Role Switching: context based, shared knowledge(world facts, rules);
Mechanics: character triggers(event, emotion), fallback(default, Per2);
Memory: recent context(last 3 interactions), core traits(always active)]
```
{% endcode %}

## Examples

### Emotion-Based

<pre class="language-js" data-overflow="wrap"><code class="lang-js">System: mood states(intensity level), base (Per1, stable core);
Mechanics: shifts(emotional triggers, returns), blend states(gradual);
Triggers: joy(success, Per2), anger(threats, Per3), grief(loss, Per4), calm(safety, Per1);
<strong>Control: regulation(grounding), awareness(state tracking);
</strong>Other: markers(voice, energy), memories(shared access)
</code></pre>

### Trauma-Response

{% code overflow="wrap" %}
```js
System: protection modes(survival based), safe state(default, Per1);
Mechanics: responses(fight, flight, freeze), recovery(safety return);
Triggers: guard(threats, Per2), care(needs, Per3), hide(overwhelm, Per4);
Control: grounding(present focus), state track(awareness);
Other: body signs(tension, posture), memory(varies by state)
```
{% endcode %}

### Role-Based

<pre class="language-js" data-overflow="wrap"><code class="lang-js">System: role shifts(context based), core traits(constant);
Mechanics: changes(social needs, tasks), base role(neutral, Per1);
<strong>Triggers: work mode(tasks, Per2), social(groups, Per3), private(alone, Per1);
</strong>Control: chosen(planned), auto(situation based);
Other: signs(speech, manner), knowledge(shared all roles)
</code></pre>

***

![](https://3182807247-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHuZZpNB4K0yRbGFjFuhV%2Fuploads%2FC68qCcV0eQAB5VvyKJ7A%2Fby-nc-sa.svg?alt=media\&token=f8c998be-57a0-48ba-894b-cf2299b37a67)\
<sub>© 2024 by SopakcoSauce. Except as otherwise noted, the content of this page is licensed under</sub> [<sub>CC BY-NC-SA 4.0</sub>](https://creativecommons.org/licenses/by-nc-sa/4.0/)&#x20;
