feat: choice conditions with variables, demo updates, roadmap update
This commit is contained in:
@@ -146,6 +146,8 @@
|
||||
"choices": [
|
||||
{
|
||||
"text": "与陌生人握手",
|
||||
"textKey": "scene.left_door.choice.handshake",
|
||||
"prompt": "陌生人会记住你的善意",
|
||||
"targetScene": "trust_ending",
|
||||
"effects": [
|
||||
{ "type": "add", "target": "trust", "value": 30 }
|
||||
@@ -238,6 +240,8 @@
|
||||
"choices": [
|
||||
{
|
||||
"text": "开启信任的旅程(需要 trust >= 80)",
|
||||
"textKey": "scene.trust_ending.choice.journey",
|
||||
"prompt": "你们的羁绊将改变一切",
|
||||
"targetScene": "secret_ending",
|
||||
"conditions": [
|
||||
{ "variable": "trust", "op": ">=", "value": 80 }
|
||||
|
||||
Reference in New Issue
Block a user