yimengjiutian/project/floors/ND1.js

150 lines
5.6 KiB
JavaScript
Raw 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.

main.floors.ND1=
{
"floorId": "ND1",
"title": "难度选择",
"name": "0",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"cannotViewMap": true,
"images": [
{
"name": "bg.jpg",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "bewithyou.mp3",
"firstArrive": [
{
"type": "trigger",
"loc": [
11,
11
]
}
],
"eachArrive": [],
"parallelDo": "",
"events": {
"11,11": [
{
"type": "choices",
"text": "请选择游戏模式",
"choices": [
{
"text": "休闲模式",
"color": [
151,
230,
8,
1
],
"action": [
"休闲模式含有丰富的剧情,\n讲述了主角从出生打大学毕业的时光\n跟随主角去探寻人生中的酸甜苦辣。\n难度不大适合广大休闲玩家游玩。\n最终计分方式为钥匙计分。",
{
"type": "confirm",
"text": "确认要选择休闲模式吗?",
"yes": [
{
"type": "setValue",
"name": "flag:hard",
"value": "1"
},
{
"type": "function",
"function": "function(){\ncore.status.hard = 'Easy';\nflags.__hardColor__ = 'green'\n//core.setGlobalAttribute(\"borderColor\", \"#8ee877\");\ncore.setGlobalAttribute(\"statusLeftBackground\", \"url(project/images/641-e.jpg)0% 0%/auto 100% repeat\");\ncore.setGlobalAttribute(\"statusTopBackground\", \"url(project/images/641-e.jpg)0% 0%/auto 100% repeat\");\n}"
},
{
"type": "break",
"n": 1
}
],
"no": []
}
]
},
{
"text": "挑战模式",
"color": [
255,
0,
0,
1
],
"action": [
"挑战模式去掉全部剧情。\n难度比休闲模式要高。\n适合喜欢冲榜的玩家优化路线刷max。\n本塔的核心在于剧情\n玩完休闲模式再来体验挑战模式效果更佳。\n计分方式为钥匙计分。",
{
"type": "confirm",
"text": "确认要选择挑战模式吗?",
"yes": [
{
"type": "setValue",
"name": "flag:hard",
"value": "2"
},
{
"type": "function",
"function": "function(){\ncore.status.hard = 'Hard';\n//core.setGlobalAttribute(\"borderColor\", \"#ea7888\");\ncore.setGlobalAttribute(\"statusLeftBackground\", \"url(project/images/641-h.jpg)0% 0%/auto 100% repeat\");\ncore.setGlobalAttribute(\"statusTopBackground\", \"url(project/images/641-h.jpg)0% 0%/auto 100% repeat\");\n}"
},
{
"type": "break",
"n": 1
}
],
"no": []
}
]
}
]
}
]
},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {
"11,11": {
"0": null,
"1": null,
"2": null,
"3": null
}
},
"cannotMove": {},
"cannotMoveIn": {},
"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, 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]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}