- devlab: flagship --debug example (console/snapshot/AI panel/pause/hot reload/error slice), make devlab target with RUN_ARGS support - ai-game: agent-drivable live game + agent_demo.py (pause/read/mutate/ verify/snapshot/restore/screenshot loop) - ai-editor: headless eve mcp editor host demo (JSON View + ViewModel MVVM) - examples: fill all missing READMEs + config.nut, add examples/ index - load.nut: add key_just_pressed/clampf/persist helpers; dedupe 19 examples - rpg/cardgame: move JSON definitions to data files - fix eve mcp crash: ModuleManager::requireAll() instantiates modules in the headless host (IEditorHost etc. were null) - graphics: actionable screenshot error when readback was just enabled - CI: smoke all examples (devlab with --debug) + DevLab hot-reload test Fixes surfaced by the new CI smoke (examples had never been smoke-tested): - scene_director kit: camera slot doubled as function + instance and was nulled by reset(); move the live Camera3D into cameraObj - readTextFile used non-existent readn()/len(); use file.read() (rpg/cardgame/hex-levels) - daynight used non-existent keyboard.wasPressed() -> key_just_pressed - outline passed ints to float-only drawSolidRect; linear-structures slider passed an int value - scene-ecs beginNode() requires (id, name); ai-stage guarded compilestring - smoke_examples.sh: timeout -k 3 so SIGTERM-ignoring hosts cannot hang CI
18 lines
917 B
JSON
18 lines
917 B
JSON
[
|
|
{"id": "buff.power_stance", "durationPolicy": "duration", "duration": 6.0,
|
|
"stackPolicy": "refresh",
|
|
"modifiers": [{"attribute": "attack", "op": "add", "value": 8.0}],
|
|
"tags": ["buff"], "extra": {"icon": "ui/power_stance.png"}},
|
|
{"id": "debuff.weaken", "durationPolicy": "duration", "duration": 4.0,
|
|
"stackPolicy": "refresh",
|
|
"modifiers": [{"attribute": "defense", "op": "add", "value": -4.0}],
|
|
"tags": ["debuff"], "extra": {"icon": "ui/weaken.png"}},
|
|
{"id": "dot.burn", "durationPolicy": "duration", "duration": 3.0, "period": 1.0,
|
|
"stackPolicy": "stack", "maxStacks": 3, "tags": ["dot", "debuff"],
|
|
"extra": {"icon": "ui/burn.png"}},
|
|
{"id": "instant.heal_potion", "durationPolicy": "instant",
|
|
"modifiers": [{"attribute": "health", "op": "add", "value": 25.0}]},
|
|
{"id": "passive.regen", "durationPolicy": "duration", "duration": 999999.0,
|
|
"period": 2.0, "tags": ["regen"]}
|
|
]
|