main.floors.MT2= { "floorId": "MT2", "title": "星趴·梦想号:2F", "name": "第 2 层", "width": 13, "height": 13, "map": [ [330,330,330,330,330,330,330,330,330,330,330,330,330], [330, 88, 0, 82, 0, 0, 0, 0, 0, 0, 0, 0,330], [330, 0, 0, 1, 1, 0,222, 0,222, 0, 1, 1,330], [330, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1,330], [330, 0, 1, 21, 21, 1, 0, 0, 0, 1, 0,1011,330], [330, 0, 1, 21, 0, 86, 0, 0, 0, 86, 0, 0,330], [330, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1,330], [330, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0,122,330], [330, 0, 1, 0, 0, 86, 0, 0, 0, 86, 0, 0,330], [330, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1,330], [330, 0, 1, 32, 32, 1, 0, 0, 0, 1, 0, 0,330], [330, 87, 1, 32, 0, 86, 0, 0, 0, 86, 0,123,330], [330,330,330,330,330,330,330,330,330,330,330,330,330] ], "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 1, "defaultGround": "ground", "bgm": "maps.mp3", "firstArrive": null, "eachArrive": [], "parallelDo": "", "events": { "11,11": [ "\t[小偷,thief]你终于来了 我以为再也出不去了呢 35层有个魔龙挡路 我帮你挖一条暗道吧", { "type": "show", "loc": [ [ 5, 10 ] ], "floorId": "MT35", "time": 0 }, { "type": "hide", "remove": true, "time": 500 } ], "11,7": [ { "type": "choices", "text": "\t[商人,woman]谢谢你的帮助!我能为你增加${core.hasItem(\"Backpack\") ?6:3}%攻击和防御。", "choices": [ { "text": "现在提升", "action": [ { "type": "playSound", "name": "item.mp3" }, { "type": "setValue", "name": "status:atk", "operator": "+=", "value": "(Math.round((status:atk*0.03)))" }, { "type": "setValue", "name": "status:def", "operator": "+=", "value": "(Math.round((status:def*0.03)))" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "status:atk", "operator": "+=", "value": "(Math.round((status:atk*0.03)))" }, { "type": "setValue", "name": "status:def", "operator": "+=", "value": "(Math.round((status:def*0.03)))" } ] }, { "type": "hide", "remove": true, "time": 200 } ] }, { "text": "等会再说", "action": [] } ] } ], "11,4": [ "你在这间牢房里看到了一个带有显示屏的……垃圾桶?", "奇怪的是,垃圾桶似乎也看到了你,它机械的显示屏上不停的闪烁着光芒。", { "type": "text", "text": "\t[Z3000]\f[Z3000_Full.png,0,170,200,250]01010100 01101000 01100001 01101110 01101011 00100000 01111001 01101111 01110101 00100000 01100110 01101111 01110010 00100000 01110011 01100001 01110110 01101001 01101110 01100111 00100000 01101101 01100101 00001010", "pos": [ 96, 0, 280 ] }, "似乎是为了感谢你救了他,它“哐当”一声放倒了自己的身子。你能看见它的身体里倾倒出许多星币。", "你听着机器发出你听不懂的声音,捡起了他倾倒出的星币。", "在捡起最后一枚星币后,他的轮子摩擦着地面,发出了滋啦滋啦的声响。", "看起来它似乎站不起来了,于是你将它扶了起来。它似乎很高兴,围绕着你转了很多圈,然后离开了这里。", "真是个通人性的……垃圾桶?呢。", { "type": "setValue", "name": "status:money", "operator": "+=", "value": "1000" }, { "type": "hide", "remove": true, "time": 200 } ] }, "changeFloor": { "1,11": { "floorId": ":next", "stair": "downFloor" }, "1,1": { "floorId": ":before", "stair": "upFloor" } }, "afterBattle": { "6,2": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[8, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}" }, { "type": "if", "condition": "flag:open_yes", "true": [ { "type": "openDoor", "loc": [ 5, 5 ], "async": true }, { "type": "openDoor", "loc": [ 5, 8 ], "async": true }, { "type": "openDoor", "loc": [ 5, 11 ], "async": true }, { "type": "openDoor", "loc": [ 9, 5 ], "async": true }, { "type": "openDoor", "loc": [ 9, 8 ], "async": true }, { "type": "openDoor", "loc": [ 9, 11 ], "async": true }, { "type": "waitAsync" } ] } ], "8,2": [ { "type": "function", "function": "function(){\nvar bool = true;\nvar loc_arr = [\n\t[6, 2],\n\t[8, 2],\n]\nloc_arr.forEach(loc => {\n\tif (core.getBlockCls(loc[0], loc[1]) == \"enemys\") {\n\t\tbool = false;\n\t}\n});\ncore.setFlag(\"open_yes\", bool)\n}" }, { "type": "if", "condition": "flag:open_yes", "true": [ { "type": "openDoor", "loc": [ 5, 5 ], "async": true }, { "type": "openDoor", "loc": [ 5, 8 ], "async": true }, { "type": "openDoor", "loc": [ 5, 11 ], "async": true }, { "type": "openDoor", "loc": [ 9, 5 ], "async": true }, { "type": "openDoor", "loc": [ 9, 8 ], "async": true }, { "type": "openDoor", "loc": [ 9, 11 ], "async": true }, { "type": "waitAsync" } ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "cannotMove": {}, "bgmap": [ [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17], [ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17] ], "fgmap": [ ], "upFloor": [ 1, 10 ], "downFloor": [ 1, 2 ], "autoEvent": { "5,5": { "1": null } }, "beforeBattle": {}, "cannotMoveIn": {}, "bg2map": [], "fg2map": [] }