@almadar/std 8.5.1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +97 -97
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +129 -129
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +127 -127
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +133 -133
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +419 -419
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +100 -100
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +112 -112
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +138 -138
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +78 -78
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +171 -171
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +358 -358
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +79 -79
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -204
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +190 -190
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +152 -152
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +115 -115
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1219 -1219
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2995 -2995
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2285 -2285
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1063 -1063
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +840 -840
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1248 -1248
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +816 -816
- package/dist/behaviors/registry/app/organisms/std-cms.orb +587 -587
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +416 -416
- package/dist/behaviors/registry/app/organisms/std-crm.orb +966 -966
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1375 -1375
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1109 -1109
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +716 -716
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1473 -1473
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +693 -693
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1252 -1252
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +895 -895
- package/dist/behaviors/registry/app/organisms/std-lms.orb +876 -876
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +790 -790
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +740 -740
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +266 -266
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +699 -699
- package/dist/behaviors/registry/core/atoms/std-browse.orb +67 -67
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +62 -62
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +188 -188
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +34 -34
- package/dist/behaviors/registry/core/atoms/std-display.orb +370 -370
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +61 -61
- package/dist/behaviors/registry/core/atoms/std-filter.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +55 -55
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-push.orb +49 -49
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +185 -185
- package/dist/behaviors/registry/core/atoms/std-related.orb +39 -39
- package/dist/behaviors/registry/core/atoms/std-search.orb +73 -73
- package/dist/behaviors/registry/core/atoms/std-selection.orb +110 -110
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -47
- package/dist/behaviors/registry/core/molecules/std-cart.orb +60 -60
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +11 -11
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +140 -140
- package/dist/behaviors/registry/core/molecules/std-list.orb +68 -68
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
- package/dist/behaviors/registry/game/atoms/std-collision.orb +140 -140
- package/dist/behaviors/registry/game/atoms/std-combat.orb +76 -76
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +47 -47
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +49 -49
- package/dist/behaviors/registry/game/atoms/std-movement.orb +276 -276
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +64 -64
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +88 -88
- package/dist/behaviors/registry/game/atoms/std-quest.orb +129 -129
- package/dist/behaviors/registry/game/atoms/std-timer.orb +285 -285
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +172 -172
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +89 -89
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +281 -281
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +110 -110
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +446 -446
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +349 -349
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +550 -550
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +35 -35
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -93
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +92 -92
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +111 -111
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +132 -132
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +133 -133
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +114 -114
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +140 -140
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +115 -115
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +131 -131
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +128 -128
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1092 -1092
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +978 -978
- package/package.json +1 -1
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"event": "CombatantLoaded",
|
|
63
63
|
"description": "Fired when Combatant finishes loading",
|
|
64
64
|
"scope": "internal",
|
|
65
|
-
"
|
|
65
|
+
"payloadSchema": [
|
|
66
66
|
{
|
|
67
67
|
"name": "id",
|
|
68
68
|
"type": "string"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"event": "CombatantLoadFailed",
|
|
102
102
|
"description": "Fired when Combatant fails to load",
|
|
103
103
|
"scope": "internal",
|
|
104
|
-
"
|
|
104
|
+
"payloadSchema": [
|
|
105
105
|
{
|
|
106
106
|
"name": "message",
|
|
107
107
|
"type": "string"
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
{
|
|
134
134
|
"key": "ATTACK",
|
|
135
135
|
"name": "Attack",
|
|
136
|
-
"
|
|
136
|
+
"payloadSchema": [
|
|
137
137
|
{
|
|
138
138
|
"name": "targetId",
|
|
139
139
|
"type": "string",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
{
|
|
145
145
|
"key": "HIT",
|
|
146
146
|
"name": "Hit",
|
|
147
|
-
"
|
|
147
|
+
"payloadSchema": [
|
|
148
148
|
{
|
|
149
149
|
"name": "damage",
|
|
150
150
|
"type": "number",
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
{
|
|
168
168
|
"key": "CombatantLoaded",
|
|
169
169
|
"name": "Combatant loaded",
|
|
170
|
-
"
|
|
170
|
+
"payloadSchema": [
|
|
171
171
|
{
|
|
172
172
|
"name": "id",
|
|
173
173
|
"type": "string"
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
{
|
|
206
206
|
"key": "CombatantLoadFailed",
|
|
207
207
|
"name": "Combatant load failed",
|
|
208
|
-
"
|
|
208
|
+
"payloadSchema": [
|
|
209
209
|
{
|
|
210
210
|
"name": "message",
|
|
211
211
|
"type": "string"
|
|
@@ -233,37 +233,37 @@
|
|
|
233
233
|
"render-ui",
|
|
234
234
|
"main",
|
|
235
235
|
{
|
|
236
|
-
"type": "stack",
|
|
237
236
|
"direction": "vertical",
|
|
238
|
-
"
|
|
237
|
+
"type": "stack",
|
|
239
238
|
"children": [
|
|
240
239
|
{
|
|
241
240
|
"type": "game-hud",
|
|
241
|
+
"position": "top",
|
|
242
242
|
"stats": [
|
|
243
243
|
{
|
|
244
244
|
"label": "HP",
|
|
245
245
|
"value": "@entity.hp"
|
|
246
246
|
},
|
|
247
247
|
{
|
|
248
|
-
"
|
|
249
|
-
"
|
|
248
|
+
"label": "Attack",
|
|
249
|
+
"value": "@entity.attack"
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"label": "Defense",
|
|
253
253
|
"value": "@entity.defense"
|
|
254
254
|
}
|
|
255
|
-
]
|
|
256
|
-
"position": "top"
|
|
255
|
+
]
|
|
257
256
|
},
|
|
258
257
|
{
|
|
259
|
-
"
|
|
258
|
+
"icon": "swords",
|
|
260
259
|
"variant": "primary",
|
|
261
|
-
"
|
|
260
|
+
"action": "ATTACK",
|
|
262
261
|
"label": "Attack",
|
|
263
|
-
"
|
|
262
|
+
"type": "button"
|
|
264
263
|
}
|
|
265
264
|
],
|
|
266
|
-
"align": "center"
|
|
265
|
+
"align": "center",
|
|
266
|
+
"gap": "lg"
|
|
267
267
|
}
|
|
268
268
|
]
|
|
269
269
|
]
|
|
@@ -277,37 +277,37 @@
|
|
|
277
277
|
"render-ui",
|
|
278
278
|
"main",
|
|
279
279
|
{
|
|
280
|
+
"type": "stack",
|
|
280
281
|
"align": "center",
|
|
281
282
|
"direction": "vertical",
|
|
282
|
-
"gap": "lg",
|
|
283
283
|
"children": [
|
|
284
284
|
{
|
|
285
|
-
"position": "top",
|
|
286
285
|
"type": "game-hud",
|
|
287
286
|
"stats": [
|
|
288
287
|
{
|
|
289
|
-
"
|
|
290
|
-
"
|
|
288
|
+
"label": "HP",
|
|
289
|
+
"value": "@entity.hp"
|
|
291
290
|
},
|
|
292
291
|
{
|
|
293
|
-
"
|
|
294
|
-
"
|
|
292
|
+
"value": "@entity.attack",
|
|
293
|
+
"label": "Attack"
|
|
295
294
|
},
|
|
296
295
|
{
|
|
297
296
|
"label": "Defense",
|
|
298
297
|
"value": "@entity.defense"
|
|
299
298
|
}
|
|
300
|
-
]
|
|
299
|
+
],
|
|
300
|
+
"position": "top"
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
"action": "HIT",
|
|
304
|
-
"
|
|
304
|
+
"icon": "clock",
|
|
305
305
|
"type": "button",
|
|
306
|
-
"
|
|
307
|
-
"
|
|
306
|
+
"label": "Cooldown End",
|
|
307
|
+
"variant": "secondary"
|
|
308
308
|
}
|
|
309
309
|
],
|
|
310
|
-
"
|
|
310
|
+
"gap": "lg"
|
|
311
311
|
}
|
|
312
312
|
]
|
|
313
313
|
]
|
|
@@ -321,34 +321,34 @@
|
|
|
321
321
|
"render-ui",
|
|
322
322
|
"main",
|
|
323
323
|
{
|
|
324
|
-
"direction": "vertical",
|
|
325
|
-
"align": "center",
|
|
326
|
-
"type": "stack",
|
|
327
324
|
"children": [
|
|
328
325
|
{
|
|
329
|
-
"position": "top",
|
|
330
326
|
"type": "game-hud",
|
|
331
327
|
"stats": [
|
|
332
328
|
{
|
|
333
|
-
"
|
|
334
|
-
"
|
|
329
|
+
"value": "@entity.hp",
|
|
330
|
+
"label": "HP"
|
|
335
331
|
},
|
|
336
332
|
{
|
|
337
333
|
"value": "@entity.attack",
|
|
338
334
|
"label": "Attack"
|
|
339
335
|
},
|
|
340
336
|
{
|
|
341
|
-
"
|
|
342
|
-
"
|
|
337
|
+
"label": "Defense",
|
|
338
|
+
"value": "@entity.defense"
|
|
343
339
|
}
|
|
344
|
-
]
|
|
340
|
+
],
|
|
341
|
+
"position": "top"
|
|
345
342
|
},
|
|
346
343
|
{
|
|
347
|
-
"
|
|
348
|
-
"
|
|
344
|
+
"type": "badge",
|
|
345
|
+
"label": "Cooling down..."
|
|
349
346
|
}
|
|
350
347
|
],
|
|
351
|
-
"
|
|
348
|
+
"type": "stack",
|
|
349
|
+
"direction": "vertical",
|
|
350
|
+
"gap": "lg",
|
|
351
|
+
"align": "center"
|
|
352
352
|
}
|
|
353
353
|
]
|
|
354
354
|
]
|
|
@@ -362,24 +362,24 @@
|
|
|
362
362
|
"render-ui",
|
|
363
363
|
"main",
|
|
364
364
|
{
|
|
365
|
-
"
|
|
365
|
+
"align": "center",
|
|
366
|
+
"direction": "vertical",
|
|
366
367
|
"children": [
|
|
367
368
|
{
|
|
368
369
|
"title": "Defeated",
|
|
369
|
-
"
|
|
370
|
-
"
|
|
370
|
+
"variant": "defeat",
|
|
371
|
+
"type": "game-over-screen"
|
|
371
372
|
},
|
|
372
373
|
{
|
|
373
|
-
"icon": "rotate-ccw",
|
|
374
|
-
"label": "Reset",
|
|
375
|
-
"type": "button",
|
|
376
374
|
"action": "RESET",
|
|
377
|
-
"
|
|
375
|
+
"type": "button",
|
|
376
|
+
"variant": "ghost",
|
|
377
|
+
"icon": "rotate-ccw",
|
|
378
|
+
"label": "Reset"
|
|
378
379
|
}
|
|
379
380
|
],
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"align": "center"
|
|
381
|
+
"type": "stack",
|
|
382
|
+
"gap": "lg"
|
|
383
383
|
}
|
|
384
384
|
]
|
|
385
385
|
]
|
|
@@ -393,37 +393,37 @@
|
|
|
393
393
|
"render-ui",
|
|
394
394
|
"main",
|
|
395
395
|
{
|
|
396
|
-
"align": "center",
|
|
397
396
|
"type": "stack",
|
|
397
|
+
"direction": "vertical",
|
|
398
398
|
"gap": "lg",
|
|
399
|
+
"align": "center",
|
|
399
400
|
"children": [
|
|
400
401
|
{
|
|
401
|
-
"
|
|
402
|
+
"position": "top",
|
|
402
403
|
"stats": [
|
|
403
404
|
{
|
|
404
405
|
"value": "@entity.hp",
|
|
405
406
|
"label": "HP"
|
|
406
407
|
},
|
|
407
408
|
{
|
|
408
|
-
"
|
|
409
|
-
"
|
|
409
|
+
"label": "Attack",
|
|
410
|
+
"value": "@entity.attack"
|
|
410
411
|
},
|
|
411
412
|
{
|
|
412
|
-
"
|
|
413
|
-
"
|
|
413
|
+
"value": "@entity.defense",
|
|
414
|
+
"label": "Defense"
|
|
414
415
|
}
|
|
415
416
|
],
|
|
416
|
-
"
|
|
417
|
+
"type": "game-hud"
|
|
417
418
|
},
|
|
418
419
|
{
|
|
419
420
|
"type": "button",
|
|
420
|
-
"action": "ATTACK",
|
|
421
421
|
"variant": "primary",
|
|
422
|
-
"
|
|
423
|
-
"
|
|
422
|
+
"label": "Attack",
|
|
423
|
+
"action": "ATTACK",
|
|
424
|
+
"icon": "swords"
|
|
424
425
|
}
|
|
425
|
-
]
|
|
426
|
-
"direction": "vertical"
|
|
426
|
+
]
|
|
427
427
|
}
|
|
428
428
|
]
|
|
429
429
|
]
|
|
@@ -437,24 +437,24 @@
|
|
|
437
437
|
"render-ui",
|
|
438
438
|
"main",
|
|
439
439
|
{
|
|
440
|
-
"
|
|
440
|
+
"direction": "vertical",
|
|
441
441
|
"align": "center",
|
|
442
442
|
"gap": "lg",
|
|
443
443
|
"children": [
|
|
444
444
|
{
|
|
445
|
-
"type": "game-over-screen",
|
|
446
445
|
"variant": "defeat",
|
|
446
|
+
"type": "game-over-screen",
|
|
447
447
|
"title": "Defeated"
|
|
448
448
|
},
|
|
449
449
|
{
|
|
450
450
|
"label": "Reset",
|
|
451
|
-
"variant": "ghost",
|
|
452
451
|
"icon": "rotate-ccw",
|
|
452
|
+
"variant": "ghost",
|
|
453
453
|
"type": "button",
|
|
454
454
|
"action": "RESET"
|
|
455
455
|
}
|
|
456
456
|
],
|
|
457
|
-
"
|
|
457
|
+
"type": "stack"
|
|
458
458
|
}
|
|
459
459
|
]
|
|
460
460
|
]
|
|
@@ -468,12 +468,10 @@
|
|
|
468
468
|
"render-ui",
|
|
469
469
|
"main",
|
|
470
470
|
{
|
|
471
|
-
"type": "stack",
|
|
472
|
-
"direction": "vertical",
|
|
473
|
-
"gap": "lg",
|
|
474
471
|
"align": "center",
|
|
475
472
|
"children": [
|
|
476
473
|
{
|
|
474
|
+
"position": "top",
|
|
477
475
|
"stats": [
|
|
478
476
|
{
|
|
479
477
|
"label": "HP",
|
|
@@ -484,21 +482,23 @@
|
|
|
484
482
|
"value": "@entity.attack"
|
|
485
483
|
},
|
|
486
484
|
{
|
|
487
|
-
"
|
|
488
|
-
"
|
|
485
|
+
"value": "@entity.defense",
|
|
486
|
+
"label": "Defense"
|
|
489
487
|
}
|
|
490
488
|
],
|
|
491
|
-
"position": "top",
|
|
492
489
|
"type": "game-hud"
|
|
493
490
|
},
|
|
494
491
|
{
|
|
492
|
+
"label": "Attack",
|
|
495
493
|
"type": "button",
|
|
496
|
-
"icon": "swords",
|
|
497
494
|
"action": "ATTACK",
|
|
498
|
-
"
|
|
499
|
-
"
|
|
495
|
+
"variant": "primary",
|
|
496
|
+
"icon": "swords"
|
|
500
497
|
}
|
|
501
|
-
]
|
|
498
|
+
],
|
|
499
|
+
"type": "stack",
|
|
500
|
+
"gap": "lg",
|
|
501
|
+
"direction": "vertical"
|
|
502
502
|
}
|
|
503
503
|
]
|
|
504
504
|
]
|
|
@@ -521,4 +521,4 @@
|
|
|
521
521
|
]
|
|
522
522
|
}
|
|
523
523
|
]
|
|
524
|
-
}
|
|
524
|
+
}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"event": "DialogueNodeLoaded",
|
|
58
58
|
"description": "Fired when DialogueNode finishes loading",
|
|
59
59
|
"scope": "internal",
|
|
60
|
-
"
|
|
60
|
+
"payloadSchema": [
|
|
61
61
|
{
|
|
62
62
|
"name": "id",
|
|
63
63
|
"type": "string"
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"event": "DialogueNodeLoadFailed",
|
|
93
93
|
"description": "Fired when DialogueNode fails to load",
|
|
94
94
|
"scope": "internal",
|
|
95
|
-
"
|
|
95
|
+
"payloadSchema": [
|
|
96
96
|
{
|
|
97
97
|
"name": "message",
|
|
98
98
|
"type": "string"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
{
|
|
123
123
|
"key": "CHOICE",
|
|
124
124
|
"name": "Choice",
|
|
125
|
-
"
|
|
125
|
+
"payloadSchema": [
|
|
126
126
|
{
|
|
127
127
|
"name": "choiceId",
|
|
128
128
|
"type": "string",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
{
|
|
142
142
|
"key": "DialogueNodeLoaded",
|
|
143
143
|
"name": "DialogueNode loaded",
|
|
144
|
-
"
|
|
144
|
+
"payloadSchema": [
|
|
145
145
|
{
|
|
146
146
|
"name": "id",
|
|
147
147
|
"type": "string"
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
{
|
|
176
176
|
"key": "DialogueNodeLoadFailed",
|
|
177
177
|
"name": "DialogueNode load failed",
|
|
178
|
-
"
|
|
178
|
+
"payloadSchema": [
|
|
179
179
|
{
|
|
180
180
|
"name": "message",
|
|
181
181
|
"type": "string"
|
|
@@ -213,13 +213,13 @@
|
|
|
213
213
|
"render-ui",
|
|
214
214
|
"main",
|
|
215
215
|
{
|
|
216
|
-
"typewriterSpeed": 30.0,
|
|
217
216
|
"type": "dialogue-box",
|
|
218
|
-
"
|
|
217
|
+
"typewriterSpeed": 30.0,
|
|
219
218
|
"dialogue": {
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
}
|
|
219
|
+
"text": "@entity.text",
|
|
220
|
+
"speaker": "@entity.speaker"
|
|
221
|
+
},
|
|
222
|
+
"position": "bottom"
|
|
223
223
|
}
|
|
224
224
|
]
|
|
225
225
|
]
|
|
@@ -234,8 +234,8 @@
|
|
|
234
234
|
"DialogueNode",
|
|
235
235
|
{
|
|
236
236
|
"emit": {
|
|
237
|
-
"
|
|
238
|
-
"
|
|
237
|
+
"failure": "DialogueNodeLoadFailed",
|
|
238
|
+
"success": "DialogueNodeLoaded"
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
],
|
|
@@ -243,13 +243,13 @@
|
|
|
243
243
|
"render-ui",
|
|
244
244
|
"main",
|
|
245
245
|
{
|
|
246
|
-
"
|
|
247
|
-
"typewriterSpeed": 30.0,
|
|
246
|
+
"position": "bottom",
|
|
248
247
|
"dialogue": {
|
|
249
|
-
"
|
|
250
|
-
"
|
|
248
|
+
"text": "@entity.text",
|
|
249
|
+
"speaker": "@entity.speaker"
|
|
251
250
|
},
|
|
252
|
-
"
|
|
251
|
+
"type": "dialogue-box",
|
|
252
|
+
"typewriterSpeed": 30.0
|
|
253
253
|
}
|
|
254
254
|
]
|
|
255
255
|
]
|
|
@@ -264,8 +264,8 @@
|
|
|
264
264
|
"main",
|
|
265
265
|
{
|
|
266
266
|
"position": "bottom",
|
|
267
|
-
"typewriterSpeed": 30.0,
|
|
268
267
|
"type": "dialogue-box",
|
|
268
|
+
"typewriterSpeed": 30.0,
|
|
269
269
|
"dialogue": {
|
|
270
270
|
"speaker": "@entity.speaker",
|
|
271
271
|
"text": "@entity.text"
|
|
@@ -283,6 +283,7 @@
|
|
|
283
283
|
"render-ui",
|
|
284
284
|
"main",
|
|
285
285
|
{
|
|
286
|
+
"align": "center",
|
|
286
287
|
"children": [
|
|
287
288
|
{
|
|
288
289
|
"content": "Dialogue complete",
|
|
@@ -290,17 +291,16 @@
|
|
|
290
291
|
"type": "typography"
|
|
291
292
|
},
|
|
292
293
|
{
|
|
293
|
-
"action": "START_DIALOGUE",
|
|
294
|
-
"variant": "primary",
|
|
295
|
-
"icon": "message-circle",
|
|
296
294
|
"label": "New Dialogue",
|
|
297
|
-
"
|
|
295
|
+
"icon": "message-circle",
|
|
296
|
+
"type": "button",
|
|
297
|
+
"variant": "primary",
|
|
298
|
+
"action": "START_DIALOGUE"
|
|
298
299
|
}
|
|
299
300
|
],
|
|
300
|
-
"
|
|
301
|
-
"type": "stack",
|
|
301
|
+
"gap": "md",
|
|
302
302
|
"direction": "vertical",
|
|
303
|
-
"
|
|
303
|
+
"type": "stack"
|
|
304
304
|
}
|
|
305
305
|
]
|
|
306
306
|
]
|
|
@@ -328,8 +328,8 @@
|
|
|
328
328
|
"text": "@entity.text",
|
|
329
329
|
"speaker": "@entity.speaker"
|
|
330
330
|
},
|
|
331
|
-
"typewriterSpeed": 30.0,
|
|
332
331
|
"type": "dialogue-box",
|
|
332
|
+
"typewriterSpeed": 30.0,
|
|
333
333
|
"position": "bottom"
|
|
334
334
|
}
|
|
335
335
|
]
|
|
@@ -353,4 +353,4 @@
|
|
|
353
353
|
]
|
|
354
354
|
}
|
|
355
355
|
]
|
|
356
|
-
}
|
|
356
|
+
}
|