main.floors.DPR8_2= { "floorId": "DPR8_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": { "6,8": [ { "type": "if", "condition": "switch:A", "true": [ "\t[商人,woman]也许这红钥匙是你最后的救命稻草", { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,woman]我500星币卖${core.hasItem(\"Backpack\") ?2:1}把珍稀的红钥匙,你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=500", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "500" }, { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "使用1星光支付", "need": "flags.star.level>0", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nflags.star.level--\n}" }, { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:redKey", "operator": "+=", "value": "1" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ] } ] }, "changeFloor": { "6,12": { "floorId": "DPR7_2", "loc": [ 6, 1 ], "direction": "down" }, "12,4": { "floorId": "DPR8_3", "loc": [ 1, 4 ], "direction": "right" }, "0,6": { "floorId": "DPR8_1", "loc": [ 11, 6 ], "direction": "left" } }, "beforeBattle": {}, "afterBattle": { "8,10": [ { "type": "specialDoor", "loc": [ [ "8", "10" ], [ "10", "10" ] ], "doors": [ [ "9", "9" ] ] } ], "10,10": [ { "type": "specialDoor", "loc": [ [ "8", "10" ], [ "10", "10" ] ], "doors": [ [ "9", "9" ] ] } ] }, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [142,142,142,142,142,142,142,142,142,142,142,142,142], [142,142,142,142,142,142,142,142,142,142,142,142,142], [142, 31, 31,142, 0, 32,142, 32, 0,142, 0,220,142], [142, 0, 22,142, 21, 0,142, 21,228, 81,204, 0,142], [142,228, 0,142, 0,220,142, 32, 0,142, 0, 0, 94], [142, 81,142,142,142, 81,142,142,142,142,142, 81,142], [ 92, 0, 0, 0,207, 0, 0, 0,207, 0, 0, 0,142], [142,142, 81,142,142,142,142,142,142,142,142,142,142], [142,142, 0,220, 0,142,122,142, 0,421, 0,142,142], [142,142, 0,142, 0,142, 0,142,142, 85,142,142,142], [142,142, 0,142, 0,142,207,142,207, 0,207,142,142], [142,142, 0,220, 0, 81, 0, 81, 0, 0, 0,142,142], [142,142,142,142,142,142, 93,142,142,142,142,142,142] ], "bgmap": [ ], "fgmap": [ ] }