From 84a425a9c3c4a400b22094758c0fd2bd4384fb50 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 21 Nov 2021 14:17:07 +0900 Subject: [PATCH] add note variant --- src/modules/noting/index.ts | 4 ++++ src/serifs.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/src/modules/noting/index.ts b/src/modules/noting/index.ts index 702fc0d..1aed56d 100644 --- a/src/modules/noting/index.ts +++ b/src/modules/noting/index.ts @@ -32,6 +32,10 @@ export default class extends Module { const item = genItem(); return serifs.noting.see(item); }, + () => { + const item = genItem(); + return serifs.noting.expire(item); + }, ]; const note = notes[Math.floor(Math.random() * notes.length)]; diff --git a/src/serifs.ts b/src/serifs.ts index 9699aac..29e8b02 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -460,6 +460,7 @@ export default { ], want: item => `${item}、欲しいなぁ...`, see: item => `お散歩していたら、道に${item}が落ちているのを見たんです!`, + expire: item => `気づいたら、${item}の賞味期限が切れてました…`, }, };