main.floors.DP0_0= { "floorId": "DP0_0", "title": "龙宫游乐园:入口", "name": "入口", "width": 13, "height": 13, "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "cannotViewMap": false, "cannotMoveDirectly": false, "images": [], "ratio": 1, "defaultGround": "magicground2", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": { "0,5": [ { "type": "choices", "text": "\t[商人,woman]我50星币卖${core.hasItem(\"Backpack\") ?10:5}把黄钥匙。你买吗?", "choices": [ { "text": "我太需要了", "need": "status:money>=50", "action": [ { "type": "setValue", "name": "status:money", "operator": "-=", "value": "50" }, { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "5" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "5" } ] }, { "type": "hide", "remove": 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:yellowKey", "operator": "+=", "value": "5" }, { "type": "if", "condition": "core.hasItem(\"Backpack\")", "true": [ { "type": "setValue", "name": "item:yellowKey", "operator": "+=", "value": "5" } ] }, { "type": "setValue", "name": "switch:B", "value": "true" } ] }, { "text": "离开", "action": [] } ] } ], "3,0": [ { "type": "openShop", "id": "WTshop", "open": true } ] }, "changeFloor": { "6,0": { "floorId": "DP1_2", "loc": [ 6, 11 ], "direction": "up" } }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [ 21,142, 7,131, 8,142, 91,142, 0, 27,142, 31, 21], [ 32,142, 0, 0, 0, 81, 0, 81,209, 0, 81,210, 0], [221, 81, 0, 0,1001,142,201,142, 0, 28,142, 31, 21], [142,142,142,142,142,142, 0,142,142,142,142,142,142], [ 0, 21, 0,142, 0,202, 0,201, 0, 31, 0,202, 0], [122,142, 0,205, 0,142,142,142,142, 81,142,142, 0], [142,142,142,142,142,142, 0,201, 0, 31, 0,202, 0], [ 21, 31,142,209, 32,142, 0,142,142,142,142,142,142], [205,142,142, 81,142,142,201,142, 27,142, 31,142, 28], [ 0, 0, 0, 0,205, 0, 0,142,210,142,202,142,210], [142, 81,142, 81,142,142, 0, 0, 0, 0, 0, 0, 0], [ 31,202,142,209, 31,142, 0,142, 81,142,142,142, 82], [ 28, 21,142, 0, 27,142, 0,142,210, 28, 21, 32, 0] ], "bgmap": [ ], "fgmap": [ ], "bgm": "maps5A.mp3" }