Feat: Add splash layer (#29)

Add splash layer, support game start, settings, exit
Modify settings layer, add "go back to splash" and "exit"
Add character threshold for history input
Closes #28
This commit is contained in:
4thfever
2026-01-13 22:00:23 +08:00
committed by GitHub
parent 224e3e76f0
commit 0d34b27fff
9 changed files with 460 additions and 9 deletions

View File

@@ -61,6 +61,8 @@ def dummy_avatar(base_world):
# 强制清空特质(因为 __post_init__ 会在 personas 为空时自动随机生成)
av.personas = []
# 强制清空功法,防止随机出的功法带有移动步长加成(如逍遥游)
av.technique = None
av.recalc_effects()
return av