feat: P25 conditional routing, nextScene supports Choice[] with conditions
This commit is contained in:
@@ -549,6 +549,15 @@
|
||||
},
|
||||
"choices": [],
|
||||
"thumbnail": "shared/thumb.jpg"
|
||||
},
|
||||
"combat_router": {
|
||||
"id": "combat_router",
|
||||
"videoUrl": "",
|
||||
"nextScene": [
|
||||
{ "conditions": [{ "variable": "courage", "op": ">=", "value": 20 }], "targetScene": "trust_ending" },
|
||||
{ "conditions": [{ "variable": "courage", "op": "<=", "value": -10 }], "targetScene": "alone_ending" },
|
||||
{ "targetScene": "right_door" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user