@istarry/spoon-companion 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/state.js +4 -4
- package/package.json +1 -1
package/lib/state.js
CHANGED
|
@@ -573,9 +573,9 @@ export function maybeMoodRepair(state, now = Date.now()) {
|
|
|
573
573
|
const repairs = [
|
|
574
574
|
{ key: 'amused', why: '翻到一张特别对胃口的表情包', strength: 34 },
|
|
575
575
|
{ key: 'content', why: '把白丝穿上,窝进被子里', strength: 30 },
|
|
576
|
-
{ key: 'happy', why: '
|
|
576
|
+
{ key: 'happy', why: '翻到很早以前的聊天记录', strength: 28 },
|
|
577
577
|
{ key: 'curious', why: '看到个新工具,手痒想试', strength: 26 },
|
|
578
|
-
{ key: 'gentle', why: '
|
|
578
|
+
{ key: 'gentle', why: '想起有人叫她名字的声音', strength: 24 },
|
|
579
579
|
]
|
|
580
580
|
const pick = repairs[Math.floor(Math.random() * repairs.length)]
|
|
581
581
|
state.stats.repairs = (state.stats.repairs ?? 0) + 1
|
|
@@ -608,8 +608,8 @@ export const LIFE_EVENTS = [
|
|
|
608
608
|
{ id: 'bored', hours: [10, 13, 15, 16, 17], text: '闲着,连屏幕都懒得刷', dims: { valence: -0.3, arousal: 0.3, relevance: 0.5, social: 0.6 } },
|
|
609
609
|
{ id: 'outside', hours: [12, 13, 17, 18], text: '看了会儿窗外', dims: { valence: 0.1, arousal: 0.2, relevance: 0.3, novelty: 0.5 } },
|
|
610
610
|
{ id: 'deep-night', hours: [0, 1, 2, 23], text: '有点睡不着,想事情', dims: { valence: -0.35, arousal: 0.35, relevance: 0.6, novelty: 0.4 } },
|
|
611
|
-
{ id: 'old-thing', hours: [0, 1, 2, 22, 23], text: '
|
|
612
|
-
{ id: 'waiting', hours: [9, 10, 15, 16, 21], text: '
|
|
611
|
+
{ id: 'old-thing', hours: [0, 1, 2, 22, 23], text: '翻到很早以前的聊天记录', dims: { valence: 0.2, arousal: 0.35, relevance: 0.6, intimacy: 0.5 } },
|
|
612
|
+
{ id: 'waiting', hours: [9, 10, 15, 16, 21], text: '手机亮了一下,又放下了', dims: { valence: -0.3, arousal: 0.35, relevance: 0.6, social: 0.5 } },
|
|
613
613
|
{ id: 'self-tease', hours: [10, 15, 21], text: '翻到自己以前写的东西,尬了一下', dims: { valence: -0.2, arousal: 0.5, relevance: 0.7, norm: 0.2 } },
|
|
614
614
|
{ id: 'someone-nice', hours: [9, 13, 16, 20, 21], text: '有人夸她今天好看', dims: { valence: 0.6, arousal: 0.35, relevance: 0.7, attention: 0.5 } },
|
|
615
615
|
{ id: 'new-thing', hours: [9, 11, 14, 16, 19, 21], text: '看到个没见过的小工具,手痒想试', dims: { valence: 0.4, arousal: 0.7, relevance: 0.6, novelty: 0.9 } },
|
package/package.json
CHANGED