shengqishi/project/floors/CZ7.js

182 lines
5.7 KiB
JavaScript

main.floors.CZ7=
{
"floorId": "CZ7",
"title": "村庄 7 ",
"name": "村庄7",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "grass",
"bgm": "mingyunshouhu.mp3",
"firstArrive": [
"如果已经收服圣骑士,并且圣骑士已经成为骑士,骷髅王可以直接过去"
],
"eachArrive": [],
"parallelDo": "",
"events": {
"6,10": [
"\t[凌依,N574]\b[up]殿下之命,凌依已经带领骑士队将被怪物们杀害的村民埋葬",
"\t[光明圣子,hero]\b[hero]干的不错,你继续探路",
"\t[凌依,N574]\b[up]遵命",
{
"type": "hide",
"remove": true
}
],
"10,8": [
{
"type": "confirm",
"text": "确认要打开这个宝箱吗? (花费50点魔力)",
"yes": [
{
"type": "if",
"condition": "(status:mana<50)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "50"
},
{
"type": "playSound",
"name": "door.mp3"
},
{
"type": "setBlock",
"number": "X10111"
},
{
"type": "setValue",
"name": "item:I710",
"operator": "+=",
"value": "2"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
"6,12": {
"floorId": "CZ6",
"loc": [
6,
0
]
},
"3,12": {
"floorId": "CZ8",
"loc": [
3,
12
]
}
},
"beforeBattle": {
"3,6": [
"\t[骷髅王]\b[this,3,6]吼!",
{
"type": "if",
"condition": "(flag:shengqishi>1)",
"true": [
{
"type": "animate",
"name": "sword",
"loc": [
3,
6
]
},
"\t[${flag:shengqishi_name},N472]\b[this,3,6]殿下小心!",
{
"type": "hide",
"remove": true
},
{
"type": "setValue",
"name": "status:money",
"operator": "+=",
"value": "100"
},
{
"type": "setBlock",
"number": "N472",
"loc": [
[
3,
6
]
]
},
"\t[光明圣子,hero]\b[hero]你怎么来了",
"\t[${flag:shengqishi_name},N472]\b[this,3,6]属下担心殿下,就随殿下来了",
"\t[光明圣子,hero]\b[hero]这个骷髅很厉害,幸好你来了!",
"\t[${flag:shengqishi_name},N472]\b[up]嘿嘿",
"\t[光明圣子,hero]\b[hero]你既然来了,就帮我去前面探探路吧",
"\t[${flag:shengqishi_name},N472]\b[up]嘿嘿,遵命",
{
"type": "insert",
"name": "回收钥匙商店"
},
{
"type": "hide",
"remove": true
}
],
"false": []
}
]
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[140,140,140,140,140,140,140,140,140,140,140,140,140],
[140,612, 22,690,362, 23,140, 0,690,365,360,358,140],
[140,140,140,731,140,140,140, 81,140,140,140,610,140],
[140,689,140, 81,140,689,140, 81,140,689,140,729,140],
[140,610,140, 81,140,610,140, 81,140,610,140, 82,140],
[140,237,140, 81,140,237,140,239,140,237,140,711,140],
[140, 0, 0,238, 0, 0,140, 0,728, 0,140,744,140],
[140,140,140, 81,140,140,20247,140,140, 81,140, 81,140],
[140, 21,690, 0,237, 0,728, 0, 81,729,10110, 0,140],
[140,140,140,140,20247,140,140,729,140,688, 0, 21,140],
[140, 21, 0, 0,140, 0,574, 0,140, 0,698,711,140],
[140, 0,689,731, 81,744, 0, 0, 81,745, 0, 21,140],
[140,140,140, 93,140,140, 91,140,140,140,140,140,140]
],
"bgmap": [
],
"fgmap": [
],
"flyPoint": [
6,
12
],
"bg2map": [
],
"fg2map": [
]
}