1
0
Fork 0
Commit Graph

116 Commits

Author SHA1 Message Date
Pabloader 693b078144 Subscribe quests 2026-04-29 13:27:39 +00:00
Pabloader 30531bcd52 XP 2026-04-29 12:24:29 +00:00
Pabloader cb2d1a099f Effects 2026-04-29 12:24:20 +00:00
Pabloader f766aee071 Equipment 2026-04-29 12:24:11 +00:00
Pabloader 26e1fb2675 Cooldown 2026-04-29 12:24:00 +00:00
Pabloader c2e9a597fa Infinite inventory 2026-04-29 12:23:49 +00:00
Pabloader b866e0a5de RPG engine improvements: caching, cloning, versioning, query overloads
- Condition parse cache: each unique string parsed once (Map<string, ParsedCondition>)
- executeAction: throw on missing type/malformed action/missing action; warn-only on
  destroyed entity (legitimate mid-flight case)
- World.query() overloads for 2 and 3 component types: query(A, B) → [Entity, A, B]
- World.once()/off() consistency: #onceWrappers map lets off(event, original) correctly
  remove handlers registered via once()
- World.cloneEntity(source, newId?): deep-clones all components via structuredClone,
  onAdd() fires normally on the new entity
- isEntityContext() type guard alongside isEvalContext()
- Inventory.getVariables() cache: invalidated on add()/remove()
- QuestLog.getVariables() cache: invalidated on any status transition or _advance()
- QuestLog.entries() explicit Generator return type
- Variables JSDoc: clarifies when to use Variables vs typed Component<TState>
- @component({ name?, version? }) object overload in registry
- registerMigration(name, from, to, fn): chained migrations run automatically on
  deserialize when saved version < current version
- Serialization wire format: ComponentData carries version, WorldData carries
  schemaVersion; mismatched schemaVersion throws a descriptive error

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 09:28:05 +00:00
Pabloader 066271205a QoL Improvements for actions and context 2026-04-29 08:16:18 +00:00
Pabloader 9bec7701e0 Serialization 2026-04-29 07:28:16 +00:00
Pabloader ad1da396e6 Add warning to variables 2026-04-28 21:47:40 +00:00
Pabloader 5dec0901ac Pass context to all actions 2026-04-28 21:46:28 +00:00
Pabloader f6b3b5b66e Refactor the inventory 2026-04-28 21:06:01 +00:00
Pabloader b7bba137a1 Reworked inventory 2026-04-28 20:24:12 +00:00
Pabloader 9a44605469 DRY questLog 2026-04-28 19:58:43 +00:00
Pabloader b75dc078f9 Fixes and improvements 2026-04-28 19:15:47 +00:00
Pabloader 89651f6674 ECS rewrite 2026-04-28 18:52:02 +00:00
Pabloader 0ad5c60cdd Fix bugs 2026-04-28 14:46:23 +00:00
Pabloader 2d4a59f2b3 Rewrite types using typebox 2026-04-28 12:28:54 +00:00
Pabloader 87837754f6 Proper typechecking for decorators 2026-04-28 12:08:08 +00:00
Pabloader ab68a5ffc6 Decorators and components 2026-04-28 11:58:25 +00:00
Pabloader 6b6fd8970d Inventory slot ids can be either strings or numbers. 2026-04-27 13:55:18 +00:00
Pabloader 8c7969771d Inventory system 2026-04-27 13:33:10 +00:00
Pabloader 00fc43a564 QuestManager 2026-04-27 12:31:21 +00:00
Pabloader 89dbf9f8ff RPG Quest system 2026-04-27 12:25:09 +00:00
Pabloader ad327b17d7 Dialog coverage test 2026-04-26 14:08:32 +00:00
Pabloader 8fd0d317cf Dialogs engine 2026-04-24 16:53:18 +00:00
Pabloader 3088675a39 Limit images size, substitute variables in titles 2026-04-20 14:57:31 +00:00
Pabloader f09fce3140 Async cleanup 2026-04-20 10:27:39 +00:00
Pabloader d2d3ad42d8 Integrate backend into storywriter 2026-04-16 15:36:29 +00:00
Pabloader 6a7cfc0dc9 Get game name from VAR 2026-04-16 13:51:03 +00:00
Pabloader cc8f99084b Fix crash in settings, optimize models loading 2026-04-16 07:33:22 +00:00
Pabloader 81959ad601 Image generator 2026-04-14 17:17:17 +00:00
Pabloader 5f83ca7cc2 Image model selection 2026-04-14 16:14:54 +00:00
Pabloader 662b903bb4 Fix workers editing 2026-04-13 15:34:13 +00:00
Pabloader ecacc126f4 Sampling settings 2026-04-13 10:18:36 +00:00
Pabloader 0413c6a10a Maybe fixed contenteditable 2026-04-13 06:39:17 +00:00
Pabloader f81d8674c0 Refactor inputs 2026-04-12 18:11:07 +00:00
Pabloader 7f18a66a8b Refactored contenteditable to handle newlines correctly. 2026-04-12 17:56:41 +00:00
Pabloader 20485ba551 Fix content editable onKeyDown 2026-04-12 12:32:33 +00:00
Pabloader 9d50b7694b Worker cards design 2026-04-11 14:36:53 +00:00
Pabloader ea55a8fdf4 Format number function 2026-04-11 14:36:32 +00:00
Pabloader c939ab13c5 UI fixes 2026-04-10 16:56:48 +00:00
Pabloader 7148254b35 Fix time formatting 2026-04-10 14:50:00 +00:00
Pabloader e85ecd2bcf Add styles based on app flag 2026-04-10 13:48:40 +00:00
Pabloader a307d4d3eb Improve local builds 2026-04-10 13:34:45 +00:00
Pabloader 1b366f8fc5 Add css hot reload 2026-04-10 12:43:48 +00:00
Pabloader b93424fece Fix workers management modal 2026-04-10 11:19:37 +00:00
Pabloader 663f102cd1 UI refactor 2026-04-10 09:31:22 +00:00
Pabloader 3f675966a6 Extract modal to ui kit 2026-04-10 09:05:11 +00:00
Pabloader 810035547c ui kit 2026-04-10 08:43:14 +00:00