2024-09-19 12:04:52 +08:00
|
|
|
{
|
|
|
|
"event_01":{
|
|
|
|
"name":"测试事件1",
|
|
|
|
"texture":"test_scene",
|
2024-09-22 17:37:51 +08:00
|
|
|
"text":"这是一个测试事件系统的事件",
|
2024-09-19 12:04:52 +08:00
|
|
|
"choice":[
|
|
|
|
{
|
2024-09-22 17:37:51 +08:00
|
|
|
"name":"度过两小时",
|
2024-09-19 17:56:05 +08:00
|
|
|
"triger":[{
|
2024-09-22 17:37:51 +08:00
|
|
|
"type":"flow_time",
|
|
|
|
"data":{
|
|
|
|
"hour":2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name":"结束",
|
|
|
|
"triger":[{
|
|
|
|
"type":"end_event",
|
2024-09-22 11:48:18 +08:00
|
|
|
"data":""
|
2024-09-19 17:56:05 +08:00
|
|
|
},
|
2024-09-22 17:37:51 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"event_02":{
|
|
|
|
"name":"测试事件2",
|
|
|
|
"texture":"test_scene",
|
|
|
|
"text":"这是一个测试选项触发的事件",
|
|
|
|
"choice":[
|
|
|
|
{
|
|
|
|
"name":"改变图片",
|
|
|
|
"triger":[{
|
2024-09-19 17:56:05 +08:00
|
|
|
"type":"change_texture",
|
|
|
|
"data":"test_character"
|
2024-09-22 17:37:51 +08:00
|
|
|
}
|
2024-09-22 11:48:18 +08:00
|
|
|
]
|
|
|
|
},
|
2024-09-22 17:37:51 +08:00
|
|
|
{
|
|
|
|
"name":"改变描述文本",
|
|
|
|
"triger":[{
|
|
|
|
"type":"change_text",
|
|
|
|
"data":"描述文本已经改变"
|
|
|
|
}
|
|
|
|
]
|
2024-09-19 17:56:05 +08:00
|
|
|
},
|
|
|
|
{
|
2024-09-22 17:37:51 +08:00
|
|
|
"name":"转换事件",
|
|
|
|
"triger":[{
|
|
|
|
"type":"change_event",
|
|
|
|
"data":"event_01"
|
|
|
|
}
|
|
|
|
]
|
2024-09-19 17:56:05 +08:00
|
|
|
},
|
2024-09-22 17:37:51 +08:00
|
|
|
{
|
|
|
|
"name":"结束",
|
|
|
|
"triger":[{
|
|
|
|
"type":"end_event",
|
2024-09-22 11:48:18 +08:00
|
|
|
"data":""
|
2024-09-19 17:56:05 +08:00
|
|
|
},
|
2024-09-22 11:48:18 +08:00
|
|
|
]
|
2024-09-19 12:04:52 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|