main.floors.SX1_4= { "floorId": "SX1_4", "title": "水乡古镇:1-4", "name": "1-4", "width": 13, "height": 13, "canFlyTo": true, "canFlyFrom": true, "canUseQuickShop": true, "images": [], "ratio": 1, "defaultGround": "ground7", "bgm": "maps3.mp3", "firstArrive": [], "eachArrive": [], "parallelDo": "", "events": { "4,0": [ { "type": "if", "condition": "switch:A", "true": [ { "type": "if", "condition": "(!core.hasItem(\"PiercingGun\"))", "true": [ "\t[商人,woman]当你在商店加点时,你最好是提升防御力而不是攻击力。但如果完全不提升攻击力的话,之后会有你没法打败的怪物。" ], "false": [ "\t[商人,woman]当你在商店加点时,你最好是提升防御力而不是攻击力。因为拿到贯穿之铳的人不需要提升防御力来击破怪物防御" ] }, { "type": "hide", "remove": true } ], "false": [ { "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": "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: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": [] } ] } ] } ] }, "changeFloor": { "0,6": { "floorId": "SX1_3", "loc": [ 11, 6 ], "direction": "left" }, "12,6": { "floorId": "SX1_5", "loc": [ 1, 6 ], "direction": "right" } }, "beforeBattle": {}, "afterBattle": {}, "afterGetItem": {}, "afterOpenDoor": {}, "autoEvent": {}, "cannotMove": {}, "cannotMoveIn": {}, "map": [ [140, 32,140, 0,122, 0,140, 63, 0, 82, 0, 31, 0], [140, 21,140, 0, 0, 0,140, 0,140,140,140, 0,201], [140, 21,140,202,140,202,140,210, 81, 0, 81,201, 0], [140, 0,140,210,140,202,140,140,140, 0,140,140,140], [140,210,140, 0,140, 0,140, 0,210, 0, 81,202, 31], [140, 0,140, 81,140, 82,140,210,140, 0,140,140,140], [ 92, 0, 0, 0, 0, 0,217, 0,140, 0, 0, 0, 94], [140, 0,140, 81,140, 81,140, 0,140, 81,140,140,140], [140,209,140,202,140,205,140, 0,210, 0, 81,201, 0], [140, 0,140, 0,140, 21,140, 0,140,140,140,140,202], [140, 21,140,217,140, 21,140, 0, 81, 0, 0,201, 0], [140, 21,140, 0,140,201,140, 0,140,140,140,140,140], [140, 31,140, 32,140, 31,140, 0, 81,205, 31, 31, 27] ], "bgmap": [ [ 0,141, 0,141,141,141, 0,141,141,141,141,141,141], [ 0,141, 0,141,141,141, 0,141, 0, 0, 0,141,141], [ 0,141, 0,141, 0,141, 0,141,141,141,141,141,141], [ 0,141, 0,141, 0,141, 0, 0, 0,141, 0, 0, 0], [ 0,141, 0,141, 0,141, 0,141,141,141,141,141,141], [ 0,141, 0,141, 0,141, 0,141, 0,141, 0, 0, 0], [141,141,141,141,141,141,141,141, 0,141,141,141,141], [ 0,141, 0,141, 0,141, 0,141, 0,141, 0, 0, 0], [ 0,141, 0,141, 0,141, 0,141,141,141,141,141,141], [ 0,141, 0,141, 0,141, 0,141, 0, 0, 0, 0,141], [ 0,141, 0,141, 0,141, 0,141,141,141,141,141,141], [ 0,141, 0,141, 0,141, 0,141, 0, 0, 0, 0, 0], [ 0,141, 0,141, 0,141, 0,141,141,141,141,141,141] ], "fgmap": [ ] }