var maps_90f36752_8815_4be8_b32b_d7fad1d0542e = 
{
	"1": {"cls":"animates","id":"yellowWall","canBreak":true,"trigger":null,"animate":1,"doorInfo":{"time":200,"openSound":"开关门","closeSound":"开关门","keys":{}}},
	"2": {"cls":"animates","id":"fakeWall","canBreak":false,"trigger":"openDoor","animate":1,"doorInfo":{"time":200,"openSound":"开关门","closeSound":"开关门","keys":{}}},
	"3": {"cls":"animates","id":"fakeWall2","canBreak":false,"trigger":"openDoor","animate":1,"doorInfo":{"time":200,"openSound":"开关门","closeSound":"开关门","keys":{}}},
	"4": {"cls":"animates","id":"star","noPass":true},
	"5": {"cls":"animates","id":"lava","noPass":true,"doorInfo":{"time":120,"keys":{"snow:o":1}},"trigger":"openDoor"},
	"6": {"cls":"terrains","id":"ice"},
	"7": {"cls":"terrains","id":"blueShop-left"},
	"8": {"cls":"terrains","id":"blueShop-right"},
	"9": {"cls":"terrains","id":"pinkShop-left"},
	"10": {"cls":"terrains","id":"pinkShop-right"},
	"11": {"cls":"animates","id":"lavaNet","noPass":false,"trigger":"passNet"},
	"12": {"cls":"animates","id":"poisonNet","noPass":false,"trigger":"passNet"},
	"13": {"cls":"animates","id":"weakNet","noPass":false,"trigger":"passNet"},
	"14": {"cls":"animates","id":"curseNet","noPass":false,"trigger":"passNet"},
	"15": {"cls":"animates","id":"blueWater","noPass":true},
	"16": {"cls":"animates","id":"water","noPass":true},
	"20": {"cls":"autotile","id":"autotile","noPass":true},
	"21": {"cls":"items","id":"yellowKey"},
	"22": {"cls":"items","id":"blueKey"},
	"23": {"cls":"items","id":"redKey"},
	"24": {"cls":"items","id":"greenKey"},
	"25": {"cls":"items","id":"steelKey"},
	"26": {"cls":"items","id":"bigKey"},
	"27": {"cls":"items","id":"redGem"},
	"28": {"cls":"items","id":"blueGem"},
	"29": {"cls":"items","id":"greenGem"},
	"30": {"cls":"items","id":"yellowGem"},
	"31": {"cls":"items","id":"redPotion"},
	"32": {"cls":"items","id":"bluePotion"},
	"33": {"cls":"items","id":"greenPotion"},
	"34": {"cls":"items","id":"yellowPotion"},
	"35": {"cls":"items","id":"sword1"},
	"36": {"cls":"items","id":"shield1"},
	"37": {"cls":"items","id":"sword2"},
	"38": {"cls":"items","id":"shield2"},
	"39": {"cls":"items","id":"sword4"},
	"40": {"cls":"items","id":"shield4"},
	"41": {"cls":"items","id":"sword5"},
	"42": {"cls":"items","id":"shield5"},
	"43": {"cls":"items","id":"sword10"},
	"44": {"cls":"items","id":"shield10"},
	"45": {"cls":"items","id":"book"},
	"46": {"cls":"items","id":"fly"},
	"47": {"cls":"items","id":"pickaxe"},
	"48": {"cls":"items","id":"icePickaxe"},
	"49": {"cls":"items","id":"bomb"},
	"50": {"cls":"items","id":"centerFly"},
	"51": {"cls":"items","id":"upFly"},
	"52": {"cls":"items","id":"downFly"},
	"53": {"cls":"items","id":"coin"},
	"54": {"cls":"items","id":"snow"},
	"55": {"cls":"items","id":"cross"},
	"56": {"cls":"items","id":"superPotion"},
	"57": {"cls":"items","id":"earthquake"},
	"58": {"cls":"items","id":"poisonWine"},
	"59": {"cls":"items","id":"weakWine"},
	"60": {"cls":"items","id":"curseWine"},
	"61": {"cls":"items","id":"superWine"},
	"62": {"cls":"items","id":"knife"},
	"64": {"cls":"items","id":"shoes"},
	"65": {"cls":"items","id":"hammer"},
	"68": {"cls":"items","id":"lifeWand"},
	"69": {"cls":"items","id":"jumpShoes"},
	"70": {"cls":"items","id":"sword0"},
	"71": {"cls":"items","id":"shield0"},
	"72": {"cls":"items","id":"skill1"},
	"73": {"cls":"items","id":"wand"},
	"81": {"cls":"animates","id":"yellowDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":120,"openSound":"开关门","closeSound":"开关门","keys":{"yellowKey":1}},"name":"黄门"},
	"82": {"cls":"animates","id":"blueDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":120,"openSound":"开关门","closeSound":"开关门","keys":{"blueKey":1}},"name":"蓝门"},
	"83": {"cls":"animates","id":"redDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":120,"openSound":"开关门","closeSound":"开关门","keys":{"redKey":1}},"name":"红门"},
	"84": {"cls":"animates","id":"greenDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":120,"openSound":"开关门","closeSound":"开关门","keys":{"greenKey":1}},"name":"绿门"},
	"85": {"cls":"animates","id":"specialDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":120,"openSound":"开关门","closeSound":"开关门","keys":{"specialKey":1}},"name":"机关门"},
	"86": {"cls":"animates","id":"steelDoor","trigger":"openDoor","animate":1,"doorInfo":{"time":120,"openSound":"开关门","closeSound":"开关门","keys":{}},"name":"铁门"},
	"87": {"cls":"terrains","id":"upFloor","noPass":false,"script":"core.insertAction([{\n\t\"type\": \"if\",\n\t\"condition\": \"(parseInt(core.status.floorId.substring(2))==43)\",\n\t\"true\": [\n\t\t{ \"type\": \"changeFloor\", \"floorId\": \"MT45\", \"stair\": \"downFloor\" },\n\t],\n\t\"false\": [\n\t\t{ \"type\": \"changeFloor\", \"floorId\": \":next\", \"stair\": \"downFloor\" },\n\t]\n}, ])"},
	"88": {"cls":"terrains","id":"downFloor","noPass":false,"script":"core.insertAction([{\n\t\"type\": \"if\",\n\t\"condition\": \"(parseInt(core.status.floorId.substring(2))==45)\",\n\t\"true\": [\n\t\t{ \"type\": \"changeFloor\", \"floorId\": \"MT43\", \"stair\": \"upFloor\" },\n\t],\n\t\"false\": [\n\t\t{ \"type\": \"changeFloor\", \"floorId\": \":before\", \"stair\": \"upFloor\" },\n\t]\n}, ])"},
	"89": {"cls":"animates","id":"portal","noPass":false},
	"90": {"cls":"animates","id":"starPortal","noPass":false},
	"91": {"cls":"animates","id":"upPortal","noPass":false},
	"92": {"cls":"animates","id":"leftPortal","noPass":false},
	"93": {"cls":"animates","id":"downPortal","noPass":false},
	"94": {"cls":"animates","id":"rightPortal","noPass":false},
	"101": {"cls":"animates","id":"crystalUp"},
	"102": {"cls":"animates","id":"crystalBottom"},
	"103": {"cls":"animates","id":"fire","canPass":true,"script":"function isValidPosition(x, y) {\n\treturn x >= 1 && x <= 11 && y >= 1 && y <= 11;\n}\n\nfor (var direction in core.utils.scan) {\n\tvar delta = core.utils.scan[direction];\n\tvar nx = x + delta.x,\n\t\tny = y + delta.y;\n\n\tif (!isValidPosition(nx, ny)) continue;\n\n\tvar nnx = x + 2 * delta.x,\n\t\tnny = y + 2 * delta.y;\n\n\tif (core.getBlockId(nx, ny) === 'redWizard') {\n\t\tcore.removeBlock(x, y);\n\t\tlet id = core.getBlockId(nnx, nny, null, true);\n\t\tif (!isValidPosition(nnx, nny)) continue;\n\t\tif (id === \"fire\" || id === null) {\n\t\t\tcore.removeBlock(nx, ny);\n\t\t\tcore.setBlock('redWizard', nnx, nny);\n\t\t\tif (id === \"fire\") {\n\t\t\t\tif (isValidPosition(nnx + delta.x, nny + delta.y) && core.getBlock(nnx + delta.x, nny + delta.y, null, true) === null) core.setBlock('fire', nnx + delta.x, nny + delta.y);\n\t\t\t\tcore.setBlock('fire', nx, ny);\n\t\t\t}\n\n\t\t}\n\t}\n}"},
	"104": {"cls":"animates","id":"switch"},
	"121": {"cls":"npcs","id":"oldman","trigger":null,"name":"老人","event":[{"type":"function","function":"function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nlet floorId = bigMaps[floor_y][floor_x],\n\tid = parseInt(floorId.substring(2))\nflags[\"@temp@floorId\"] = \"MT\" + id\n\nlet ratio = core.status.maps[floorId].ratio\nflags[\"@temp@A\"] = ratio\n}"},{"type":"switch","condition":"temp:floorId","caseList":[{"case":"\"MT1\"","action":["\t[老人,oldman]每个房间都有一个老头",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT2\"","action":["\t[老人,oldman]哦，天呐，大人饶命，小的这就将金币如数奉上",{"type":"playSound","name":"item.mp3"},{"type":"setValue","name":"status:money","operator":"+=","value":"2000"},{"type":"tip","text":"获得2000金币"},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT3\"","action":["\t[老登,oldman]我的怪物手册、记事本、楼层传送器被某个小混蛋偷走了。我没有什么好给你的。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT4\"","action":["\t[老人,oldman]你是否发现每次对话之后你都有一种神秘的能力",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT5\"","action":["\t[老人,oldman]每个房间都有一个红宝石和一个蓝宝石",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT6\"","action":["\t[老人,oldman]这层楼的商人会贩卖蓝钥匙",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT7\"","action":["\t[老人,oldman]众所周知，高氟酸的塔都是爽塔。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT8\"","action":["\t[老人,oldman]BOSS不是必须打的",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT9\"","action":["\t[老人,oldman]铁盾附近有一个暗墙",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT11\"","action":["\t[老人,oldman]其实我本来应该站在左边那个房间的",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT12\"","action":["\t[老人,oldman]其实我是蓝宝石老人",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT13\"","action":["\t[老人,oldman]神圣剑见者有份，你得分我一半",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT14\"","action":["\t[老人,oldman]如果你觉得我挡到你的路了，我可以让路",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT15\"","action":["\t[老人,oldman]大章鱼身上藏着一把铁镐，可以破开墙壁",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT16\"","action":["\t[老人,oldman]如果你缺钥匙，可以考虑去12层购买钥匙。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT17\"","action":["\t[老人,oldman]我没有钱，你再怎么看，我也是没有钱",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT18\"","action":["\t[老人,oldman]一区四区五区都是卫兵，\n为什么二区是石头人？",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT19\"","action":["\t[老人,oldman]没想到是我在这里吧。惊不惊喜，意不意外","\t[老人,oldman]多说两句都不肯，算了算了，十字架给你",{"type":"setValue","name":"item:cross","operator":"+=","value":"1"},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT21\"","action":["\t[老人,oldman]如果你到这里的时候，拥有${core.status.hero.atk}点攻击，${core.status.hero.def}点防御，以及${Math.floor(core.status.hero.hp/10)*10 + 10}点生命。说明你的前期很成功。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT22\"","action":["\t[老人,oldman]跳跃靴可以跳到前面2格的位置，偷鸡很好用",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT23\"","action":["\t[老人,oldman]铁怪的防御很高，不加攻击，你打不过铁怪",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT24\"","action":["\t[老人,oldman]我时常在想，地球表面有71%的海洋和29%的陆地\n那还有29%的海洋和71%的陆地到哪了？",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT25\"","action":["\t[老人,oldman]我是大法师的侍从\n大法师是魔塔的主人",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT26\"","action":["\t[老人,oldman]公主已经变成魔女了\n这里已经没有公主了",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT27\"","action":["\t[老人,oldman]这里藏着一把红钥匙",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT28\"","action":["\t[老人,oldman]说不出话了，催更一下大化术士的神圣智慧迷锁地下篇",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT29\"","action":["\t[老人,oldman]衬衫的价格是九磅十五便士",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT31\"","action":["\t[老人,oldman]双手剑士的攻击力太高了，\n你最好到能防杀他的时候再与他战斗。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT32\"","action":["\t[老人,oldman]雨停了，天晴了，骑士队长觉得他又行了",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT33\"","action":["\t[老人,oldman]藏着剑的房间里面有一个陷阱",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT34\"","action":["\t[老人,oldman]我当年年轻的时候也是这里一个红骑士，就没有我不知道的暗道",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT35\"","action":["\t[老人,oldman]魔龙实在太强了，你最好等到有屠龙匕的时候再和它战斗",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT36\"","action":["\t[老人,oldman]人言魔王足智多谋，我看到底是无能之辈。\n若在暗墙埋伏一军，勇者皆束手受缚矣。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT37\"","action":["\t[老人,oldman]你需要用地震卷轴才能取走这里的所有宝物，",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT38\"","action":["\t[老人,oldman]你需要用地震卷轴才能取走这里的所有宝物，",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT39\"","action":["\t[老人,oldman]谜题 在6点 拥有传送功能的密宝 就会出现。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT41\"","action":["\t[老人,oldman]这里实际上是左右对称的",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT42\"","action":["\t[老人,oldman]魔法警卫会对中间路过的敌人造成50%最大生命值的伤害",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT43\"","action":["\t[老人,oldman]神圣盾能防御魔法攻击",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT44\"","action":["\t[老人,oldman]我打高级卫兵？\n真的假的？",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT45\"","action":["\t[老人,oldman]神圣水晶可以让你获得的生命值增加50%",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT46\"","action":["\t[老人,oldman]大黄门钥匙可以开周围13*13的黄门",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT47\"","action":["\t[老人,oldman]地震卷轴可以破坏周围13*13的墙壁",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT48\"","action":["\t[老人,oldman]我偷偷告诉你，圣剑钥匙在魔法警卫身上，你不要告诉别人。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT10\"","action":[{"type":"switch","condition":"temp:A","caseList":[{"case":"1","action":["\t[老人,oldman]这里本来有2个福袋和2个红血瓶的，但是现在没有了"]},{"case":"2","action":["\t[老人,oldman]不要看里面只是8只弱小的蝙蝠，它们一旦合体，就会变成一只强大的吸血鬼"]},{"case":"3","action":["\t[老人,oldman]堕落仙子的房间里隐藏着未知的陷阱"]},{"case":"4","action":["\t[老人,oldman]飞行器可以飞到任意一个指定的地点"]},{"case":"5","action":["\t[老人,oldman]魔王是个骗子，他说他不会让手下一拥而上，然而他每次都会在旁边召唤8个魔法警卫。"]},{"case":"default","action":[]}]},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT20\"","action":[{"type":"switch","condition":"temp:A","caseList":[{"case":"1","action":["\t[老人,oldman]这里本来有2个福袋和2个红血瓶的，但是现在没有了"]},{"case":"2","action":["\t[老人,oldman]不要看里面只是8只弱小的蝙蝠，它们一旦合体，就会变成一只强大的吸血鬼"]},{"case":"3","action":["\t[老人,oldman]堕落仙子的房间里隐藏着未知的陷阱"]},{"case":"4","action":["\t[老人,oldman]飞行器可以飞到任意一个指定的地点"]},{"case":"5","action":["\t[老人,oldman]魔王是个骗子，他说他不会让手下一拥而上，然而他每次都会在旁边召唤8个魔法警卫。"]},{"case":"default","action":[]}]},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT30\"","action":[{"type":"switch","condition":"temp:A","caseList":[{"case":"1","action":["\t[老人,oldman]这里本来有2个福袋和2个红血瓶的，但是现在没有了"]},{"case":"2","action":["\t[老人,oldman]不要看里面只是8只弱小的蝙蝠，它们一旦合体，就会变成一只强大的吸血鬼"]},{"case":"3","action":["\t[老人,oldman]堕落仙子的房间里隐藏着未知的陷阱"]},{"case":"4","action":["\t[老人,oldman]飞行器可以飞到任意一个指定的地点"]},{"case":"5","action":["\t[老人,oldman]魔王是个骗子，他说他不会让手下一拥而上，然而他每次都会在旁边召唤8个魔法警卫。"]},{"case":"default","action":[]}]},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT40\"","action":[{"type":"switch","condition":"temp:A","caseList":[{"case":"1","action":["\t[老人,oldman]这里本来有2个福袋和2个红血瓶的，但是现在没有了"]},{"case":"2","action":["\t[老人,oldman]不要看里面只是8只弱小的蝙蝠，它们一旦合体，就会变成一只强大的吸血鬼"]},{"case":"3","action":["\t[老人,oldman]堕落仙子的房间里隐藏着未知的陷阱"]},{"case":"4","action":["\t[老人,oldman]飞行器可以飞到任意一个指定的地点"]},{"case":"5","action":["\t[老人,oldman]魔王是个骗子，他说他不会让手下一拥而上，然而他每次都会在旁边召唤8个魔法警卫。"]},{"case":"default","action":[]}]},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT49\"","action":[{"type":"switch","condition":"temp:A","caseList":[{"case":"1","action":["\t[老人,oldman]这里本来有2个福袋和2个红血瓶的，但是现在没有了"]},{"case":"2","action":["\t[老人,oldman]不要看里面只是8只弱小的蝙蝠，它们一旦合体，就会变成一只强大的吸血鬼"]},{"case":"3","action":["\t[老人,oldman]堕落仙子的房间里隐藏着未知的陷阱"]},{"case":"4","action":["\t[老人,oldman]飞行器可以飞到任意一个指定的地点"]},{"case":"5","action":["\t[老人,oldman]魔王是个骗子，他说他不会让手下一拥而上，然而他每次都会在旁边召唤8个魔法警卫。"]},{"case":"default","action":[]}]},{"type":"setBlock","number":"0","time":500}]},{"case":"default","action":["\t[老人,oldman]这层楼不是原版有老人的楼层，所以我也没话说。",{"type":"setBlock","number":"0","time":500}]}]},{"type":"setValue","name":"flag:对话能量","value":"2"}]},
	"122": {"cls":"npcs","id":"trader","trigger":null,"name":"商人","event":[{"type":"function","function":"function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nlet floorId = bigMaps[floor_y][floor_x],\n\tid = parseInt(floorId.substring(2))\nflags[\"@temp@floorId\"] = \"MT\" + id\nlet ratio = core.status.maps[floorId].ratio\nflags[\"@temp@A\"] = ratio\n}"},{"type":"setValue","name":"temp:priceYellowKey","value":"20"},{"type":"setValue","name":"temp:priceBlueKey","value":"100"},{"type":"setValue","name":"temp:priceRedKey","value":"200"},{"type":"switch","condition":"temp:floorId","caseList":[{"case":"\"MT2\"","action":[{"type":"choices","text":"\t[商人,trader]谢谢你救了我 我可以帮你提升3%的攻击和防御","choices":[{"text":"现在提升","action":[{"type":"playSound","name":"item.mp3"},{"type":"setValue","name":"status:atk","operator":"*=","value":"1.03"},{"type":"setValue","name":"status:def","operator":"*=","value":"1.03"},{"type":"setBlock","number":"0","time":500}]},{"text":"等会再说","action":[]}]}]},{"case":"\"MT6\"","action":[{"type":"choices","text":"\t[商人,trader]我有一把蓝钥匙， 你出${temp:priceBlueKey * temp:A }金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money>=temp:priceBlueKey * temp:A","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceBlueKey * temp:A"},{"type":"setValue","name":"item:blueKey","operator":"+=","value":"1"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT7\"","action":[{"type":"choices","text":"\t[商人,trader]我有五把黄钥匙， 你出${temp:priceYellowKey * temp:A  * 5}金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money>=temp:priceYellowKey * temp:A  * 5","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceYellowKey * temp:A  * 5"},{"type":"setValue","name":"item:yellowKey","operator":"+=","value":"5"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT12\"","action":[{"type":"choices","text":"\t[商人,trader]我有一把红钥匙， 你出${400 + temp:priceRedKey * temp:A }金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money>=400 + temp:priceRedKey * temp:A","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"400 + temp:priceRedKey * temp:A"},{"type":"setValue","name":"item:redKey","operator":"+=","value":"1"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT15\"","action":[{"type":"choices","text":"\t[商人,trader]我有一把蓝钥匙， 你出${temp:priceBlueKey * temp:A }金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money >= temp:priceBlueKey * temp:A","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceBlueKey * temp:A"},{"type":"setValue","name":"item:blueKey","operator":"+=","value":"1"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT22\"","action":[{"type":"choices","text":"\t[商人,trader]我有一个跳跃靴， 你出${150 + 50 * temp:A }金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money >= 150 + 50 * temp:A","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"150 + 50 * temp:A"},{"type":"setValue","name":"item:jumpShoes","operator":"+=","value":"1"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT26\"","action":[{"type":"choices","text":"\t[商人,trader]我有四把黄钥匙，你出${temp:priceYellowKey * temp:A  * 4}金币就卖给你","choices":[{"text":"我太需要了","need":"status:money >= temp:priceYellowKey * temp:A  * 4","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceYellowKey * temp:A  * 4"},{"type":"setValue","name":"item:yellowKey","operator":"+=","value":"4"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT31\"","action":[{"type":"choices","text":"\t[商人,trader]我有一把蓝钥匙, 四把黄钥匙， 你出${temp:priceBlueKey * temp:A + temp:priceYellowKey * temp:A  * 4}金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money>=temp:priceBlueKey * temp:A + temp:priceYellowKey * temp:A  * 4","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceBlueKey * temp:A + temp:priceYellowKey * temp:A  * 4"},{"type":"setValue","name":"item:blueKey","operator":"+=","value":"1"},{"type":"setValue","name":"item:yellowKey","operator":"+=","value":"4"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT38\"","action":[{"type":"choices","text":"\t[商人,trader]大甩卖! 三把黄钥匙只要${temp:priceYellowKey * temp:A  * 3}金币, 先到先得!","choices":[{"text":"我太需要了","need":"status:money>=temp:priceYellowKey * temp:A  * 3","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceYellowKey * temp:A  * 3"},{"type":"setValue","name":"item:yellowKey","operator":"+=","value":"3"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT39\"","action":[{"type":"choices","text":"\t[商人,trader]我有三把蓝钥匙，你出${temp:priceBlueKey * temp:A  * 3}金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money>=temp:priceBlueKey * temp:A  * 3","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"temp:priceBlueKey * temp:A  * 3"},{"type":"setValue","name":"item:blueKey","operator":"+=","value":"3"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT45\"","action":[{"type":"choices","text":"\t[商人,woman]你出${200* temp:A }金币, 我就帮你回复${400* temp:A }点生命值。","choices":[{"text":"我太需要了","need":"status:money>= 200* temp:A","action":[{"type":"playSound","name":"item.mp3"},{"type":"setValue","name":"status:money","operator":"-=","value":"200* temp:A"},{"type":"setValue","name":"status:hp","operator":"+=","value":"400* temp:A * Math.pow(1.5, core.itemCount('crystal'))"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"\"MT47\"","action":[{"type":"choices","text":"\t[商人,woman]我有地震卷轴，你出${800* temp:A }金币就卖给你。","choices":[{"text":"我太需要了","need":"status:money>=800* temp:A ","action":[{"type":"setValue","name":"status:money","operator":"-=","value":"800* temp:A "},{"type":"setValue","name":"item:earthquake","operator":"+=","value":"1"},{"type":"setBlock","number":"specialTrader","time":0}]},{"text":"下次再说","action":[]}]}]},{"case":"default","action":["\t[商人,woman]别问了，这里没有商人",{"type":"setBlock","number":"0","time":500}]}]}]},
	"123": {"cls":"npcs","id":"thief","name":"小偷","event":[{"type":"switch","condition":"core.status.floorId","caseList":[{"case":"\"MT2\"","action":["\t[小偷,thief]我打35层的魔龙？真的假的？",{"type":"setBlock","number":"3","loc":[[4,10]],"floorId":"MT35"},{"type":"setBlock","number":"123","loc":[[5,10]],"floorId":"MT35","time":0},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT15\"","action":["\t[小偷,thief]其实这道墙本来就是暗墙，我只是假装把它给挖开了",{"type":"animate","name":"hand","loc":[8,1],"async":true},{"type":"openDoor","loc":[8,1]},{"type":"setBlock","number":"123","loc":[[6,2]],"floorId":"MT29","time":0},{"type":"move","loc":[9,1],"time":200,"steps":["left:3"]}]},{"case":"\"MT29\"","action":["\t[小偷,thief]其实挖暗道很简单的。只要把炸弹往墙上一贴。\n引信点燃，轰的一下，暗道就打开了。",{"type":"animate","name":"hand","loc":[6,3],"async":true},{"type":"openDoor","loc":[6,3]},{"type":"setBlock","number":"123","loc":[[11,11]],"floorId":"MT2","time":0},{"type":"move","loc":[6,2],"time":200,"steps":["down:9"]}]},{"case":"\"MT35\"","action":["\t[小偷,thief]这个魔龙还会关门，所以我在这里挖了一个暗道，我们从这里绕路吧。",{"type":"animate","name":"hand","loc":[4,10],"async":true},{"type":"openDoor","loc":[4,10]},{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT50\"","action":[{"type":"setValue","name":"flag:与50层小偷对话","value":"true"},{"type":"playBgm","name":"LastFight.mp3"},"\t[hero]你怎会在这里！你到底是谁？","\t[小偷,thief]我在这里只有一个理由，那就是…",{"type":"setBlock","number":"334","time":500},{"type":"show","time":500},"\t[hero]啊！你就是魔王！你怎么还活着？","\t[redKing]我是不会死的...","\t[hero]算了，你的话实在太多了，跳过跳过，下一步","\t[redKing]那我们开始战斗吧"]},{"case":"default","action":["\t[小偷,thief]别问了，这里没有小偷",{"type":"setBlock","number":"0","time":500}]}]},{"type":"waitAsync"}]},
	"124": {"cls":"npcs","id":"specialTrader","name":"商人","event":[{"type":"function","function":"function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nlet floorId = bigMaps[floor_y][floor_x],\n\tid = parseInt(floorId.substring(2))\nflags[\"@temp@floorId\"] = \"MT\" + id\n}"},{"type":"switch","condition":"temp:floorId","caseList":[{"case":"\"MT6\"","action":["\t[商人,specialTrader]骷髅队长前面有个陷阱，你踏进去会被包围",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT7\"","action":["\t[商人,specialTrader]这里有好几个暗道，你发现了吗",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT12\"","action":["\t[商人,specialTrader]当你的属性和小于怪物时，我建议你加攻\n当你的属性和大于怪物时，我建议你加防",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT15\"","action":["\t[商人,specialTrader]十字架对丧尸和吸血鬼能造成双倍攻击",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT22\"","action":["\t[商人,specialTrader]因为平面塔的原因，上楼器和下楼器都没有了",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT26\"","action":["\t[商人,specialTrader]听说有一个钥匙回收商人，回收三色钥匙",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT31\"","action":["\t[商人,specialTrader]既然你买了我的钥匙 那我就告诉你一个秘密。\n骑士队长实力又菜又爱吹牛。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT38\"","action":["\t[商人,specialTrader]如果你从正门攻打骑士队长，会遇到先攻",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT39\"","action":["\t[商人,specialTrader]大章鱼和魔龙攻击头部可以一击必杀。",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT45\"","action":["\t[商人,specialTrader]生命水晶对所有相关的地方都能生效",{"type":"setBlock","number":"0","time":500}]},{"case":"\"MT47\"","action":["\t[商人,specialTrader]你最好记住，\n像骰子上5一样的形状是一种封印魔法，\n它在与魔王战斗时可能有用。",{"type":"setBlock","number":"0","time":500}]},{"case":"default","action":["\t[商人,specialTrader]别问了，这里没有商人",{"type":"setBlock","number":"0","time":500}]}]},{"type":"setValue","name":"flag:对话能量","value":"2"}]},
	"125": {"cls":"npcs","id":"magician"},
	"126": {"cls":"npcs","id":"womanMagician"},
	"127": {"cls":"npcs","id":"king","name":"作者"},
	"128": {"cls":"npcs","id":"child"},
	"129": {"cls":"npcs","id":"wood"},
	"130": {"cls":"npcs","id":"pinkShop"},
	"131": {"cls":"npcs","id":"blueShop","event":[{"type":"function","function":"function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\nlet floorId = bigMaps[floor_y][floor_x]\nlet ratio = core.status.maps[floorId].ratio\nflags[\"@temp@A\"] = ratio\n}"},{"type":"if","condition":"(flag:商店级别<temp:A)","true":[{"type":"setValue","name":"flag:商店级别","value":"temp:A"}]},{"type":"openShop","id":"shop","open":true}]},
	"132": {"cls":"npcs","id":"princess","name":"","event":["\t[公主手办,princess]时间到了 你已被命运选中 如果你不怕死亡 你最终将通过时空来到我这里","\t[hero]好精美的公主手办，现在归我了。",{"type":"setValue","name":"flag:营救公主","value":"true"},{"type":"setBlock","number":"yellowWall","loc":[[5,1]],"floorId":"MT24"},{"type":"setBlock","number":"yellowWall","loc":[[7,1]],"floorId":"MT24"},{"type":"setBlock","number":"0","loc":[[6,2]],"floorId":"MT24"},{"type":"setBlock","number":"0","loc":[[6,3]],"floorId":"MT24"},{"type":"setBlock","number":"0","loc":[[6,4]],"floorId":"MT24"},{"type":"show","loc":[[6,2]],"floorId":"MT24","time":0},{"type":"setBlock","number":"0","time":500},{"type":"playBgm","name":"truth.mp3","keep":true}]},
	"133": {"cls":"npc48","id":"npc0"},
	"134": {"cls":"npc48","id":"npc1"},
	"135": {"cls":"npc48","id":"npc2","faceIds":{"down":"npc2","left":"npc3","right":"npc4","up":"N340"}},
	"136": {"cls":"npc48","id":"npc3","faceIds":{"down":"npc2","left":"npc3","right":"npc4","up":"N340"}},
	"137": {"cls":"npc48","id":"npc4","faceIds":{"down":"npc2","left":"npc3","right":"npc4","up":"N340"}},
	"151": {"cls":"autotile","id":"autotile1","noPass":true},
	"152": {"cls":"autotile","id":"autotile2","noPass":true},
	"153": {"cls":"autotile","id":"autotile3","noPass":true},
	"161": {"cls":"terrains","id":"arrowUp","noPass":false,"cannotOut":["left","right","down"],"cannotIn":["up"]},
	"162": {"cls":"terrains","id":"arrowDown","noPass":false,"cannotOut":["left","right","up"],"cannotIn":["down"]},
	"163": {"cls":"terrains","id":"arrowLeft","noPass":false,"cannotOut":["up","down","right"],"cannotIn":["left"]},
	"164": {"cls":"terrains","id":"arrowRight","noPass":false,"cannotOut":["up","down","left"],"cannotIn":["right"]},
	"165": {"cls":"terrains","id":"light","trigger":null,"noPass":false,"outEvent":[{"type":"setBlock","number":"darkLight"}]},
	"166": {"cls":"terrains","id":"darkLight","noPass":false,"script":"let x = core.status.hero.loc.x,\n\ty = core.status.hero.loc.y;\nlet floor_x = Math.floor(x / 12),\n\tfloor_y = Math.floor(y / 12);\nlet bigMaps = flags.bigMaps.grid\nlet floorId = bigMaps[floor_y][floor_x],\n\ttodo = [];\nif (floorId != null) {\n\tcore.push(todo, core.floors[floorId].events[(x - floor_x * 12) + \",\" + (y - floor_y * 12)]);\n}\n\n// 如果事件不为空，将其插入\nif (todo.length > 0) core.insertAction(todo, x, y);","canPass":true},
	"167": {"cls":"terrains","id":"ski","trigger":"ski","noPass":false},
	"168": {"cls":"terrains","id":"flower","noPass":true,"canPass":true,"event":[{"type":"switch","condition":"core.status.floorId","caseList":[{"case":"'MT33'","action":[{"type":"if","condition":"(status:direction==='right')","true":[{"type":"moveHero","steps":["right:1"]}],"false":[{"type":"playSound","name":"开关门"},{"type":"hide","loc":[[8,10]],"remove":true,"destruct":true},{"type":"closeDoor","id":"yellowWall","loc":[8,10]}]}]},{"case":"'MT38'","action":[{"type":"if","condition":"(status:direction==='down')","true":[{"type":"moveHero","steps":["down:1"]}],"false":[{"type":"playSound","name":"开关门"},{"type":"hide","loc":[[2,5]],"remove":true,"destruct":true},{"type":"closeDoor","id":"yellowWall","loc":[2,5]}]}]}]}],"outEvent":[{"type":"hide","remove":true,"destruct":true},{"type":"closeDoor","id":"yellowWall"}]},
	"169": {"cls":"terrains","id":"box","trigger":"pushBox","noPass":true},
	"170": {"cls":"terrains","id":"boxed","trigger":"pushBox","noPass":true},
	"181": {"cls":"npcs","id":"wlt","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x+1","core.status.event.data.y+2"]}]},
	"182": {"cls":"npcs","id":"wt","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x","core.status.event.data.y+2"]}]},
	"183": {"cls":"npcs","id":"wrt","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x-1","core.status.event.data.y+2"]}]},
	"184": {"cls":"npcs","id":"wl","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x+1","core.status.event.data.y+1"]}]},
	"185": {"cls":"npcs","id":"wc","event":[{"type":"battle","loc":["core.status.event.data.x","core.status.event.data.y+1"]}]},
	"186": {"cls":"npcs","id":"wr","event":[{"type":"battle","loc":["core.status.event.data.x-1","core.status.event.data.y+1"]}]},
	"187": {"cls":"npcs","id":"wlb","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x+1","core.status.event.data.y"]}]},
	"188": {"cls":"npcs","id":"wrb","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x-1","core.status.event.data.y"]}]},
	"189": {"cls":"npcs","id":"dlt","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x+1","core.status.event.data.y+2"]}]},
	"190": {"cls":"npcs","id":"dt","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x","core.status.event.data.y+2"]}]},
	"191": {"cls":"npcs","id":"drt","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x-1","core.status.event.data.y+2"]}]},
	"192": {"cls":"npcs","id":"dl","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x+1","core.status.event.data.y+1"]}]},
	"193": {"cls":"npcs","id":"dc","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x","core.status.event.data.y+1"]}]},
	"194": {"cls":"npcs","id":"dr","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x-1","core.status.event.data.y+1"]}]},
	"195": {"cls":"npcs","id":"dlb","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x+1","core.status.event.data.y"]}]},
	"196": {"cls":"npcs","id":"drb","event":[{"type":"function","function":"function(){\nif (core.status.event.id) core.autosave(true)\n}"},{"type":"battle","loc":["core.status.event.data.x-1","core.status.event.data.y"]}]},
	"201": {"cls":"enemys","id":"greenSlime"},
	"202": {"cls":"enemys","id":"redSlime"},
	"203": {"cls":"enemys","id":"blackSlime"},
	"204": {"cls":"enemys","id":"slimelord"},
	"205": {"cls":"enemys","id":"bat"},
	"206": {"cls":"enemys","id":"bigBat"},
	"207": {"cls":"enemys","id":"redBat"},
	"208": {"cls":"enemys","id":"vampire"},
	"209": {"cls":"enemys","id":"skeleton"},
	"210": {"cls":"enemys","id":"skeletonSoldier"},
	"211": {"cls":"enemys","id":"skeletonCaptain"},
	"212": {"cls":"enemys","id":"ghostSkeleton"},
	"213": {"cls":"enemys","id":"zombie"},
	"214": {"cls":"enemys","id":"zombieKnight"},
	"215": {"cls":"enemys","id":"rock"},
	"216": {"cls":"enemys","id":"slimeMan"},
	"217": {"cls":"enemys","id":"bluePriest"},
	"218": {"cls":"enemys","id":"redPriest"},
	"219": {"cls":"enemys","id":"brownWizard"},
	"220": {"cls":"enemys","id":"redWizard"},
	"221": {"cls":"enemys","id":"yellowGuard"},
	"222": {"cls":"enemys","id":"blueGuard"},
	"223": {"cls":"enemys","id":"redGuard"},
	"224": {"cls":"enemys","id":"swordsman"},
	"225": {"cls":"enemys","id":"soldier"},
	"226": {"cls":"enemys","id":"yellowKnight"},
	"227": {"cls":"enemys","id":"redKnight"},
	"228": {"cls":"enemys","id":"darkKnight"},
	"229": {"cls":"enemys","id":"blackKing"},
	"230": {"cls":"enemys","id":"yellowKing"},
	"231": {"cls":"enemys","id":"greenKing"},
	"232": {"cls":"enemys","id":"blueKnight"},
	"233": {"cls":"enemys","id":"slimieSoldier"},
	"234": {"cls":"enemys","id":"poisonSkeleton"},
	"235": {"cls":"enemys","id":"poisonBat"},
	"236": {"cls":"enemys","id":"steelRock"},
	"237": {"cls":"enemys","id":"skeletonPriest"},
	"238": {"cls":"enemys","id":"skeletonKing"},
	"239": {"cls":"enemys","id":"skeletonWizard"},
	"240": {"cls":"enemys","id":"redSkeletonCaption"},
	"241": {"cls":"enemys","id":"badHero"},
	"242": {"cls":"enemys","id":"demon"},
	"243": {"cls":"enemys","id":"demonPriest"},
	"244": {"cls":"enemys","id":"goldHornSlime"},
	"245": {"cls":"enemys","id":"redKing"},
	"246": {"cls":"enemys","id":"whiteKing"},
	"247": {"cls":"enemys","id":"blackMagician"},
	"248": {"cls":"enemys","id":"silverSlime"},
	"249": {"cls":"enemys","id":"swordEmperor"},
	"250": {"cls":"enemys","id":"darkBeliever"},
	"251": {"cls":"enemys","id":"badPrincess"},
	"252": {"cls":"enemys","id":"badFairy"},
	"253": {"cls":"enemys","id":"grayPriest"},
	"254": {"cls":"enemys","id":"redSwordsman"},
	"255": {"cls":"enemys","id":"whiteGhost"},
	"256": {"cls":"enemys","id":"poisonZombie"},
	"257": {"cls":"enemys","id":"magicDragon"},
	"258": {"cls":"enemys","id":"octopus"},
	"259": {"cls":"enemys","id":"darkFairy"},
	"260": {"cls":"enemys","id":"greenKnight"},
	"261": {"cls":"enemy48","id":"angel"},
	"262": {"cls":"enemy48","id":"elemental"},
	"263": {"cls":"enemy48","id":"steelGuard"},
	"264": {"cls":"enemy48","id":"evilBat"},
	"300": {"cls":"items","id":"I300"},
	"301": {"cls":"items","id":"I301"},
	"302": {"cls":"items","id":"I302"},
	"303": {"cls":"items","id":"I303"},
	"304": {"cls":"items","id":"I304"},
	"305": {"cls":"items","id":"I305"},
	"306": {"cls":"items","id":"I306"},
	"307": {"cls":"items","id":"I307"},
	"308": {"cls":"items","id":"I308"},
	"309": {"cls":"items","id":"I309"},
	"310": {"cls":"items","id":"I310"},
	"311": {"cls":"terrains","id":"ground"},
	"312": {"cls":"terrains","id":"grass"},
	"313": {"cls":"terrains","id":"grass2"},
	"314": {"cls":"terrains","id":"snowGround"},
	"315": {"cls":"terrains","id":"ground2"},
	"316": {"cls":"terrains","id":"ground3"},
	"317": {"cls":"terrains","id":"ground4"},
	"318": {"cls":"terrains","id":"sand"},
	"319": {"cls":"terrains","id":"ground5"},
	"320": {"cls":"terrains","id":"yellowWall2"},
	"321": {"cls":"terrains","id":"whiteWall2","canBreak":false,"doorInfo":null},
	"322": {"cls":"terrains","id":"blueWall2"},
	"323": {"cls":"terrains","id":"blockWall"},
	"324": {"cls":"terrains","id":"grayWall"},
	"325": {"cls":"terrains","id":"white"},
	"326": {"cls":"terrains","id":"ground6"},
	"327": {"cls":"terrains","id":"soil"},
	"328": {"cls":"terrains","id":"ground7"},
	"329": {"cls":"terrains","id":"ground8"},
	"330": {"cls":"animates","id":"unbreakableWall","noPass":"true","animate":1,"doorInfo":{"time":200,"openSound":"开关门","closeSound":"开关门","keys":{}},"event":[{"type":"function","function":"function(){\nlet floor_x = Math.floor(core.status.hero.loc.x / 12),\n\tfloor_y = Math.floor(core.status.hero.loc.y / 12);\nlet bigMaps = flags.bigMaps.grid\n\nlet f_x = floor_x * 12,\n\tf_y = floor_y * 12\nflags[\"@temp@floor_x\"] = f_x;\nflags[\"@temp@floor_y\"] = f_y;\n\nlet bool = core.getBlockCls(f_x + 2, f_y + 2) !== \"enemys\"\nflags[\"@temp@open_yes\"] = bool\n\nlet floorId = bigMaps[floor_y][floor_x]\nlet ratio = core.status.maps[floorId].ratio\nflags[\"@temp@A\"] = ratio\n}"},{"type":"if","condition":"temp:open_yes","true":[{"type":"playSound","name":"door.mp3"},{"type":"openDoor","loc":["temp:floor_x + 10","temp:floor_y + 2"]},{"type":"switch","condition":"temp:A","caseList":[{"case":"1","action":[{"type":"setBlock","number":"221","loc":["temp:floor_x + 10","temp:floor_y + 2"]}]},{"case":"2","action":[{"type":"setBlock","number":"215","loc":["temp:floor_x + 10","temp:floor_y + 2"]}]},{"case":"3","action":[{"type":"setBlock","number":"236","loc":["temp:floor_x + 10","temp:floor_y + 2"]}]},{"case":"4","action":[{"type":"setBlock","number":"222","loc":["temp:floor_x + 10","temp:floor_y + 2"]}]},{"case":"5","action":[{"type":"setBlock","number":"220","loc":["temp:floor_x + 10","temp:floor_y + 2"]}]},{"case":"default","action":[{"type":"setBlock","number":"332","loc":["temp:floor_x + 10","temp:floor_y + 2"]}]}]},{"type":"sleep","time":200}]}],"script":null},
	"331": {"cls":"items","id":"centerFly3"},
	"332": {"cls":"enemys","id":"redWizardRepulse"},
	"333": {"cls":"items","id":"I333"},
	"334": {"cls":"enemys","id":"redKing2"},
	"335": {"cls":"enemys","id":"redKing3"},
	"336": {"cls":"npcs","id":"N336","name":"12层钥匙商人","event":[{"type":"openShop","id":"shopKey1","open":true}]},
	"337": {"cls":"npcs","id":"N337","name":"28层钥匙商人","event":[{"type":"openShop","id":"shopKey2","open":true}]},
	"338": {"cls":"npcs","id":"N338","event":["\t[老人,oldman]很好，你居然找到了我。作为奖励我将给你一瓶圣水。\n圣水可以获得10倍攻击+5倍防御的生命。",{"type":"setValue","name":"item:superPotion","operator":"+=","value":"1"},{"type":"setBlock","number":"0","time":500}]},
	"339": {"cls":"items","id":"moneyPocket1"},
	"340": {"cls":"npc48","id":"N340","faceIds":{"down":"N340","left":"N340","right":"N340","up":"N340"}},
	"341": {"cls":"items","id":"redGem1"},
	"342": {"cls":"items","id":"redGem2"},
	"343": {"cls":"items","id":"redGem3"},
	"344": {"cls":"items","id":"redGem4"},
	"345": {"cls":"items","id":"redGem5"},
	"346": {"cls":"items","id":"blueGem1"},
	"347": {"cls":"items","id":"blueGem2"},
	"348": {"cls":"items","id":"blueGem3"},
	"349": {"cls":"items","id":"blueGem4"},
	"350": {"cls":"items","id":"blueGem5"},
	"351": {"cls":"items","id":"yellowGem1"},
	"352": {"cls":"items","id":"yellowGem2"},
	"353": {"cls":"items","id":"yellowGem3"},
	"354": {"cls":"items","id":"yellowGem4"},
	"355": {"cls":"items","id":"yellowGem5"},
	"356": {"cls":"items","id":"redPotion1"},
	"357": {"cls":"items","id":"redPotion2"},
	"358": {"cls":"items","id":"redPotion3"},
	"359": {"cls":"items","id":"redPotion4"},
	"360": {"cls":"items","id":"redPotion5"},
	"361": {"cls":"items","id":"bluePotion1"},
	"362": {"cls":"items","id":"bluePotion2"},
	"363": {"cls":"items","id":"bluePotion3"},
	"364": {"cls":"items","id":"bluePotion4"},
	"365": {"cls":"items","id":"bluePotion5"},
	"366": {"cls":"items","id":"greenPotion1"},
	"367": {"cls":"items","id":"greenPotion2"},
	"368": {"cls":"items","id":"greenPotion3"},
	"369": {"cls":"items","id":"greenPotion4"},
	"370": {"cls":"items","id":"greenPotion5"},
	"371": {"cls":"items","id":"moneyPocket2"},
	"372": {"cls":"items","id":"moneyPocket3"},
	"373": {"cls":"items","id":"moneyPocket4"},
	"374": {"cls":"items","id":"moneyPocket5"},
	"375": {"cls":"items","id":"sword3"},
	"376": {"cls":"items","id":"shield3"},
	"377": {"cls":"items","id":"crystal"},
	"378": {"cls":"terrains","id":"T378","canBreak":true,"doorInfo":{"time":160,"openSound":"door.mp3","closeSound":"door.mp3","keys":{}},"trigger":null,"animate":null}
}