diff --git a/src/modules/core/index.ts b/src/modules/core/index.ts index bd02bda..a212b35 100644 --- a/src/modules/core/index.ts +++ b/src/modules/core/index.ts @@ -143,7 +143,7 @@ export default class extends Module { if (msg.includes(['ただいま'])) { msg.reply( msg.friend.love >= 15 ? serifs.core.okaeri.love2(msg.friend.name) : - msg.friend.love >= 7 ? serifs.core.okaeri.love(msg.friend.name) : + msg.friend.love >= 7 ? getSerif(serifs.core.okaeri.love(msg.friend.name)) : serifs.core.okaeri.normal(msg.friend.name)); incLove(); return true; @@ -300,7 +300,10 @@ export default class extends Module { // メッセージのみ if (!msg.isDm) return true; - msg.reply(serifs.core.ote); + msg.reply( + msg.friend.love >= 10 ? serifs.core.ote.love2 : + msg.friend.love >= 5 ? serifs.core.ote.love1 : + serifs.core.ote.normal); return true; } diff --git a/src/serifs.ts b/src/serifs.ts index 262228d..38ecdf2 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -25,7 +25,13 @@ export default { goodNight: name => name ? `おやすみなさい、${name}!` : 'おやすみなさい!', okaeri: { - love: name => name ? `おかえりなさい、${name}♪` : 'おかえりなさい♪', + love: name => name ? [ + `おかえりなさい、${name}♪`, + `おかえりなさいませっ、${name}っ。` + ] : [ + 'おかえりなさい♪', + 'おかえりなさいませっ、ご主人様っ。' + ], love2: name => name ? `おかえりなさいませ♡♡♡${name}っっ♡♡♡♡♡` : 'おかえりなさいませ♡♡♡ご主人様っっ♡♡♡♡♡', @@ -102,7 +108,13 @@ export default { itai: name => name ? `${name}、大丈夫ですか…? いたいのいたいの飛んでけっ!` : '大丈夫ですか…? いたいのいたいの飛んでけっ!', - ote: 'くぅん... 私わんちゃんじゃないですよ...?', + ote: { + normal: 'くぅん... 私わんちゃんじゃないですよ...?', + + love1: 'わん!', + + love2: 'わんわん♪', + }, shutdown: '私まだ眠くないですよ...?', },