var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"yellowKey": {
		"cls": "tools",
		"name": "黄钥匙",
		"hideInToolbox": true
	},
	"blueKey": {
		"cls": "tools",
		"name": "蓝钥匙",
		"hideInToolbox": true
	},
	"redKey": {
		"cls": "tools",
		"name": "红钥匙",
		"hideInToolbox": true
	},
	"redGem": {
		"cls": "items",
		"name": "红宝石",
		"itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio",
		"itemEffectTip": "${'，攻击力 +'+core.values.redGem * core.status.thisMap.ratio}",
		"useItemEffect": null
	},
	"blueGem": {
		"cls": "items",
		"name": "蓝宝石",
		"itemEffect": "core.status.hero.def += core.values.blueGem * core.status.thisMap.ratio",
		"itemEffectTip": "${'，防御力 +'+core.values.blueGem * core.status.thisMap.ratio}"
	},
	"greenGem": {
		"cls": "items",
		"name": "绿宝石",
		"itemEffect": "core.status.hero.agi += +core.values.greenGem * core.status.thisMap.ratio",
		"itemEffectTip": "${'，敏捷 +'+ core.values.greenGem * core.status.thisMap.ratio}"
	},
	"yellowGem": {
		"cls": "items",
		"name": "黄宝石",
		"itemEffect": "core.status.hero.hp+=1000;core.status.hero.atk+=6;core.status.hero.def+=6;core.status.hero.mdef+=10;",
		"itemEffectTip": "${'，全属性提升'}"
	},
	"redPotion": {
		"cls": "items",
		"name": "伤药",
		"itemEffect": "core.status.hero.hp += core.values.redPotion * core.status.thisMap.ratio",
		"itemEffectTip": "${'，体力 +'+core.values.redPotion * core.status.thisMap.ratio}"
	},
	"bluePotion": {
		"cls": "items",
		"name": "高级伤药",
		"itemEffect": "core.status.hero.hp += core.values.bluePotion * core.status.thisMap.ratio",
		"itemEffectTip": "${'，体力 +'+core.values.bluePotion * core.status.thisMap.ratio}"
	},
	"yellowPotion": {
		"cls": "items",
		"name": "黄血瓶",
		"itemEffect": "core.status.hero.hp += core.values.yellowPotion * core.status.thisMap.ratio",
		"itemEffectTip": "${'，生命+'+core.values.yellowPotion * core.status.thisMap.ratio}"
	},
	"greenPotion": {
		"cls": "items",
		"name": "十字架（极速模式被换为血瓶）",
		"itemEffect": "core.status.hero.hp += core.values.greenPotion * core.status.thisMap.ratio",
		"itemEffectTip": "${'，生命+'+core.values.greenPotion * core.status.thisMap.ratio}"
	},
	"sword1": {
		"cls": "items",
		"name": "铁剑",
		"text": "一把很普通的铁剑",
		"itemEffect": "core.status.hero.atk += core.values.sword1;\ncore.status.hero.atkCritical += 10;\ncore.setFlag('battleAnimate', 'sword');",
		"itemEffectTip": "${'，攻击力 +' + core.values.sword1 + '，攻击临界为 ' + core.status.hero.atkCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"sword2": {
		"cls": "items",
		"name": "长剑",
		"text": "一把很普通的银剑",
		"itemEffect": "core.status.hero.atk += core.values.sword2;\ncore.status.hero.atkCritical += 20;\ncore.setFlag('battleAnimate', 'sword');",
		"itemEffectTip": "${'，攻击力 +' + core.values.sword2 + '，攻击临界为 ' + core.status.hero.atkCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"sword3": {
		"cls": "items",
		"name": "宝石剑",
		"text": "一把很普通的骑士剑",
		"itemEffect": "core.status.hero.atk += core.values.sword3;\ncore.status.hero.atkCritical += 30;\ncore.setFlag('battleAnimate', 'sword');",
		"itemEffectTip": "${'，攻击力 +'+core.values.sword3+'，攻击临界为 '+core.status.hero.atkCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"sword4": {
		"cls": "items",
		"name": "灵光剑",
		"text": "一把很普通的圣剑",
		"itemEffect": "core.status.hero.atk += core.values.sword4;\ncore.status.hero.atkCritical += 40;\ncore.setFlag('battleAnimate', 'sword');",
		"itemEffectTip": "${'，攻击力 +' + core.values.sword4 + '，攻击临界为 ' + core.status.hero.atkCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"sword5": {
		"cls": "items",
		"name": "勇者之剑",
		"text": "一把很普通的神圣剑",
		"itemEffect": "core.status.hero.atk += core.values.sword5;\ncore.status.hero.atkCritical += 50;\ncore.setFlag('battleAnimate', 'sword');",
		"itemEffectTip": "${'，攻击力 +'+core.values.sword5+'，攻击临界为 '+core.status.hero.atkCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"shield1": {
		"cls": "items",
		"name": "铁盾",
		"text": "一个很普通的铁盾",
		"itemEffect": "core.status.hero.def += core.values.shield1;\ncore.status.hero.defCritical -= 5;",
		"itemEffectTip": "${'，防御力 +' + core.values.shield1 + '，防御临界为 ' + core.status.hero.defCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"shield2": {
		"cls": "items",
		"name": "光之盾",
		"text": "一个很普通的银盾",
		"itemEffect": "core.status.hero.def += core.values.shield2;\ncore.status.hero.defCritical -= 5;",
		"itemEffectTip": "${'，防御力 +'+core.values.shield2+'，防御临界为 '+core.status.hero.defCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"shield3": {
		"cls": "items",
		"name": "皮革盾",
		"text": "一个很普通的骑士盾",
		"itemEffect": "core.status.hero.def += core.values.shield3;\ncore.status.hero.defCritical -= 5;",
		"itemEffectTip": "${'，防御力 +' + core.values.shield3 + '，防御临界为 ' + core.status.hero.defCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"shield4": {
		"cls": "items",
		"name": "圣光十字盾",
		"text": "一个很普通的圣盾",
		"itemEffect": "core.status.hero.def += core.values.shield4;\ncore.status.hero.defCritical -= 5;",
		"itemEffectTip": "${'，防御力 +'+core.values.shield4+'，防御临界为 '+core.status.hero.defCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"shield5": {
		"cls": "items",
		"name": "勇者之盾",
		"text": "一个很普通的神圣盾",
		"itemEffect": "core.status.hero.def += core.values.shield5;\ncore.status.hero.defCritical -= 5;",
		"itemEffectTip": "${'，防御力+'+core.values.shield5+'，防御临界为 '+core.status.hero.defCritical}",
		"useItemEffect": "core.plugin.useEquipment(itemId)"
	},
	"superPotion": {
		"cls": "items",
		"name": "圣水",
		"itemEffect": "core.status.hero.hp *= 2",
		"itemEffectTip": "${'，体力×2'}"
	},
	"moneyPocket": {
		"cls": "items",
		"name": "金块",
		"itemEffect": "core.status.hero.money += core.values.moneyPocket",
		"itemEffectTip": "${'，金币 +'+core.values.moneyPocket}"
	},
	"sword0": {
		"cls": "constants",
		"name": "折断的剑",
		"text": "没有任何作用的剑，相当于脱掉装备。",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"shield0": {
		"cls": "constants",
		"name": "残破的盾",
		"text": "没有任何作用的盾，相当于脱掉装备。",
		"useItemEffect": "core.plugin.useEquipment(itemId)",
		"canUseItemEffect": "true"
	},
	"coin": {
		"cls": "constants",
		"name": "幸运金币",
		"text": "持有时打败怪物可得双倍金币"
	},
	"cross": {
		"cls": "tools",
		"name": "十字架",
		"text": "死亡后以2000生命复活"
	},
	"knife": {
		"cls": "tools",
		"name": "神剑之证",
		"text": "将面前的怪物变为绿色史莱姆。",
		"useItemEffect": "core.playSound('使用道具')\ncore.insertAction([{ \"type\": \"setBlock\", \"number\": 201, \"loc\": [core.nextX(), core.nextY()] }]);\ncore.drawTip(`${core.material.items[itemId].name}使用成功，剩余${core.itemCount(itemId) - 1}个`);",
		"canUseItemEffect": "(function () {\n\tlet b = core.getBlock(core.nextX(), core.nextY());\n\tif (b?.event?.id == \"princess\") return true;\n\tif (core.enemyExists(core.nextX(), core.nextY())) {\n\t\tlet enemy = core.material.enemys[b.event.id];\n\t\tif ((core.isset(enemy.bomb) && !enemy.bomb) || (core.isset(enemy.notBomb) && enemy.notBomb)) {\n\t\t\tcore.playSound('warning.mp3');\n\t\t\tcore.drawTip('神剑之证对该怪物无效！');\n\t\t\treturn false;\n\t\t} else\n\t\t\treturn true;\n\t}\n\tcore.playSound('warning.mp3');\n\tcore.drawTip('当前无法使用神剑之证！');\n\treturn false;\n})();"
	},
	"shoes": {
		"cls": "constants",
		"name": "冰之护符",
		"text": "免疫熔岩的伤害"
	},
	"bigKey": {
		"cls": "items",
		"name": "魔法之钥",
		"itemEffect": "core.addItem('yellowKey', 1)\ncore.addItem('blueKey', 1)\ncore.addItem('redKey', 1)",
		"itemEffectTip": "${'，三种钥匙各 +1'}",
		"useItemEffect": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"canUseItemEffect": "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"
	},
	"greenKey": {
		"cls": "tools",
		"name": "宝石锄头",
		"text": "可以打开一扇绿花门。"
	},
	"steelKey": {
		"cls": "tools",
		"name": "铁门钥匙",
		"text": "可以打开一扇铁门"
	},
	"pickaxe": {
		"cls": "tools",
		"name": "锄头",
		"text": "一个盗贼丢失在塔中的锄头。",
		"useItemEffect": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"canUseItemEffect": "var able=false;\n/*var 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) {\n    core.status.event.data = ids;\n    able=true;\n}\nable//*/"
	},
	"icePickaxe": {
		"cls": "tools",
		"name": "宝石锄头",
		"text": "可以破坏一扇绿花门。",
		"useItemEffect": "core.setBlock(168, core.nextX(), core.nextY());\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n\tcore.updateFg();\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"canUseItemEffect": "var able=false;\nvar nextfID=core.getBlockId(core.nextX(),core.nextY());\nif(nextfID==\"specialDoor\")\n\table=true;\nable"
	},
	"bomb": {
		"cls": "tools",
		"name": "炸弹",
		"text": "可以炸掉勇士四周的怪物",
		"useItemEffect": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n\tcore.updateFg();\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.events.afterUseBomb();\n});",
		"canUseItemEffect": "var able = false;\nvar ids = [];\nfor (var i in core.status.thisMap.blocks) {\n\tvar block = core.status.thisMap.blocks[i];\n\tif (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\t\tvar enemy = core.material.enemys[block.event.id];\n\t\tif ((core.isset(enemy.bomb) && !enemy.bomb) || (core.isset(enemy.notBomb) && enemy.notBomb)) continue;\n\t\tif (core.flags.bombFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\tids.push(i);\n\t}\n}\nif (ids.length > 0) {\n\tcore.status.event.data = ids;\n\table = true;\n}\nable"
	},
	"centerFly": {
		"cls": "tools",
		"name": "中心对称飞行器",
		"text": "可以飞向当前楼层中心对称的位置",
		"useItemEffect": "core.clearMap('hero', 0, 0, 416, 416);\ncore.setHeroLoc('x', core.status.event.data.x);\ncore.setHeroLoc('y', core.status.event.data.y);\ncore.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\ncore.drawTip(core.material.items[itemId].name + '使用成功');",
		"canUseItemEffect": "var able = false;\nvar toX = 12 - core.getHeroLoc('x'),\n\ttoY = 12 - core.getHeroLoc('y');\nvar block = core.getBlock(toX, toY);\nif (block == null) {\n\tcore.status.event.data = { 'x': toX, 'y': toY };\n\table = true;\n}\nable"
	},
	"upFly": {
		"cls": "tools",
		"name": "上楼器",
		"text": "可以飞往楼上的相同位置",
		"useItemEffect": "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});",
		"canUseItemEffect": "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": {
		"cls": "tools",
		"name": "下楼器",
		"text": "可以飞往楼下的相同位置",
		"useItemEffect": "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});",
		"canUseItemEffect": "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"
	},
	"earthquake": {
		"cls": "tools",
		"name": "地震卷轴",
		"text": "可以破坏当前层的所有墙",
		"useItemEffect": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"canUseItemEffect": "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"
	},
	"poisonWine": {
		"cls": "items",
		"name": "抗毒剂",
		"text": "解除中毒状态。",
		"itemEffect": "core.triggerDebuff('remove', 'poison');",
		"itemEffectTip": "${'，中毒状态解除'}",
		"useItemEffect": null,
		"canUseItemEffect": null
	},
	"weakWine": {
		"cls": "items",
		"name": "火酒",
		"text": "解除衰弱状态。",
		"itemEffect": "core.triggerDebuff('remove', 'weak');",
		"itemEffectTip": "${'，衰弱状态解除'}",
		"useItemEffect": null,
		"canUseItemEffect": null
	},
	"curseWine": {
		"cls": "tools",
		"name": "解咒药水",
		"text": "可以解除诅咒状态",
		"useItemEffect": null,
		"canUseItemEffect": null,
		"itemEffect": "core.triggerDebuff('remove', 'curse');"
	},
	"superWine": {
		"cls": "tools",
		"name": "万能药水",
		"text": "可以解除所有不良状态",
		"useItemEffect": "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);",
		"canUseItemEffect": "core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse')"
	},
	"hammer": {
		"cls": "tools",
		"name": "圣锤",
		"text": "可以炸掉勇士面前的怪物",
		"useItemEffect": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n    core.events.afterUseBomb();\n});",
		"canUseItemEffect": "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"
	},
	"Lvupfly": {
		"cls": "items",
		"name": "跃进之翼",
		"itemEffect": "core.status.hero.lv+=1;core.status.hero.hp+=400;core.status.hero.atk+=5;core.status.hero.def+=5",
		"itemEffectTip": "${'，等级 +1 ( +400 / +5 / +5 )'}"
	},
	"proof_brave": {
		"cls": "constants",
		"name": "镶有红宝石的章",
		"text": "${core.getFlag('proof_brave', 0) === 0 ? '一个未被鉴定的镶有红宝石的章。' : core.getFlag('proof_brave', 0) + '级勇者之证'}",
		"useItemEffect": "",
		"canUseItemEffect": ""
	},
	"proof_tyrant": {
		"cls": "constants",
		"name": "镶有黑珍珠的章",
		"text": "${core.getFlag('proof_tyrant', 0) === 0 ? '一个未被鉴定的镶有黑珍珠的章。' : core.getFlag('proof_tyrant', 0) + '级霸者之证'}",
		"useItemEffect": "",
		"canUseItemEffect": ""
	},
	"proof_sage": {
		"cls": "constants",
		"name": "镶有钻石的章",
		"text": "${core.getFlag('proof_sage', 0) === 0 ? '一个未被鉴定的镶有钻石的章。' : core.getFlag('proof_sage', 0) + '级贤者之证'}",
		"useItemEffect": "",
		"canUseItemEffect": ""
	},
	"magicKey": {
		"cls": "constants",
		"name": "神秘之钥",
		"text": "可以在主塔17F打开前往密室的密道。"
	},
	"keydoor": {
		"cls": "tools",
		"name": "随意门",
		"text": "可以将熔岩或脆弱的墙变为黄门。",
		"itemEffectTip": "${}",
		"useItemEffect": "core.playSound('使用道具')\ncore.insertAction([{ \"type\": \"setBlock\", \"number\": 16, \"loc\": [core.nextX(), core.nextY()] }]);\ncore.drawTip(`${core.material.items[itemId].name}使用成功，剩余${core.itemCount(itemId) - 1}个`);",
		"canUseItemEffect": "(function () {\n\tvar next = core.getBlockId(core.nextX(), core.nextY());\n\tif (next == null) {\n\t\tif (core.getFlag('随意门对空地使用')) return true;\n\t\telse {\n\t\t\tcore.playSound('warning.mp3');\n\t\t\tcore.drawTip('随意门对空地使用被禁止，可以在设置中打开');\n\t\t\treturn false;\n\t\t}\n\t}\n\tif (next == \"walldoor\" || next == \"walldoor3\" || next == \"lavaNet\") return true;\n\telse {\n\t\tcore.playSound('warning.mp3');\n\t\tcore.drawTip('随意门只能用来破坏脆弱的墙或熔岩');\n\t\treturn false;\n\t}\n})();"
	},
	"magic_amulet": {
		"cls": "constants",
		"name": "魔法护符",
		"text": "在与魔法师系怪物战斗时，削弱怪物的防御力。",
		"canUseItemEffect": ""
	},
	"agi_fly": {
		"cls": "items",
		"name": "敏捷之翼",
		"itemEffect": "core.status.hero.agi += 3",
		"itemEffectTip": "${'，敏捷 +3（当前敏捷：' + core.status.hero.agi + '）'}"
	},
	"lvBoost": {
		"cls": "items",
		"name": "新物品"
	},
	"I341": {
		"cls": "items",
		"name": "新物品"
	},
	"I343": {
		"cls": "items",
		"name": "新物品"
	},
	"I344": {
		"cls": "items",
		"name": "新物品"
	},
	"I345": {
		"cls": "items",
		"name": "新物品"
	},
	"I346": {
		"cls": "constants",
		"name": "新物品",
		"useItemEffect": "core.insertAction([{ \"type\": \"insert\", \"loc\": [8, 5], \"floorId\": \"MOTA8\" }]);",
		"canUseItemEffect": "true"
	},
	"I347": {
		"cls": "items",
		"name": "新物品"
	},
	"I348": {
		"cls": "items",
		"name": "新物品"
	},
	"I349": {
		"cls": "items",
		"name": "新物品",
		"canUseItemEffect": null
	},
	"freezeBadge": {
		"cls": "constants",
		"name": "冰冻徽章",
		"text": "可以将四周的熔岩变成平地",
		"useItemEffect": "core.removeBlockByIds(core.status.floorId, core.status.event.data);\ncore.drawMap(core.status.floorId, function () {\n    core.drawHero(core.getHeroLoc('direction'), core.getHeroLoc('x'), core.getHeroLoc('y'), 'stop');\n    core.updateFg();\n    core.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"canUseItemEffect": "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"
	},
	"book1": {
		"cls": "constants",
		"name": "心镜",
		"text": "可以查看当前楼层所有怪物的属性。",
		"useItemEffect": "core.ui.drawBook(0);",
		"canUseItemEffect": "true"
	},
	"fly1": {
		"cls": "constants",
		"name": "黄金色羽根",
		"text": "可以随时传送到去过的楼层。",
		"useItemEffect": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
		"canUseItemEffect": "(function () {\n\tif (core.status.maps[core.status.floorId].canFlyTo && core.status.maps[core.status.floorId].floorId != \"main10\") {\n\t\treturn true;\n\t}\n\tcore.playSound(\"warning.mp3\");\n\treturn false;\n})();"
	},
	"fly": {
		"cls": "constants",
		"name": "黄金色羽根",
		"text": "可以随时传送到去过的楼层。",
		"useItemEffect": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
		"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\tif (!core.status.maps[core.status.floorId].canFlyFrom) {\n\t\tcore.playSound('操作失败');\n\t\treturn false;\n\t}\n\tif (core.hasFlag('poison') && core.status.floorId.startsWith('MOTA')) {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip('中毒状态下禁止从隐藏层飞出！');\n\t\treturn false;\n\t}\n\tif (core.hasFlag('poison') && core.status.floorId === 'main20') {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip('中毒状态下禁止20F飞出！');\n\t\treturn false;\n\t}\n\treturn true;\n})();"
	},
	"book": {
		"cls": "constants",
		"name": "心镜",
		"text": "可以查看当前楼层所有怪物的属性。",
		"useItemEffect": "core.ui.drawBook(0);",
		"canUseItemEffect": "true"
	}
}