Add new moods (happy, cry, poop) with animations and ChangeMood function in Zukitchi widget

This commit is contained in:
2026-01-02 16:56:47 +01:00
parent 325144e0d9
commit 21ac083ef0
3 changed files with 168 additions and 145 deletions
+2
View File
@@ -296,8 +296,10 @@ func (widget *MoodText) Keyboard(k *terminalapi.Keyboard, _ *widgetapi.EventMeta
widget.WriteMood(2)
case '3':
widget.WriteMood(3)
ChangeMood("happy")
default:
widget.WriteMood(-1)
ChangeMood("cry")
}
return widget.drawTable()
}