main.floors.DPL8_2= { "floorId": "DPL8_2", "title": "龙宫游乐园:8-2", "name": "8-2", "width": 13, "height": 13, "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "cannotViewMap": false, "cannotMoveDirectly": false, "images": [], "ratio": 1, "defaultGround": "magicground2", "bgm": "maps5A.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": { "4,9": [ { "type": "if", "condition": "switch:A", "true": [ "\t[商人,woman]很久以前流传着恶龙和屠龙匕首的传说……", { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,woman]给我${core.hasItem(\"Backpack\") ?1000:2000}星币我就能帮你打开某个宝库的大门", "choices": [ { "text": "我太需要了", "need": "status:money>=(core.hasItem(\"Backpack\") ?1000:2000)", "action": [ { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "1000" } ], "false": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "2000" } ] }, { "type": "setBlock", "number": "0", "loc": [ [ 2, 4 ] ], "floorId": "DPL5_3" }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "使用${core.hasItem(\"Backpack\") ?2:4}星光支付", "need": "flags.star.level>(core.hasItem(\"Backpack\") ?1:3)", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nif (core.hasItem(\"Backpack\")) flags.star.level -= 2\nelse flags.star.level -= 4\n}" }, { "type": "setBlock", "number": "0", "loc": [ [ 2, 4 ] ], "floorId": "DPL5_3" }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ] } ] }, "changeFloor": { "0,8": { "floorId": "DPL8_3", "loc": [ 11, 8 ], "direction": "left" }, "0,1": { "floorId": "DPL8_3", "loc": [ 11, 1 ], "direction": "left" }, "11,12": { "floorId": "DPL7_2", "loc": [ 11, 1 ], "direction": "down" }, "12,6": { "floorId": "DPL8_1", "loc": [ 1, 6 ], "direction": "right" } }, "beforeBattle": {}, "afterBattle": { "3,3": [ { "type": "specialDoor", "loc": [ [ "3", "3" ], [ "1", "3" ] ], "doors": [ [ "2", "4" ] ] } ], "1,3": [ { "type": "specialDoor", "loc": [ [ "3", "3" ], [ "1", "3" ] ], "doors": [ [ "2", "4" ] ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [142,142,142,142,142,142,142,142,142,142,142,142,142], [ 92, 0, 0, 0,220, 0, 0, 0,219, 0, 0, 0,142], [142,142, 81,142,142, 81,142, 81,142,142,142, 81,142], [142,450, 0,450,142,223,142,223,142, 21, 21,420,142], [142,142, 85,142,142, 31,142, 32,142,207, 32, 31,142], [142, 32, 0, 32,142, 21,142, 21,142, 81,142,142,142], [142, 0, 63, 0,142,404,142,414,142, 0,228, 0, 94], [142,142,142,142,142,142,142,142,142,142,142,142,142], [ 92, 0, 81, 0, 21, 82, 0,204, 0, 31, 0,219,142], [142, 21,142,421,122,142, 0,142,142,142,142, 0,142], [142, 0,142,142,142,142, 0, 81, 0,219,142, 0,142], [142,207, 0, 32, 0,420, 0,142,414, 0, 81, 0,142], [142,142,142,142,142,142,142,142,142,142,142, 93,142] ], "bgmap": [ ], "fgmap": [ ] }