tianta/project/floors/PIANTOU1.js
2022-10-23 00:23:02 +13:00

257 lines
6.9 KiB
JavaScript

main.floors.PIANTOU1=
{
"floorId": "PIANTOU1",
"title": "塔外",
"name": "塔外",
"canFlyTo": false,
"canUseQuickShop": true,
"cannotViewMap": true,
"images": [
{
"name": "tawaijiuren.png",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"item_ratio": 1,
"firstArrive": [],
"events": {
"1,0": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
0.5
],
"time": 0,
"keep": true
},
{
"type": "animate",
"name": "dazhaofadong",
"loc": [
6,
7
]
},
{
"type": "setHeroIcon",
"name": "fanxiang.png"
},
{
"type": "changePos",
"loc": [
6,
-1
]
},
{
"type": "animate",
"name": "shijian",
"loc": [
6,
7
],
"async": true
},
{
"type": "setCurtain",
"color": [
0,
255,
255,
0.5
],
"time": 1000,
"keep": true,
"async": true
},
{
"type": "moveHero",
"time": 100,
"steps": [
"down:2"
]
},
{
"type": "moveHero",
"time": 100,
"steps": [
"down:1"
]
},
{
"type": "moveHero",
"time": 200,
"steps": [
"down:1"
]
},
{
"type": "moveHero",
"time": 400,
"steps": [
"down:1"
]
},
{
"type": "moveHero",
"time": 800,
"steps": [
"down:1"
]
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
0.5
],
"time": 1000,
"keep": true
},
{
"type": "move",
"loc": [
6,
7
],
"time": 500,
"keep": true,
"steps": [
"up:1"
]
},
{
"type": "sleep",
"time": 1000
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 500,
"keep": true
},
{
"type": "setHeroIcon",
"name": "hero.png"
},
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 500,
"keep": true
},
{
"type": "waitAsync"
},
{
"type": "setText",
"position": "center",
"background": "winskin.png"
},
"\\c[30]地上部分到此就结束了~\n请等待后续更新~",
{
"type": "switch",
"condition": "flag:hard",
"caseList": [
{
"case": "1",
"action": [
{
"type": "win",
"reason": "地上部分"
}
]
},
{
"case": "2",
"action": [
{
"type": "win",
"reason": "地上部分"
}
]
},
{
"case": "3",
"action": [
{
"type": "win",
"reason": "地上部分"
}
]
},
{
"case": "4",
"action": [
{
"type": "win",
"reason": "地上部分"
}
]
},
{
"case": "5",
"action": [
{
"type": "win",
"reason": "地上部分"
}
]
}
]
}
]
},
"changeFloor": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"ratio": 1,
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,124, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"defaultGround": "grass",
"bgmap": [
],
"fgmap": [
],
"width": 15,
"height": 15,
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {}
}