280 lines
8.3 KiB
JavaScript
280 lines
8.3 KiB
JavaScript
main.floors.MT5=
|
|
{
|
|
"floorId": "MT5",
|
|
"title": "朦胧的环境",
|
|
"name": "朦胧的环境",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"cannotViewMap": false,
|
|
"images": [
|
|
{
|
|
"name": "8.jpg",
|
|
"reverse": ":o",
|
|
"canvas": "bg",
|
|
"x": 0,
|
|
"y": 0
|
|
}
|
|
],
|
|
"ratio": 1,
|
|
"defaultGround": "ground",
|
|
"firstArrive": [],
|
|
"eachArrive": [],
|
|
"parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}",
|
|
"events": {},
|
|
"changeFloor": {
|
|
"6,2": {
|
|
"floorId": "MT4",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
},
|
|
"6,10": {
|
|
"floorId": "MT6",
|
|
"loc": [
|
|
6,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {
|
|
"6,4": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"6,7": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"4,8": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"2,4": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"10,4": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,9": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"7,6": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"8,8": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"3,5": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "flag:tmd",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "(flag:tmd==26)",
|
|
"true": [
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
[ 0,40226,40204,40204,40204,40204,40204,40204,40204,40204,40204,40206, 0],
|
|
[ 0,40225, 29, 28,40044,40044,104,40044,40044, 27, 29,40214, 0],
|
|
[ 0,40225, 0, 32,40044, 27, 0, 32,40044, 28, 0,40214, 0],
|
|
[ 0,40225,349,40044,40044,40044,350,40044,40044,40044,349,40214, 0],
|
|
[ 0,40225, 0,348, 0, 28, 0,40044, 29, 0, 0,40214, 0],
|
|
[ 0,40225, 31,40044, 32, 0, 0,348, 0, 31, 0,40214, 0],
|
|
[ 0,40225,40044,40044,40044,40044,350,40044,40044,40044,40044,40214, 0],
|
|
[ 0,40225, 32, 0,350, 0, 0, 0,348, 0,40044,40214, 0],
|
|
[ 0,40225,40044,349,40044, 27, 0, 28,40044, 31,40044,40214, 0],
|
|
[ 0,40225, 30, 0,40044, 0, 89, 0,40044, 31,40044,40214, 0],
|
|
[ 0,40224,40180,40180,40180,40180,40180,40180,40180,40180,40180,40182, 0],
|
|
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
],
|
|
"bg2map": [
|
|
[ 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,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 0, 0],
|
|
[ 0, 0,80002,80002,80002,80002,80002,80002,80002,80002,80002, 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]
|
|
],
|
|
"fg2map": [
|
|
|
|
],
|
|
"bgm": "congtianerjiang.mp3"
|
|
} |