main.floors.DPL5_1= { "floorId": "DPL5_1", "title": "龙宫游乐园:5-1", "name": "5-1", "width": 13, "height": 13, "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "cannotViewMap": false, "cannotMoveDirectly": false, "images": [], "ratio": 1, "defaultGround": "magicground2", "bgm": "maps5A.mp3", "firstArrive": [ { "type": "setValue", "name": "flag:ratio", "operator": "+=", "value": "1" } ], "eachArrive": [], "parallelDo": "", "events": { "1,1": [ { "type": "if", "condition": "switch:A", "true": [ "\t[商人,woman]幸运金币?应该遗失在某些地方了", { "type": "hide", "remove": true } ], "false": [ { "type": "choices", "text": "\t[商人,women]我800星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙和${core.hasItem(\"Backpack\") ?8:4}把黄钥匙,你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=800", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "800" }, { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" } ] }, { "type": "setValue", "name": "switch:A", "value": "true" } ] }, { "text": "使用2星光支付", "need": "flags.star.level>1", "condition": "item:FriendshipBadge&&!switch:B", "action": [ { "type": "function", "function": "function(){\nflags.star.level-=2\n}" }, { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:blueKey", "operator": "+=", "value": "1" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "4" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ] } ] }, "changeFloor": { "6,12": { "floorId": "DPL4_1", "loc": [ 6, 1 ], "direction": "down" }, "6,0": { "floorId": "DPL6_1", "loc": [ 6, 11 ], "direction": "up" }, "0,6": { "floorId": "DPL5_2", "loc": [ 11, 6 ], "direction": "left" } }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [142,142,142,142,142,142, 91,142,142,142,142,142,142], [142,122,142, 31, 31,142, 0, 83, 21, 21, 21, 22,142], [142, 81,142, 21, 31,142, 0,142,142,142,142, 32,142], [142,224, 0,212, 0,142,214,142, 21,402,142,410,142], [142, 0, 0, 0,212,142, 0,142, 21,212,142,410,142], [142,142, 81,142,142,142, 0,142,142, 81,142, 81,142], [ 92, 0, 0,214, 0, 0, 0, 0, 0, 0, 0,216,142], [142,142,142,142,142,142, 0,142, 82,142,142, 82,142], [142, 21, 21, 0,225,142, 0,142, 31,142, 31, 31,142], [142, 21, 32,225, 0,142,214,142, 32,142,412, 21,142], [142,142,142, 0, 0, 81, 0,142,222,142,142,227,142], [142, 32, 81,227, 0,142, 0, 0, 0, 81,224, 0,142], [142,142,142,142,142,142, 93,142,142,142,142,142,142] ], "bgmap": [ ], "fgmap": [ ] }