challenge-editor/json/event.json
2024-11-18 18:48:18 +08:00

643 lines
10 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"event_01":{
"name":"测试事件1",
"texture":"test_scene",
"text":"这是一个测试事件系统的事件",
"choice":[
{
"name":"度过两小时",
"triger":[{
"type":"flow_time",
"data":{
"hour":2
}
}
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},
]
}
]
},
"event_02":{
"name":"测试事件2",
"texture":"test_scene",
"text":"这是一个测试选项触发的事件",
"choice":[
{
"name":"改变图片",
"triger":[{
"type":"change_texture",
"data":"test_character"
}
]
},
{
"name":"改变描述文本",
"triger":[{
"type":"change_text",
"data":"描述文本已经改变"
}
]
},
{
"name":"转换事件",
"triger":[{
"type":"change_event",
"data":"event_01"
}
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},
]
}
]
},
"event_03":{
"name":"测试事件3",
"texture":"test_scene",
"text":"这是一个测试战斗的事件",
"choice":[
{
"name":"战斗",
"triger":[{
"type":"fight",
"data":{
"enermy":["test_character_01"],
"friend":[]
}
}
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},
]
}
]
},
"event_04":{
"name":"测试事件4",
"texture":"test_scene",
"text":"这是一个测试货币系统的事件",
"choice":[
{
"name":"添加金钱*100",
"triger":[{
"type":"add_currency",
"data":{
"ind":1,
"value":100
}
}
]
},
{
"name":"减少金钱*100",
"condition":[
{
"type":"currency_more_than",
"data":{
"ind":1,
"value":100,
}
}
],
"triger":[{
"type":"add_currency",
"data":{
"ind":1,
"value":-100
}
}
]
},
{
"name":"减少精神*100",
"triger":[{
"type":"add_currency",
"data":{
"ind":2,
"value":-100
}
}
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},
]
}
]
},
"event_05":{
"name":"测试事件5",
"texture":"test_scene",
"text":"这是一个测试交易系统的事件",
"choice":[
{
"name":"交易测试01",
"triger":[{
"type":"trade",
"data":"npc_01"
},]
},
{
"name":"交易测试02",
"triger":[{
"type":"trade",
"data":"npc_02"
},]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},]
}
]
},
"fish_test":{
"name":"钓鱼测试事件",
"texture":"test_scene",
"text":"这是一个测试鉴定系统的事件",
"choice":[
{
"name":"钓鱼",
"triger":[
{
"type":"show_identifaction",
"data":{
"id":"fish"
}
},
{
"type":"end_event",
"data":""
},
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},]
}
]
},
"auction_test":{
"name":"拍卖测试事件",
"texture":"test_scene",
"text":"这是一个测试拍卖系统的事件",
"choice":[
{
"name":"拍卖",
"triger":[
{
"type":"show_auction",
"data":{
"npc":["npc_01","npc_02"],
"item":["item_01","item_02","item_03","item_04"]
}
},
{
"type":"end_event",
"data":""
},
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},]
}
]
},
"item_level_up_test":{
"name":"升级测试事件",
"texture":"test_scene",
"text":"这是一个测试装备升级系统的事件",
"choice":[
{
"name":"升级",
"triger":[
{
"type":"show_level_up",
"data":""
},
{
"type":"end_event",
"data":""
},
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},]
}
]
},
"warehouse_test":{
"name":"升级测试事件",
"texture":"test_scene",
"text":"这是一个测试装备升级系统的事件",
"choice":[
{
"name":"打开仓库",
"triger":[
{
"type":"show_warehouse",
"data":""
},
{
"type":"end_event",
"data":""
},
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},]
}
]
},
"make_card_test":{
"name":"卡牌制作测试事件",
"texture":"test_scene",
"text":"这是一个测试卡牌制作系统的事件",
"choice":[
{
"name":"制作",
"triger":[
{
"type":"make_card",
"data":""
},
{
"type":"end_event",
"data":""
},
]
},
{
"name":"结束",
"triger":[{
"type":"end_event",
"data":""
},]
}
]
},
"event_socialize":{
"name":"社交",
"texture":"test_scene",
"text":"你需要社交",
"choice":[
{
"name":"魅力鉴定",
"triger":[
{
"type":"show_identifaction",
"data":{
"id":"AM_judge"
}
},
{
"type":"end_event",
"data":""
}
]
}
]
},
"paoxiao1920start":{
"name":"《贡比涅森林停战协定》",
"texture":"paoxiao1920gongbinietingzhan",
"text":"11月11日法国时间凌晨5时福煦代表协约国与德国代表在法国东北部贡比涅森林雷道车站的福煦车厢里签订了停战协定一译《康边停战协定》亦称《协约国对德停战协定》。协定签订当日即生效。",
"choice":[
{
"name":"战争终于结束了...",
"triger":[{
"type":"end_event",
"data":""
}]
}
]
},
"london_tansuo":{
"name":"探索-伦敦西区",
"texture":"london_tansuo",
"text":"你整顿装备,准备对这座城市进行探索",
"choice":[{
"name":"开始探索",
"triger":[{
"type":"show_identifaction",
"data":{
"id":"explore"
}
},
{
"type":"end_event",
"data":""
}
]
},
{
"name":"退出",
"triger":[{
"type":"end_event",
"data":""
}]
}]
},
"find_cat_start":{
"name":"寻找丢失的猫咪",
"texture":"cat",
"text":"客户需要帮忙寻找走丢的猫咪",
"choice":[
{
"name":"接受任务",
"triger":[
{
"type":"set_flag",
"data":{
"flag_name":"find_cat",
"value":0
}
},
{
"type":"add_clock_triger",
"data":{
"time_limit":60480,
"triger":[
{
"type":"select_triger",
"data":{
"condition_triger":[{
"type":"is_flag_more_than",
"data":{
"flag_name":"find_cat_progress",
"value":7
}
}],
"success_triger":[{
"type":"change_event",
"data":"find_cat_success"
}],
"fail_triger":[{
"type":"change_event",
"data":"find_cat_fail"
}]
}
}
]
}
},
{
"type":"set_flag",
"data":{
"flag_name":"find_cat_progress",
"value":0
}
},{
"type":"end_event",
"data":""
},{
"type":"refresh_scene_touch",
"data":""
}
]
},
{
"name":"拒绝",
"triger":[{
"type":"end_event",
"data":"",
}],
}
],
},
"find_cat_main":{
"name":"寻找丢失的猫咪",
"texture":"cat",
"text":"如何寻找?",
"choice":[
{
"name":"寻找踪迹(感知鉴定,消耗体力10",
"condition":[
{
"type":"currency_more_than",
"data":{
"ind":3,
"value":10
}
}
],
"triger":[{
"type":"show_identifaction",
"data":{
"id":"WIS_judge",
"success_triger":[
{
"type":"change_flag",
"data":{
"flag_name":"find_cat_progress",
"change_value":8
}
}
],
"fail_triger":[
{
"type":"change_flag",
"data":{
"flag_name":"find_cat_progress",
"change_value":8
}
}
]
}
},
{
"type":"add_currency",
"data":{
"ind":3,
"value":-10
}
},
{
"type":"flow_time",
"data":{
"hour":1
}
},
{
"type":"end_event",
"data":"",
}
]
},
{
"name":"询问周边(魅力鉴定),消耗体力10",
"condition":[
{
"type":"currency_more_than",
"data":{
"ind":3,
"value":10
}
}
],
"triger":[
{
"type":"show_identifaction",
"data":{
"id":"AM_judge",
"success_triger":[
{
"type":"change_flag",
"data":{
"flag_name":"find_cat_progress",
"change_value":1
}
}
]
}
},
{
"type":"flow_time",
"data":{
"hour":1
}
},
]
},
{
"name":"花费更多精力消耗30体力",
"condition":[
{
"type":"currency_more_than",
"data":{
"ind":3,
"value":30
}
}
],
"triger":[
{
"type":"flow_time",
"data":{
"hour":3
}
},
]
},
{
"name":"动物的办法",
"triger":[
{
"type":"flow_time",
"data":{
"hour":1
}
},
]
},
{
"name":"退出",
"triger":[
{
"type":"end_event",
"data":"",
}
]
}
]
},
"find_cat_success":{
"name":"寻找丢失的猫咪-成功",
"texture":"cat",
"text":"任务成功",
"choice":[
{
"name":"退出",
"triger":[
{
"type":"end_event",
"data":"",
},
{
"type":"set_flag",
"data":{
"flag_name":"find_cat",
"value":1,
}
},
{
"type":"refresh_scene_touch",
"data":""
}
]
}
]
},
"find_cat_fail":{
"name":"寻找丢失的猫咪-失败",
"texture":"cat",
"text":"任务失败",
"choice":[
{
"name":"退出",
"triger":[
{
"type":"end_event",
"data":"",
},
{
"type":"set_flag",
"data":{
"flag_name":"find_cat",
"value":1,
}
},
{
"type":"refresh_scene_touch",
"data":""
}
]
}
]
},
}