items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"items": {
		"500": {
			"cls": "items",
			"name": "新物品"
		},
		"501": {
			"cls": "items",
			"name": "新物品"
		},
		"502": {
			"cls": "items",
			"name": "新物品"
		},
		"503": {
			"cls": "items",
			"name": "黄宝石"
		},
		"505": {
			"cls": "items",
			"name": "新物品"
		},
		"506": {
			"cls": "items",
			"name": "新物品"
		},
		"507": {
			"cls": "items",
			"name": "新物品"
		},
		"508": {
			"cls": "tools",
			"name": "黄宝石",
			"text": "可以进行加点"
		},
		"700": {
			"cls": "constants",
			"name": "快捷商店1",
			"text": "必须买到不能继续为止才能离开。"
		},
		"701": {
			"cls": "constants",
			"name": "快捷商店2",
			"text": "必须买到不能继续为止才能离开。"
		},
		"wand1": {
			"cls": "constants",
			"name": "红杖",
			"text": "装饰品：-15攻-15防500魔防"
		},
		"wand2": {
			"cls": "constants",
			"name": "青杖",
			"text": "装饰品：-15攻35防125魔防"
		},
		"wand3": {
			"cls": "constants",
			"name": "黄杖",
			"text": "装饰品：35攻-25防-25魔防"
		},
		"ring1": {
			"cls": "constants",
			"name": "戒指",
			"text": "戒指：2攻2防250魔防"
		},
		"ring0": {
			"cls": "constants",
			"name": "空戒指",
			"text": "没有任何作用的戒指，相当于脱掉"
		},
		"wand0": {
			"cls": "constants",
			"name": "空杖",
			"text": "没有任何作用的装饰品，相当于脱掉"
		},
		"yellowKey": {
			"cls": "keys",
			"name": "黄钥匙"
		},
		"blueKey": {
			"cls": "keys",
			"name": "蓝钥匙"
		},
		"redKey": {
			"cls": "keys",
			"name": "红钥匙"
		},
		"redJewel": {
			"cls": "items",
			"name": "红宝石"
		},
		"blueJewel": {
			"cls": "items",
			"name": "蓝宝石"
		},
		"greenJewel": {
			"cls": "items",
			"name": "绿宝石"
		},
		"yellowJewel": {
			"cls": "items",
			"name": "黄宝石"
		},
		"redPotion": {
			"cls": "items",
			"name": "红血瓶"
		},
		"bluePotion": {
			"cls": "items",
			"name": "蓝血瓶"
		},
		"yellowPotion": {
			"cls": "items",
			"name": "黄血瓶"
		},
		"greenPotion": {
			"cls": "items",
			"name": "绿血瓶"
		},
		"sword1": {
			"cls": "constants",
			"name": "见见的棒棒糖",
			"text": "攻击力+7，防御-3，魔防+50"
		},
		"sword2": {
			"cls": "constants",
			"name": "小艾的锤子",
			"text": "+18G - 8F -80MF"
		},
		"sword3": {
			"cls": "constants",
			"name": "骑士剑",
			"text": "一把很普通的骑士剑"
		},
		"sword4": {
			"cls": "constants",
			"name": "圣剑",
			"text": "一把很普通的圣剑"
		},
		"sword5": {
			"cls": "constants",
			"name": "橙子的数学竞赛书",
			"text": "攻击125魔防125"
		},
		"shield1": {
			"cls": "constants",
			"name": "641的计算器",
			"text": "-2攻击+10防御+50MF"
		},
		"shield2": {
			"cls": "constants",
			"name": "银盾",
			"text": "一个很普通的银盾"
		},
		"shield3": {
			"cls": "constants",
			"name": "伯伯的口香糖",
			"text": "-15攻击+25防御+250MF"
		},
		"shield4": {
			"cls": "constants",
			"name": "圣盾",
			"text": "一个很普通的圣盾"
		},
		"shield5": {
			"cls": "constants",
			"name": "神圣盾",
			"text": "一个很普通的神圣盾"
		},
		"superPotion": {
			"cls": "items",
			"name": "圣水",
			"text": "可以让生命翻倍"
		},
		"moneyPocket": {
			"cls": "items",
			"name": "金钱袋"
		},
		"sword0": {
			"cls": "constants",
			"name": "折断的剑",
			"text": "没有任何作用的剑，相当于脱掉装备。"
		},
		"shield0": {
			"cls": "constants",
			"name": "残破的盾",
			"text": "没有任何作用的盾，相当于脱掉装备。"
		},
		"book": {
			"cls": "constants",
			"name": "怪物手册",
			"text": "可以查看当前楼层各怪物属性"
		},
		"fly": {
			"cls": "constants",
			"name": "楼层传送器",
			"text": "可以自由往来去过的楼层"
		},
		"coin": {
			"cls": "constants",
			"name": "幸运金币",
			"text": "持有时打败怪物可得双倍金币"
		},
		"snow": {
			"cls": "constants",
			"name": "冰冻徽章",
			"text": "可以将四周的熔岩变成平地"
		},
		"cross": {
			"cls": "constants",
			"name": "十字架",
			"text": "持有后无视怪物的无敌属性"
		},
		"knife": {
			"cls": "constants",
			"name": "屠龙匕首",
			"text": "该道具尚未被定义"
		},
		"shoes": {
			"cls": "constants",
			"name": "绿鞋",
			"text": "持有时无视负面地形"
		},
		"bigKey": {
			"cls": "tools",
			"name": "大黄门钥匙",
			"text": "可以开启当前层所有黄门"
		},
		"greenKey": {
			"cls": "tools",
			"name": "绿钥匙",
			"text": "可以打开一扇绿门"
		},
		"steelKey": {
			"cls": "tools",
			"name": "铁门钥匙",
			"text": "可以打开一扇铁门"
		},
		"pickaxe": {
			"cls": "tools",
			"name": "破墙镐",
			"text": "消耗8充能和400生命，可以破坏面前的墙"
		},
		"icePickaxe": {
			"cls": "tools",
			"name": "破冰镐",
			"text": "可以破坏勇士面前的一堵冰墙"
		},
		"bomb": {
			"cls": "tools",
			"name": "炸弹",
			"text": "消耗15充能并将生命变成1，可炸掉怪物并恢复35充能"
		},
		"centerFly": {
			"cls": "tools",
			"name": "中心对称飞行器",
			"text": "消耗12充能，可以飞向中心对称点并恢复300生命"
		},
		"upFly": {
			"cls": "tools",
			"name": "上楼器",
			"text": "可以飞往楼上的相同位置"
		},
		"downFly": {
			"cls": "tools",
			"name": "下楼器",
			"text": "可以飞往楼下的相同位置"
		},
		"earthquake": {
			"cls": "tools",
			"name": "地震卷轴",
			"text": "可以破坏当前层的所有墙"
		},
		"poisonWine": {
			"cls": "tools",
			"name": "解毒药水",
			"text": "可以解除中毒状态"
		},
		"weakWine": {
			"cls": "tools",
			"name": "解衰药水",
			"text": "可以解除衰弱状态"
		},
		"curseWine": {
			"cls": "tools",
			"name": "解咒药水",
			"text": "可以解除诅咒状态"
		},
		"superWine": {
			"cls": "tools",
			"name": "万能药水",
			"text": "可以解除所有不良状态"
		},
		"hammer": {
			"cls": "tools",
			"name": "圣锤",
			"text": "可以炸掉勇士面前的怪物"
		}
	},
	"itemEffect": {
		"500": "core.status.hero.atk+=1",
		"501": "core.status.hero.def+=1",
		"503": "core.setItem('508',core.itemCount('508')+2);core.status.hero.hp+=250;core.status.hero.atk+=1;core.status.hero.def+=1;core.status.hero.mdef+=1;core.status.hero.lv+=1",
		"505": "core.status.hero.atk+=4",
		"506": "core.status.hero.def+=4",
		"redJewel": "core.status.hero.atk += 2",
		"blueJewel": "core.status.hero.def += 2",
		"greenJewel": "core.status.hero.mdef += core.values.greenJewel * ratio",
		"yellowJewel": "core.status.hero.hp+=250;core.status.hero.atk+=1;core.status.hero.def+=1;core.status.hero.mdef+=1;",
		"redPotion": "core.status.hero.hp += core.values.redPotion * ratio",
		"bluePotion": "core.status.hero.hp += core.values.bluePotion * ratio",
		"yellowPotion": "core.status.hero.hp += core.values.yellowPotion * ratio",
		"greenPotion": "core.status.hero.hp += core.values.greenPotion * ratio",
		"sword1": "core.status.hero.atk += 7;core.status.hero.def -= 3;core.status.hero.mdef += 50",
		"sword2": "core.status.hero.atk += 18\ncore.status.hero.def -= 8\ncore.status.hero.mdef -= 80\n",
		"sword3": "core.status.hero.atk += core.values.sword3",
		"sword4": "core.status.hero.atk += core.values.sword4",
		"sword5": "core.status.hero.atk +=125\ncore.status.hero.mdef +=125",
		"shield1": "core.status.hero.def += core.values.shield1",
		"shield2": "core.status.hero.atk -= 2\ncore.status.hero.def += 10\ncore.status.hero.mfef += 50",
		"shield3": "core.status.hero.atk -= 15\ncore.status.hero.def += 25\ncore.status.hero.mdef += 250",
		"shield4": "core.status.hero.def += core.values.shield4",
		"shield5": "core.status.hero.def += core.values.shield5",
		"bigKey": "core.status.hero.items.keys.yellowKey++;core.status.hero.items.keys.blueKey++;core.status.hero.items.keys.redKey++;",
		"superPotion": "core.status.hero.hp *= 2",
		"moneyPocket": "core.status.hero.money += core.values.moneyPocket"
	},
	"itemEffectTip": {
		"500": null,
		"503": "'，全属性提升'",
		"redJewel": null,
		"blueJewel": null,
		"greenJewel": "'，魔防+'+core.values.greenJewel * ratio",
		"yellowJewel": "'，全属性提升'",
		"redPotion": "'，生命+'+core.values.redPotion * ratio",
		"bluePotion": "'，生命+'+core.values.bluePotion * ratio",
		"yellowPotion": "'，生命+'+core.values.yellowPotion * ratio",
		"greenPotion": "'，生命+'+core.values.greenPotion * ratio",
		"sword1": "'攻击+7，防御-3，魔防+50'",
		"sword2": "攻击+18，",
		"sword3": "'，攻击+'+core.values.sword3",
		"sword4": "'，攻击+'+core.values.sword4",
		"sword5": "'，攻击+'+core.values.sword5",
		"shield1": "'，防御+'+core.values.shield1",
		"shield2": "攻击-2，防御+10，魔防+50",
		"shield3": "'，防御+'+core.values.shield3",
		"shield4": "'，防御+'+core.values.shield4",
		"shield5": "'，防御+'+core.values.shield5",
		"bigKey": "'，全钥匙+1'",
		"superPotion": "'，生命值翻倍'",
		"moneyPocket": "'，金币+'+core.values.moneyPocket"
	},
	"useItemEffect": {
		"508": "core.insertAction([\n\t\t{\"type\": \"choices\",\n\t\t\t\"choices\": [\n\t\t\t\t{\"text\": \"生命+200\", \"action\": [\n\t\t\t\t\t{\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+200\"}\n\t\t\t\t]},\n\t\t\t\t{\"text\": \"攻击+1\", \"action\": [\n\t\t\t\t\t{\"type\": \"setValue\", \"name\": \"status:atk\", \"value\": \"status:atk+1\"}\n\t\t\t\t]},\n\t\t\t\t{\"text\": \"防御+1\", \"action\": [\n\t\t\t\t\t{\"type\": \"setValue\", \"name\": \"status:def\", \"value\": \"status:def+1\"}\n\t\t\t\t]},\n\t\t\t\t{\"text\": \"魔防+1\", \"action\": [\n\t\t\t\t\t{\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+1\"}\n\t\t\t\t]},\n\t\t\t\t{\"text\": \"充能+1\", \"action\": [\n\t\t\t\t\t{\"type\": \"setValue\", \"name\": \"status:experience\", \"value\": \"status:experience+1\"}\n\t\t\t\t]},\n\t\t\t]\n\t\t}\n]);",
		"700": "var money = core.getStatus('money');\nvar times = parseInt(money/60);\n\nvar todo = [];\n\nfor (var i=1;i<=times;i++) {\ncore.unshift(todo, [\n\t{\"type\": \"choices\", \"text\": \"还要购买\"+i+\"次\\n每60金币，你可以：\", \"choices\": [\n      {\"text\": \"增加2攻1魔防\", \"action\": [\n        {\"type\": \"setValue\", \"name\": \"status:atk\", \"value\": \"status:atk+2\"},\n        {\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+1\"},\n        {\"type\": \"setValue\", \"name\": \"status:money\", \"value\": \"status:money-60\"},\n      ]},\n      {\"text\": \"增加2防2魔防\", \"action\": [\n        {\"type\": \"setValue\", \"name\": \"status:def\", \"value\": \"status:def+2\"},\n        {\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+2\"},\n        {\"type\": \"setValue\", \"name\": \"status:money\", \"value\": \"status:money-60\"},\n      ]},\n      {\"text\": \"增加500生命4魔防\", \"action\": [\n        {\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+500\"},\n        {\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+4\"},\n        {\"type\": \"setValue\", \"name\": \"status:money\", \"value\": \"status:money-60\"},\n      ]},\n    ]},\n])\n}\n\ncore.insertAction(todo);",
		"701": "var money = core.getStatus('money');\nvar times = parseInt(money/60);\n\nvar todo = [];\n\nfor (var i=1;i<=times;i++) {\ncore.unshift(todo, [\n\t{\"type\": \"choices\", \"text\": \"还要购买\"+i+\"次\\n每60金币，你可以：\", \"choices\": [\n      {\"text\": \"增加4攻2魔防\", \"action\": [\n        {\"type\": \"setValue\", \"name\": \"status:atk\", \"value\": \"status:atk+4\"},\n        {\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+2\"},\n        {\"type\": \"setValue\", \"name\": \"status:money\", \"value\": \"status:money-60\"},\n      ]},\n      {\"text\": \"增加4防4魔防\", \"action\": [\n        {\"type\": \"setValue\", \"name\": \"status:def\", \"value\": \"status:def+4\"},\n        {\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+4\"},\n        {\"type\": \"setValue\", \"name\": \"status:money\", \"value\": \"status:money-60\"},\n      ]},\n      {\"text\": \"增加1000生命8魔防\", \"action\": [\n        {\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+1000\"},\n        {\"type\": \"setValue\", \"name\": \"status:mdef\", \"value\": \"status:mdef+8\"},\n        {\"type\": \"setValue\", \"name\": \"status:money\", \"value\": \"status:money-60\"},\n      ]},\n    ]},\n])\n}\n\ncore.insertAction(todo);",
		"book": "core.ui.drawBook(0);",
		"fly": "core.ui.drawFly(core.status.hero.flyRange.indexOf(core.status.floorId));",
		"earthquake": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero();\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"pickaxe": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.status.hero.hp-=400;\ncore.status.hero.experience-=8;\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero();\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"icePickaxe": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero(), 'stop');\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"snow": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero();\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bigKey": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero();\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bomb": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.status.hero.experience+=20;\ncore.status.hero.hp=1;\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero();\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n    core.events.afterUseBomb();\n});",
		"hammer": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero();\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n    core.events.afterUseBomb();\n});",
		"centerFly": "core.clearMap('hero', 0, 0, 416, 416);\ncore.setHeroLoc('x', core.status.event.data.x);\ncore.setHeroLoc('y', core.status.event.data.y);\ncore.status.hero.hp+=300;\ncore.status.hero.experience-=12;\ncore.drawHero();\ncore.drawTip(core.material.items[itemId].name + '使用成功');",
		"upFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.data.x, 'y': core.status.event.data.y};\ncore.changeFloor(core.status.event.data.id, null, loc, null, function (){\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n    core.replay();\n});",
		"downFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.data.x, 'y': core.status.event.data.y};\ncore.changeFloor(core.status.event.data.id, null, loc, null, function (){\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n    core.replay();\n});",
		"poisonWine": "core.setFlag('poison', false);",
		"weakWine": "core.setFlag('weak', false);\ncore.status.hero.atk += core.values.weakValue;\ncore.status.hero.def += core.values.weakValue;",
		"curseWine": "core.setFlag('curse', false);",
		"superWine": "core.setFlag('poison', false);\nif (core.hasFlag('weak')) {\n    core.setFlag('weak', false);\n    core.status.hero.atk += core.values.weakValue;\n    core.status.hero.def += core.values.weakValue;\n}\ncore.setFlag('curse', false);",
		"sword0": "core.plugin.useEquipment(itemId)",
		"sword1": "core.plugin.useEquipment(itemId)",
		"sword2": "core.plugin.useEquipment(itemId)",
		"sword3": "core.plugin.useEquipment(itemId)",
		"sword4": "core.plugin.useEquipment(itemId)",
		"sword5": "core.plugin.useEquipment(itemId)",
		"shield0": "core.plugin.useEquipment(itemId)",
		"shield1": "core.plugin.useEquipment(itemId)",
		"shield2": "core.plugin.useEquipment(itemId)",
		"shield3": "core.plugin.useEquipment(itemId)",
		"shield4": "core.plugin.useEquipment(itemId)",
		"shield5": "core.plugin.useEquipment(itemId)",
		"superPotion": "core.status.hero.hp *= 2",
		"wand1": "core.plugin.useEquipment(itemId)",
		"wand0": "core.plugin.useEquipment(itemId)",
		"ring0": "core.plugin.useEquipment(itemId)",
		"ring1": "core.plugin.useEquipment(itemId)",
		"wand2": "core.plugin.useEquipment(itemId)",
		"wand3": "core.plugin.useEquipment(itemId)"
	},
	"canUseItemEffect": {
		"508": "true",
		"700": "core.floors[core.status.floorId].canUseQuickShop",
		"701": "true",
		"book": "true",
		"fly": "core.status.hero.flyRange.indexOf(core.status.floorId)>=0",
		"pickaxe": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) &&\n        (block.event.id == 'yellowWall' || block.event.id=='whiteWall' || block.event.id=='blueWall')) // 能破哪些墙\n    {\n        // 四个方向\n        if (core.flags.pickaxeFourDirections) {\n            if (Math.abs(block.x-core.status.hero.loc.x)+Math.abs(block.y-core.status.hero.loc.y)<=1) {\n                ids.push(i);\n            }\n        }\n        else {\n            if (block.x == core.nextX() && block.y == core.nextY()) {\n                ids.push(i);\n            }\n        }\n    }\n}\nif (ids.length>0 && core.status.hero.hp>=400 && core.status.hero.experience>=8) {\n    core.status.event.data = ids;\n    able=true;\n}\nable",
		"icePickaxe": "var able=false;\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) && block.x==core.nextX() && block.y==core.nextY() && block.event.id=='ice') {\n        core.status.event.data = [i];\n        able=true;\n    }\n}\nable",
		"bomb": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) && block.event.cls.indexOf('enemy')==0 && Math.abs(block.x-core.status.hero.loc.x)+Math.abs(block.y-core.status.hero.loc.y)<=1) {\n        var enemy = core.material.enemys[block.event.id];\n        if ((core.isset(enemy.bomb) && !enemy.bomb) || (core.isset(enemy.notBomb) && enemy.notBomb)) continue;\n        if (core.flags.bombFourDirections || (block.x==core.nextX() && block.y==core.nextY()))\n            ids.push(i);\n    }\n}\nif (ids.length>0 && core.status.hero.experience>=15) {\n    core.status.event.data = ids;\n    able=true;\n}\nable",
		"hammer": "var able=false;\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) && block.event.cls.indexOf('enemy')==0 && block.x==core.nextX() && block.y==core.nextY()) {\n        var enemy = core.material.enemys[block.event.id];\n        ((core.isset(enemy.bomb) && !enemy.bomb) || (core.isset(enemy.notBomb) && enemy.notBomb)) continue;\n        core.status.event.data = [i];\n        able=true;\n    }\n}\nable",
		"earthquake": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) && (block.event.id == 'yellowWall' || block.event.id == 'blueWall' || block.event.id == 'whiteWall')) // 能炸的墙壁\n        ids.push(i);\n}\nif (ids.length>0) {\n    core.status.event.data = ids;\n    able=true;\n}\nable",
		"centerFly": "var able=false;\nvar toX = 12 - core.getHeroLoc('x'), toY = 12-core.getHeroLoc('y');\nvar block = core.getBlock(toX, toY);\nif (block==null && core.status.hero.experience>=12) {\n    core.status.event.data = {'x': toX, 'y': toY};\n    able = true;\n}\nable",
		"upFly": "var able=false;\nvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\nif (index<core.floorIds.length-1) {\n\tvar toId = core.floorIds[index+1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\tif (core.getBlock(toX, toY, toId)==null) {\n\t\tcore.status.event.data = {'id': toId, 'x': toX, 'y': toY};\n\t\table=true;\n\t}\n}\nable",
		"downFly": "var able=false;\nvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\nif (index>0) {\n\tvar toId = core.floorIds[index-1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\tif (core.getBlock(toX, toY, toId)==null) {\n\t\tcore.status.event.data = {'id': toId, 'x': toX, 'y': toY};\n\t\table=true;\n\t}\n}\nable",
		"snow": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) && block.event.id == 'lava' && Math.abs(block.x-core.status.hero.loc.x)+Math.abs(block.y-core.status.hero.loc.y)<=1) {\n        ids.push(i);\n    }\n}\nif (ids.length>0) {\n    core.status.event.data = ids;\n    able=true;\n}\nable",
		"bigKey": "var able=false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n    var block = core.status.thisMap.blocks[i];\n    if (core.isset(block.event) && !(core.isset(block.enable) && !block.enable) && block.event.id == 'yellowDoor') {\n        ids.push(i);\n    }\n}\nif (ids.length>0) {\n    core.status.event.data = ids;\n    able=true;\n}\nable",
		"poisonWine": "core.hasFlag('poison')",
		"weakWine": "core.hasFlag('weak')",
		"curseWine": "core.hasFlag('curse')",
		"superWine": "core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse')",
		"sword0": "true",
		"sword1": "true",
		"sword2": "true",
		"sword3": "true",
		"sword4": "true",
		"sword5": "true",
		"shield0": "true",
		"shield1": "true",
		"shield2": "true",
		"shield3": "true",
		"shield4": "true",
		"shiled5": "true",
		"superPotion": "true",
		"wand1": "true",
		"shield5": "true",
		"wand0": "true",
		"ring0": "true",
		"ring1": "true",
		"wand2": "true",
		"wand3": "true"
	}
}