teps3105
be6e3d43c0
fix(i18n): add missing zh-TW frontend components and configs ( #117 )
...
* fix(i18n): add zh-TW to language options in settings menu
* fix(i18n): add zh-TW to language options in splash layer
* fix(i18n): add zh-TW support to setLocale function
* feat(i18n): add zh-TW game config files (names)
* feat(i18n): add zh-TW AI prompt templates
* docs:修正 glossary 繁中欄位
* docs:解決 glossary 衝突
* fix(i18n):補齊 zh-TW world info 標題
2026-02-02 20:56:21 +08:00
4thfever
bc3ebc006c
Refactor/i18n ( #115 )
...
重构i18n,现在game configs的配表,除了姓名这种外,都是统一的配表了。
对应的配表的名称和desc需要去i18n里取,但是其他配置不需要重复配置了。
这大大简化了之后新增i18n的心智负担。
2026-02-01 01:09:24 +08:00
bridge
15e831a471
Merge branch 'main' of https://github.com/4thfever/cultivation-world-simulator
2026-01-31 20:44:36 +08:00
bridge
3580968bfa
chore: update version
2026-01-31 20:44:22 +08:00
4thfever
0315dca6e6
Feat/hidden domain ( #113 )
...
Summary
新增秘境探索,属于多人活动,每N年触发一次
Closes #105
2026-01-31 20:43:42 +08:00
4thfever
202de66654
Feat/play ( #109 )
...
* refactor: play
2026-01-29 22:52:35 +08:00
bridge
6cb9e5c4e9
fix: death rate to 100% after reaching max age
2026-01-29 21:12:12 +08:00
bridge
c28e9e2d73
update: personas and world info
2026-01-28 21:56:56 +08:00
4thfever
84027fc1d7
Feat/retreat ( #104 )
...
* feat: add retreat
2026-01-26 23:18:11 +08:00
bridge
547cc01aef
fix: pack i18n
2026-01-24 14:44:45 +08:00
bridge
b772fe0c3a
update: version
2026-01-24 14:08:47 +08:00
bridge
1224dd2fcb
feat: more weapons
2026-01-24 14:06:03 +08:00
4thfever
e1091fdf5a
Feat/i18n ( #92 )
...
* feat: add vue-i18n
* feat: add vue-i18n
* feat: add vue-i18n
* feat: add language class
* add: en templates and configs
* add: en names
* refactor: name gender id and sect id
* feat(i18n): add gettext infrastructure for dynamic text translation (#81 )
* feat(i18n): add gettext infrastructure for dynamic text translation
- Add src/i18n/ module with t() translation function
- Add .po/.mo files for zh_CN and en_US locales
- Update LanguageManager to reload translations on language change
- Add comprehensive tests (14 tests, all passing)
- Add implementation spec at docs/specs/i18n-dynamic-text.md
Phase 1 of i18n dynamic text implementation.
* feat(i18n): expand .po files with comprehensive translation entries
Add translation messages for:
- Battle result messages (fatal/non-fatal outcomes)
- Fortune event messages (item discovery, cultivation gains)
- Misfortune event messages (losses, damage, regression)
- Death reason messages
- Item exchange messages (equip, sell, discard)
- Single choice context and option labels
- Common labels (weapon, auxiliary, technique, elixir)
Both zh_CN and en_US locales updated with matching entries.
* test: add .po file integrity tests
* feat: i18n for actions
* feat: i18n for effects
* feat: i18n for gathering
* feat: i18n for classes
* feat: i18n for classes
* feat: i18n for classes
* feat: i18n for classes
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* fix bugs
* update csv
* update world info
* update prompt
* update prompt
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* fix bug
* update
* update
* update
* update
* update
* update
* update
---------
Co-authored-by: Zihao Xu <xzhseh@gmail.com >
2026-01-24 13:47:23 +08:00
bridge
a7ab18ea1c
fix: package bug
2026-01-19 21:26:09 +08:00
bridge
a075c1cc59
update: history prompt
2026-01-18 21:44:47 +08:00
bridge
bc6725b302
update: version
2026-01-18 17:25:27 +08:00
4thfever
df8b1b9433
Refactor/event ( #31 )
...
重构事件机制和部分拍卖会机制
2026-01-14 16:58:50 +08:00
4thfever
63fc2f828e
Feat/auction ( #30 )
...
Add gathering events, in which multiple avatars participate
Add auction event
Closes #24
2026-01-14 02:33:13 +08:00
4thfever
95e1f11502
Refactor/history ( #25 )
...
add multi process history modification
2026-01-12 23:25:53 +08:00
bridge
2caa5586be
refactor history archi
2026-01-12 00:36:10 +08:00
bridge
287f9d2ae4
update history pytest
2026-01-12 00:20:15 +08:00
bridge
57cf5ca51a
add history class
2026-01-11 23:53:26 +08:00
bridge
5241f70ef3
refactor item ids
2026-01-11 23:12:48 +08:00
bridge
488758764e
fix pytest for new awaken avatars
2026-01-11 21:03:02 +08:00
bridge
ed7d16b4f3
feature: log print version
2026-01-11 18:27:41 +08:00
bridge
a0cfb3b9da
make better conversation template
2026-01-10 01:41:13 +08:00
bridge
ac8c6c1c73
update tips
2026-01-10 00:50:30 +08:00
bridge
ff6d1b5de7
add more protagonist
2026-01-08 23:19:35 +08:00
bridge
9c21259577
refactor: add store mixin into city regions & refactor buying action
2026-01-08 22:16:33 +08:00
bridge
c4ca92efc9
update template
2026-01-08 20:16:22 +08:00
bridge
40d8a0425b
refactor self heal system
2026-01-08 00:33:41 +08:00
bridge
b53f428cbb
update unittest
2026-01-07 23:14:48 +08:00
bridge
b2a021bf8a
rename item -> material & refactor buying action
2026-01-07 22:43:26 +08:00
bridge
73c50286b7
add refine action
2026-01-07 21:28:29 +08:00
bridge
7c69d612b0
add refine action
2026-01-07 21:15:04 +08:00
bridge
8a23dc5576
add lode
2026-01-06 23:01:25 +08:00
bridge
db6df82ea8
refactor cast action
2026-01-06 22:28:25 +08:00
bridge
9f5ad04e92
refactor buy and sell
2026-01-05 23:52:38 +08:00
bridge
8d7e11b021
add elixir
2026-01-05 23:04:55 +08:00
bridge
2a68f352bc
add elixir
2026-01-05 22:26:16 +08:00
bridge
53459b9abe
fix: use {{}} instead of {}
2026-01-05 20:46:17 +08:00
Zihao Xu
8c8e28264f
fix: handle null action_params from LLM response
...
LLM sometimes returns null instead of {} for action_params when an
action doesn't require parameters (e.g., ["Cultivate", null]). This
caused AttributeError when calling .items() on None.
Changes:
- Add defensive check in ai.py to convert null to {}
- Update prompt to explicitly require {} instead of null
2026-01-05 01:36:50 -08:00
bridge
b74014f9f2
add emotion
2026-01-04 22:49:20 +08:00
bridge
806e2c1262
refactor price system
2026-01-04 21:49:58 +08:00
bridge
450d38e15a
update version
2026-01-04 00:01:22 +08:00
bridge
775d830ec3
add cast
2026-01-03 23:25:38 +08:00
bridge
3a9a9fd6f0
add choice helper
2026-01-03 22:26:55 +08:00
bridge
e2d03b587d
refactor world desc
2026-01-03 21:25:24 +08:00
bridge
f301d67493
update persona
2026-01-01 14:51:34 +08:00
bridge
3a47d48fb8
refactor equip
2025-12-31 23:22:17 +08:00