Commit Graph

55 Commits

Author SHA1 Message Date
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
bridge
488758764e fix pytest for new awaken avatars 2026-01-11 21:03:02 +08:00
bridge
e4ff312f58 fix action being executed 3 times bug 2026-01-06 23:41:21 +08:00
bridge
b60481c99c fix death bug 2026-01-06 21:23:06 +08:00
bridge
8d7e11b021 add elixir 2026-01-05 23:04:55 +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
17ca0cbbce add misfortune 2025-12-30 23:09:29 +08:00
bridge
6a4059280a refactor death 2025-12-29 21:46:26 +08:00
bridge
162ea8efe2 refactor llm 2025-12-20 22:13:26 +08:00
bridge
e8489fcc25 fix bugs 2025-12-20 21:43:18 +08:00
bridge
3c586f936c add event handler auto go down logic 2025-12-20 21:25:57 +08:00
bridge
57c669be47 fix bugs 2025-12-20 21:16:09 +08:00
bridge
8fb81c3473 refactor relation add and cancel 2025-12-20 20:30:30 +08:00
bridge
3d117c2fb2 fix tile region = none bug 2025-12-20 19:26:53 +08:00
bridge
a51f0a0ad2 add occupy action 2025-12-10 22:48:52 +08:00
bridge
5590b83487 add occupy action 2025-12-10 22:34:14 +08:00
bridge
39f158bbe8 update death 2025-12-01 02:05:11 +08:00
bridge
d7549d7d32 update celestial phenon 2025-11-29 13:30:06 +08:00
bridge
7980fc0705 add battle to death 2025-11-26 19:00:07 +08:00
bridge
8f3f095c27 refactor new avatars 2025-11-25 01:06:56 +08:00
bridge
9634ace682 fix bug 2025-11-22 18:49:15 +08:00
bridge
d2cf568154 add long term objective 2025-11-19 00:04:38 +08:00
bridge
c1963beef2 add nickname 2025-11-18 01:23:43 +08:00
bridge
62fa84a809 update celestial phenon 2025-11-13 12:15:08 +08:00
bridge
76e86eebb5 fix bugs 2025-11-08 02:59:54 +08:00
bridge
c5c6c640b7 refactor name logic 2025-11-02 21:01:30 +08:00
bridge
0350cad253 remove rule ai 2025-10-28 00:33:48 +08:00
bridge
86be290633 refactor event handler 2025-10-24 23:50:05 +08:00
bridge
7c63aba0c7 add detailed relation 2025-10-24 01:36:18 +08:00
bridge
f7a2e377a1 update events 2025-10-21 01:06:18 +08:00
bridge
af282ad206 add fortunes 2025-10-19 15:19:45 +08:00
bridge
a002d1bd70 add treasures 2025-10-19 01:33:22 +08:00
bridge
60ed606f8c add hp self recover 2025-10-15 23:37:05 +08:00
bridge
25b018e10a fix bugs 2025-10-04 14:57:11 +08:00
bridge
cece923f66 fix bug 2025-10-03 23:59:12 +08:00
bridge
939b1102eb add alignment 2025-10-02 21:24:50 +08:00
bridge
2d97edca8f refactor mutual action 2025-10-02 17:31:25 +08:00
bridge
30f91d264c fix bugs 2025-09-24 22:05:08 +08:00
bridge
e5d8bf9bf4 update (still bug remains) 2025-09-24 01:13:14 +08:00
bridge
d07b6ebb87 fix bug 2025-09-24 00:23:17 +08:00
bridge
3b21d99718 add mutual action 2025-09-21 18:44:34 +08:00
bridge
40ef5b9cb6 update prompt 2025-09-21 17:25:27 +08:00
bridge
244e428d81 make action chain 2025-09-13 22:45:46 +08:00
bridge
d83379e3a5 update prompt 2025-09-07 20:12:04 +08:00
bridge
4947284f29 add config 2025-09-07 19:26:16 +08:00
bridge
bd28da21f5 add asyncio 2025-09-02 22:16:03 +08:00
bridge
d33586888c fix bug 2025-09-02 00:50:29 +08:00
bridge
3047de0367 add action chain 2025-09-02 00:35:07 +08:00
bridge
e0d3615ca5 add names 2025-08-28 22:35:02 +08:00
bridge
96615c0c0d add new actions and AI 2025-08-28 22:25:05 +08:00