var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a = 
{
	"items": {
		"yellowKey": {
			"cls": "keys",
			"name": "黄钥匙",
			"text": "可以打开一扇黄门"
		},
		"blueKey": {
			"cls": "keys",
			"name": "蓝钥匙",
			"text": "可以打开一扇蓝门"
		},
		"redKey": {
			"cls": "keys",
			"name": "红钥匙",
			"text": "可以打开一扇红门"
		},
		"redJewel": {
			"cls": "items",
			"name": "红宝石",
			"text": "'，攻击+'+core.values.redJewel"
		},
		"blueJewel": {
			"cls": "items",
			"name": "蓝宝石",
			"text": "'，防御+'+core.values.blueJewel"
		},
		"greenJewel": {
			"cls": "items",
			"name": "绿宝石",
			"text": "'，魔防+'+core.values.greenJewel"
		},
		"yellowJewel": {
			"cls": "items",
			"name": "黄宝石",
			"text": "可以进行加点"
		},
		"redPotion": {
			"cls": "items",
			"name": "大红血瓶",
			"text": "'，生命+'+core.values.redPotion"
		},
		"bluePotion": {
			"cls": "items",
			"name": "蓝血瓶",
			"text": "'，生命+'+core.values.bluePotion"
		},
		"yellowPotion": {
			"cls": "items",
			"name": "黄血瓶",
			"text": "'生命+'+core.values.yellowPotion"
		},
		"greenPotion": {
			"cls": "items",
			"name": "绿血瓶",
			"text": "'，生命+'+core.values.greenPotion"
		},
		"sword0": {
			"cls": "items",
			"name": "破旧的剑",
			"text": "一把已经生锈的剑",
			"equip": {
				"type": 0,
				"atk": 0,
				"animate": "sword"
			}
		},
		"sword1": {
			"cls": "items",
			"name": "铁剑",
			"text": "一把很普通的铁剑",
			"equip": {
				"type": 0,
				"atk": 10,
				"animate": "sword"
			}
		},
		"sword2": {
			"cls": "items",
			"name": "银剑",
			"text": "银制成的剑，更重但是也更具有杀伤力。",
			"equip": {
				"type": 0,
				"atk": 50,
				"animate": "sword"
			}
		},
		"sword3": {
			"cls": "items",
			"name": "骑士剑",
			"text": "一把很普通的骑士剑",
			"equip": {
				"type": 0,
				"atk": 40,
				"animate": "sword"
			}
		},
		"sword4": {
			"cls": "items",
			"name": "幽灵之力",
			"text": "聚集了幽灵的力量组成的剑，几乎没有重量的武器为你提供了二连击的机会。但是由于与幽灵体质相似，所以对于 幽灵 效果极差。",
			"equip": {
				"type": 0,
				"atk": 20,
				"animate": "sword"
			}
		},
		"sword5": {
			"cls": "items",
			"name": "凛冬",
			"text": "代表了北境的意志，无人可以阻止。",
			"equip": {
				"type": 0,
				"atk": 8000,
				"animate": "sword"
			}
		},
		"shield0": {
			"cls": "items",
			"name": "破旧的盾",
			"text": "一个很破旧的铁盾",
			"equip": {
				"type": 1,
				"def": 0
			}
		},
		"shield1": {
			"cls": "items",
			"name": "铁盾",
			"text": "一个很普通的铁盾",
			"equip": {
				"type": 1,
				"def": 10
			}
		},
		"shield2": {
			"cls": "items",
			"name": "龙鳞盾",
			"text": "龙鳞制成的盾，十分轻便和坚硬。",
			"equip": {
				"type": 1,
				"def": 40
			}
		},
		"shield3": {
			"cls": "items",
			"name": "骑士盾",
			"text": "一个很普通的骑士盾",
			"equip": {
				"type": 1,
				"def": 40
			}
		},
		"shield4": {
			"cls": "items",
			"name": "圣盾",
			"text": "一个很普通的圣盾",
			"equip": {
				"type": 1,
				"def": 80
			}
		},
		"shield5": {
			"cls": "items",
			"name": "神圣盾",
			"text": "一个很普通的神圣盾",
			"equip": {
				"type": 1,
				"def": 100,
				"mdef": 100
			}
		},
		"superPotion": {
			"cls": "items",
			"name": "圣水"
		},
		"moneyPocket": {
			"cls": "items",
			"name": "金钱袋"
		},
		"book": {
			"cls": "constants",
			"name": "怪物手册",
			"text": "可以查看当前楼层各怪物属性"
		},
		"fly": {
			"cls": "constants",
			"name": "楼层传送器",
			"text": "可以自由往来去过的楼层",
			"hideInReplay": true
		},
		"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": "可以破坏勇士面前的墙"
		},
		"icePickaxe": {
			"cls": "tools",
			"name": "破冰镐",
			"text": "可以破坏勇士面前的一堵冰墙"
		},
		"bomb": {
			"cls": "tools",
			"name": "炸弹",
			"text": "可以炸掉勇士面前的怪物"
		},
		"centerFly": {
			"cls": "tools",
			"name": "中心对称飞行器",
			"text": "可以飞向当前楼层中心对称的位置"
		},
		"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": "可以炸掉勇士面前的怪物"
		},
		"lifeWand": {
			"cls": "tools",
			"name": "生命魔杖",
			"text": "可以恢复100点生命值"
		},
		"jumpShoes": {
			"cls": "tools",
			"name": "跳跃靴",
			"text": "能跳跃到前方两格处"
		},
		"skill1": {
			"cls": "constants",
			"name": "技能：二倍斩",
			"text": "可以打开或关闭主动技能二倍斩",
			"hideInReplay": true
		},
		"wand": {
			"cls": "items",
			"name": "新物品"
		},
		"I340": {
			"cls": "items",
			"name": "新物品"
		},
		"I341": {
			"cls": "items",
			"name": "新物品"
		},
		"I342": {
			"cls": "items",
			"name": "新物品"
		},
		"I343": {
			"cls": "items",
			"name": "新物品"
		},
		"I344": {
			"cls": "items",
			"name": "新物品"
		},
		"I345": {
			"cls": "items",
			"name": "新物品"
		},
		"I346": {
			"cls": "items",
			"name": "新物品"
		},
		"I347": {
			"cls": "items",
			"name": "新物品"
		},
		"I348": {
			"cls": "items",
			"name": "新物品"
		},
		"I349": {
			"cls": "items",
			"name": "新物品"
		},
		"I350": {
			"cls": "items",
			"name": "新物品"
		},
		"I351": {
			"cls": "items",
			"name": "大红血瓶"
		},
		"I352": {
			"cls": "items",
			"name": "大蓝血瓶"
		},
		"I353": {
			"cls": "items",
			"name": "大绿血瓶"
		},
		"I354": {
			"cls": "items",
			"name": "大黄血瓶"
		},
		"I355": {
			"cls": "items",
			"name": "中级红宝石"
		},
		"I356": {
			"cls": "items",
			"name": "中级绿宝石"
		},
		"I357": {
			"cls": "items",
			"name": "中绿宝石"
		},
		"I358": {
			"cls": "items",
			"name": "中型黄宝石"
		},
		"I359": {
			"cls": "items",
			"name": "巨红宝石"
		},
		"I360": {
			"cls": "items",
			"name": "大蓝宝石"
		},
		"I361": {
			"cls": "items",
			"name": "大绿宝石"
		},
		"I362": {
			"cls": "items",
			"name": "新物品"
		},
		"I363": {
			"cls": "items",
			"name": "巨红宝石"
		},
		"I364": {
			"cls": "items",
			"name": "巨蓝宝石"
		},
		"I365": {
			"cls": "items",
			"name": "巨绿宝石"
		},
		"I366": {
			"cls": "items",
			"name": "新物品"
		},
		"I367": {
			"cls": "items",
			"name": "硕红宝石"
		},
		"I368": {
			"cls": "items",
			"name": "硕蓝宝石"
		},
		"I369": {
			"cls": "items",
			"name": "硕绿宝石"
		},
		"I370": {
			"cls": "items",
			"name": "新物品"
		},
		"I371": {
			"cls": "items",
			"name": "新物品"
		},
		"I372": {
			"cls": "items",
			"name": "新物品"
		},
		"I373": {
			"cls": "items",
			"name": "新物品"
		},
		"I374": {
			"cls": "items",
			"name": "新物品"
		},
		"I375": {
			"cls": "items",
			"name": "新物品"
		},
		"I376": {
			"cls": "items",
			"name": "新物品"
		},
		"I377": {
			"cls": "items",
			"name": "新物品"
		},
		"I378": {
			"cls": "items",
			"name": "新物品"
		},
		"I379": {
			"cls": "items",
			"name": "新物品"
		},
		"I380": {
			"cls": "items",
			"name": "新物品"
		},
		"I381": {
			"cls": "items",
			"name": "新物品"
		},
		"I382": {
			"cls": "items",
			"name": "新物品"
		},
		"I383": {
			"cls": "items",
			"name": "新物品"
		},
		"I384": {
			"cls": "items",
			"name": "新物品"
		},
		"I385": {
			"cls": "items",
			"name": "新物品"
		},
		"I386": {
			"cls": "items",
			"name": "新物品"
		},
		"I387": {
			"cls": "items",
			"name": "新物品"
		},
		"I388": {
			"cls": "items",
			"name": "新物品"
		},
		"I389": {
			"cls": "items",
			"name": "新物品"
		},
		"I390": {
			"cls": "items",
			"name": "新物品"
		},
		"I391": {
			"cls": "items",
			"name": "新物品"
		},
		"I392": {
			"cls": "items",
			"name": "新物品"
		},
		"I393": {
			"cls": "items",
			"name": "新物品"
		},
		"I394": {
			"cls": "items",
			"name": "新物品"
		},
		"I395": {
			"cls": "items",
			"name": "新物品"
		},
		"I396": {
			"cls": "items",
			"name": "新物品"
		},
		"I397": {
			"cls": "items",
			"name": "新物品"
		},
		"I398": {
			"cls": "items",
			"name": "新物品"
		},
		"I399": {
			"cls": "items",
			"name": "新物品"
		},
		"I400": {
			"cls": "items",
			"name": "新物品"
		},
		"I401": {
			"cls": "items",
			"name": "新物品"
		},
		"I402": {
			"cls": "items",
			"name": "新物品"
		},
		"I403": {
			"cls": "items",
			"name": "新物品"
		},
		"I404": {
			"cls": "items",
			"name": "新物品"
		},
		"I405": {
			"cls": "items",
			"name": "新物品"
		},
		"I406": {
			"cls": "items",
			"name": "新物品"
		},
		"I407": {
			"cls": "items",
			"name": "新物品"
		},
		"I408": {
			"cls": "items",
			"name": "新物品"
		},
		"I409": {
			"cls": "items",
			"name": "新物品"
		},
		"I410": {
			"cls": "items",
			"name": "新物品"
		},
		"I411": {
			"cls": "items",
			"name": "新物品"
		},
		"I412": {
			"cls": "items",
			"name": "新物品"
		},
		"I413": {
			"cls": "items",
			"name": "新物品"
		},
		"I414": {
			"cls": "items",
			"name": "新物品"
		},
		"I415": {
			"cls": "items",
			"name": "新物品"
		},
		"I416": {
			"cls": "items",
			"name": "新物品"
		},
		"I417": {
			"cls": "items",
			"name": "新物品"
		},
		"I418": {
			"cls": "items",
			"name": "新物品"
		},
		"I419": {
			"cls": "items",
			"name": "新物品"
		},
		"I420": {
			"cls": "items",
			"name": "新物品"
		},
		"I421": {
			"cls": "items",
			"name": "新物品"
		},
		"I422": {
			"cls": "items",
			"name": "新物品"
		},
		"I423": {
			"cls": "items",
			"name": "新物品"
		},
		"I424": {
			"cls": "items",
			"name": "新物品"
		},
		"I425": {
			"cls": "items",
			"name": "新物品"
		},
		"I426": {
			"cls": "items",
			"name": "新物品"
		},
		"I427": {
			"cls": "items",
			"name": "新物品"
		},
		"I428": {
			"cls": "items",
			"name": "新物品"
		},
		"I429": {
			"cls": "items",
			"name": "新物品"
		},
		"I430": {
			"cls": "items",
			"name": "新物品"
		},
		"I431": {
			"cls": "items",
			"name": "新物品"
		},
		"I432": {
			"cls": "items",
			"name": "新物品"
		},
		"I433": {
			"cls": "items",
			"name": "新物品"
		},
		"I434": {
			"cls": "items",
			"name": "新物品"
		},
		"I435": {
			"cls": "items",
			"name": "新物品"
		},
		"I436": {
			"cls": "items",
			"name": "新物品"
		},
		"I437": {
			"cls": "items",
			"name": "新物品"
		},
		"I438": {
			"cls": "items",
			"name": "新物品"
		},
		"I439": {
			"cls": "items",
			"name": "新物品"
		},
		"I440": {
			"cls": "items",
			"name": "新物品"
		},
		"I441": {
			"cls": "items",
			"name": "新物品"
		},
		"I442": {
			"cls": "items",
			"name": "新物品"
		},
		"I443": {
			"cls": "items",
			"name": "新物品"
		},
		"I444": {
			"cls": "items",
			"name": "新物品"
		},
		"I445": {
			"cls": "items",
			"name": "新物品"
		},
		"I446": {
			"cls": "items",
			"name": "新物品"
		},
		"I447": {
			"cls": "items",
			"name": "新物品"
		},
		"I448": {
			"cls": "items",
			"name": "新物品"
		},
		"I449": {
			"cls": "items",
			"name": "新物品"
		},
		"I450": {
			"cls": "items",
			"name": "新物品"
		},
		"I451": {
			"cls": "items",
			"name": "新物品"
		},
		"I452": {
			"cls": "items",
			"name": "新物品"
		},
		"I453": {
			"cls": "items",
			"name": "新物品"
		},
		"I454": {
			"cls": "items",
			"name": "新物品"
		},
		"I455": {
			"cls": "items",
			"name": "新物品"
		},
		"I456": {
			"cls": "items",
			"name": "新物品"
		},
		"I457": {
			"cls": "items",
			"name": "新物品"
		},
		"I458": {
			"cls": "items",
			"name": "新物品"
		},
		"I459": {
			"cls": "items",
			"name": "新物品"
		},
		"I460": {
			"cls": "items",
			"name": "新物品"
		},
		"I461": {
			"cls": "items",
			"name": "新物品"
		},
		"I462": {
			"cls": "items",
			"name": "新物品"
		},
		"I463": {
			"cls": "items",
			"name": "新物品"
		},
		"I464": {
			"cls": "items",
			"name": "新物品"
		},
		"I465": {
			"cls": "items",
			"name": "新物品"
		},
		"I466": {
			"cls": "items",
			"name": "新物品"
		},
		"I467": {
			"cls": "items",
			"name": "新物品"
		},
		"I468": {
			"cls": "items",
			"name": "新物品"
		},
		"I469": {
			"cls": "items",
			"name": "新物品"
		},
		"I470": {
			"cls": "items",
			"name": "新物品"
		},
		"I471": {
			"cls": "items",
			"name": "新物品"
		},
		"I472": {
			"cls": "items",
			"name": "新物品"
		},
		"I473": {
			"cls": "items",
			"name": "新物品"
		},
		"I474": {
			"cls": "items",
			"name": "新物品"
		},
		"I475": {
			"cls": "items",
			"name": "新物品"
		},
		"I476": {
			"cls": "items",
			"name": "新物品"
		},
		"I477": {
			"cls": "items",
			"name": "新物品"
		},
		"I478": {
			"cls": "items",
			"name": "新物品"
		},
		"I479": {
			"cls": "items",
			"name": "新物品"
		},
		"I480": {
			"cls": "items",
			"name": "新物品"
		},
		"I481": {
			"cls": "items",
			"name": "新物品"
		},
		"I482": {
			"cls": "items",
			"name": "新物品"
		},
		"I483": {
			"cls": "items",
			"name": "新物品"
		},
		"I484": {
			"cls": "items",
			"name": "新物品"
		},
		"I485": {
			"cls": "items",
			"name": "新物品"
		},
		"I486": {
			"cls": "items",
			"name": "新物品"
		},
		"I487": {
			"cls": "items",
			"name": "新物品"
		},
		"I488": {
			"cls": "items",
			"name": "新物品"
		},
		"I489": {
			"cls": "items",
			"name": "新物品"
		},
		"I490": {
			"cls": "items",
			"name": "新物品"
		},
		"I491": {
			"cls": "items",
			"name": "新物品"
		},
		"I492": {
			"cls": "items",
			"name": "新物品"
		},
		"I493": {
			"cls": "items",
			"name": "新物品"
		},
		"I494": {
			"cls": "items",
			"name": "新物品"
		},
		"I495": {
			"cls": "items",
			"name": "新物品"
		},
		"I496": {
			"cls": "items",
			"name": "新物品"
		},
		"I497": {
			"cls": "items",
			"name": "新物品"
		},
		"I498": {
			"cls": "items",
			"name": "新物品"
		},
		"I499": {
			"cls": "items",
			"name": "新物品"
		},
		"I500": {
			"cls": "items",
			"name": "新物品"
		},
		"I501": {
			"cls": "items",
			"name": "新物品"
		},
		"I502": {
			"cls": "items",
			"name": "新物品"
		},
		"I503": {
			"cls": "items",
			"name": "新物品"
		},
		"I504": {
			"cls": "items",
			"name": "新物品"
		},
		"I505": {
			"cls": "items",
			"name": "新物品"
		}
	},
	"itemEffect": {
		"redJewel": "core.status.hero.atk += core.values.redJewel * ratio",
		"blueJewel": "core.status.hero.def += core.values.blueJewel * ratio",
		"greenJewel": "core.status.hero.mdef += core.values.greenJewel * ratio",
		"yellowJewel": "core.status.hero.hp+=100;core.status.hero.atk+=1;core.status.hero.def+=1;core.status.hero.mdef+=5;",
		"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",
		"sword0": "core.status.hero.atk += 0",
		"sword1": "core.status.hero.atk += 10",
		"sword2": "core.status.hero.atk += 50",
		"sword3": "core.status.hero.atk += 40",
		"sword4": "core.status.hero.atk += 20",
		"sword5": "core.status.hero.atk += 8000",
		"shield0": "core.status.hero.def += 0",
		"shield1": "core.status.hero.def += 10",
		"shield2": "core.status.hero.def += 40",
		"shield3": "core.status.hero.def += 40",
		"shield4": "core.status.hero.def += 80",
		"shield5": "core.status.hero.def += 100;core.status.hero.mdef += 100",
		"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 += 500",
		"I355": "core.status.hero.atk += 2",
		"I356": "core.status.hero.def += 2",
		"I359": "core.status.hero.atk += 3",
		"I360": "core.status.hero.def += 3",
		"I357": "core.status.hero.mdef += 10",
		"I361": "core.status.hero.mdef += 15",
		"I358": "core.status.hero.hp+=200;core.status.hero.atk+=2;core.status.hero.def+=2;core.status.hero.mdef+=10;",
		"I363": "core.status.hero.atk += 5",
		"I364": "core.status.hero.def += 5",
		"I365": "core.status.hero.mdef += 25",
		"I367": "core.status.hero.atk += 10",
		"I368": "core.status.hero.def += 10",
		"I369": "core.status.hero.mdef += 50",
		"I351": "core.status.hero.hp += 2000",
		"I352": "core.status.hero.hp += 5000",
		"I353": "core.status.hero.hp += 10000",
		"I354": "core.status.hero.hp += 50000"
	},
	"itemEffectTip": {
		"redJewel": "'，攻击+'+core.values.redJewel * ratio",
		"blueJewel": "'，防御+'+core.values.blueJewel * ratio",
		"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",
		"sword0": "'，攻击+0'",
		"sword1": "'，攻击+10'",
		"sword2": "'，攻击+50'",
		"sword3": "'，攻击+40'",
		"sword4": "'，攻击+20'",
		"sword5": "'，攻击+8000'",
		"shield0": "'，防御+0'",
		"shield1": "'，防御+10'",
		"shield2": "'，防御+40'",
		"shield3": "'，防御+40'",
		"shield4": "'，防御+80'",
		"shield5": "'，防御+100，魔防+100'",
		"bigKey": "'，全钥匙+1'",
		"superPotion": "'，生命值翻倍'",
		"moneyPocket": "'，金币+500'",
		"I355": "'，攻击+'+2",
		"I356": "'，防御+' + 2",
		"I359": "'，攻击+'+3",
		"I360": "'，防御+' + 3",
		"I357": "'，魔防+'+10",
		"I361": "'，魔防+'+15",
		"I363": "'，攻击+'+5",
		"I364": "'，防御+' + 5",
		"I365": "'，魔防+'+25",
		"I367": "'，攻击+'+10",
		"I368": "'，防御+' + 10",
		"I369": "'，魔防+'+50",
		"I351": null,
		"I352": null,
		"I353": null,
		"I354": null
	},
	"useItemEffect": {
		"book": "core.ui.drawBook(0);",
		"fly": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
		"earthquake": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"pickaxe": "core.playSound('pickaxe.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"icePickaxe": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"snow": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bigKey": "core.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n});",
		"bomb": "core.playSound('bomb.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.events.afterUseBomb();\n});",
		"hammer": "core.playSound('bomb.mp3');\ncore.removeBlockByIds(core.status.floorId, core.status.event.ui);\ncore.drawMap(core.status.floorId, function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\tcore.events.afterUseBomb();\n});",
		"centerFly": "core.playSound('centerFly.mp3');\ncore.clearMap('hero');\ncore.setHeroLoc('x', core.bigmap.width-1-core.getHeroLoc('x'));\ncore.setHeroLoc('y', core.bigmap.height-1-core.getHeroLoc('y'));\ncore.drawHero();\ncore.drawTip(core.material.items[itemId].name + '使用成功');",
		"upFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.ui.x, 'y': core.status.event.ui.y};\nif (core.status.event.id == 'action') {\n\tcore.insertAction([\n\t\t{\"type\": \"changeFloor\", \"loc\": [loc.x, loc.y], \"direction\": loc.direction, \"floorId\": core.status.event.ui.id},\n\t\t{\"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功'}\n\t]);\n}\nelse {\n\tcore.changeFloor(core.status.event.ui.id, null, loc, null, function (){\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\tcore.replay();\n\t});\n}",
		"downFly": "var loc = {'direction': core.status.hero.loc.direction, 'x': core.status.event.ui.x, 'y': core.status.event.ui.y};\nif (core.status.event.id == 'action') {\n\tcore.insertAction([\n\t\t{\"type\": \"changeFloor\", \"loc\": [loc.x, loc.y], \"direction\": loc.direction, \"floorId\": core.status.event.ui.id},\n\t\t{\"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功'}\n\t]);\n}\nelse {\n\tcore.changeFloor(core.status.event.ui.id, null, loc, null, function (){\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\tcore.replay();\n\t});\n}\n",
		"poisonWine": "core.removeFlag('poison');",
		"weakWine": "core.removeFlag('weak');\nif (core.values.weakValue>=1) { // >=1：直接扣数值\n\tcore.status.hero.atk += core.values.weakValue;\n\tcore.status.hero.def += core.values.weakValue;\n}\nelse { // <1：扣比例\n\tcore.addBuff(\"atk\", core.values.weakValue);\n\tcore.addBuff(\"def\", core.values.weakValue);\n}",
		"curseWine": "core.removeFlag('curse');",
		"superWine": "core.removeFlag('poison');\nif (core.hasFlag('weak')) {\n\tcore.removeFlag('weak');\n\tif (core.values.weakValue>=1) { // >=1：直接扣数值\n\t\tcore.status.hero.atk += core.values.weakValue;\n\t\tcore.status.hero.def += core.values.weakValue;\n\t}\n\telse { // <1：扣比例\n\t\tcore.addBuff(\"atk\", core.values.weakValue);\n\t\tcore.addBuff(\"def\", core.values.weakValue);\n\t}\n}\ncore.removeFlag('curse');",
		"lifeWand": "core.insertAction([\n\t{\"type\": \"input\", \"text\": \"请输入生命魔杖使用次数：(0-${item:lifeWand})\"},\n\t{\"type\": \"if\", \"condition\": \"flag:input<=item:lifeWand\",\n\t\t\"true\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"item:lifeWand\", \"value\": \"item:lifeWand-flag:input\"},\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+flag:input*100\"},\n\t\t\t\"成功使用${flag:input}次生命魔杖，恢复${flag:input*100}点生命。\"\n\t\t],\n\t\t\"false\": [\"输入不合法！\"]\n\t},\n]);\ncore.addItem('lifeWand', 1);",
		"jumpShoes": "core.insertAction({\"type\":\"jumpHero\",\"loc\":[core.nextX(2),core.nextY(2)]});",
		"redPotion": "core.status.hero.hp += core.values.redPotion",
		"bluePotion": "core.status.hero.hp += core.values.bluePotion",
		"greenPotion": "core.status.hero.hp += core.values.greenPotion",
		"yellowPotion": "core.status.hero.hp += core.values.yellowPotion",
		"redJewel": "core.status.hero.atk += core.values.redJewel",
		"blueJewel": "core.status.hero.def += core.values.blueJewel",
		"greenJewel": "core.status.hero.mdef += core.values.greenJewel",
		"yellowJewel": "core.insertAction([\n\t{\"type\": \"choices\", \"choices\": [\n\t\t{\"text\": \"攻击+1\", \"action\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:atk\", \"value\": \"status:atk+1\"}\n\t\t]},\n\t\t{\"text\": \"防御+2\", \"action\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:def\", \"value\": \"status:def+2\"}\n\t\t]},\n\t\t{\"text\": \"生命+200\", \"action\": [\n\t\t\t{\"type\": \"setValue\", \"name\": \"status:hp\", \"value\": \"status:hp+200\"}\n\t\t]},\n\t]}\n]);",
		"skill1": "// 二倍斩的flag:skill为1\nif (core.getFlag('skill', 0)==0) { // 判断当前是否已经开了技能\n\tif (core.getStatus('mana')>=5) { // 这里要写当前能否开技能的条件判断，比如魔力值至少要多少\n\t\tcore.setFlag('skill', 1); // 开技能1\n\t\tcore.setFlag('skillName', '二倍斩'); // 设置技能名\n\t}\n\telse {\n\t\tcore.drawTip(\"魔力不足，无法开启技能\");\n\t}\n}\nelse { // 关闭技能\n\tcore.setFlag('skill', 0); // 关闭技能状态\n\tcore.setFlag('skillName', '无');\n}"
	},
	"canUseItemEffect": {
		"book": "true",
		"fly": "(function () {\n\treturn core.status.maps[core.status.floorId].canFlyTo;\n})();",
		"pickaxe": "(function() {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && core.nearHero(block.x, block.y) && \n\t\t\t(block.event.canBreak || block.event.id == 'yellowWall' || block.event.id=='whiteWall' || block.event.id=='blueWall')) { // 能破哪些墙\n\t\t\t// 四个方向\n\t\t\tif (core.flags.pickaxeFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\t\tids.push(i);\n\t\t\telse id2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\telse if (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"icePickaxe": "(function() {\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.x==core.nextX() && block.y==core.nextY() && block.event.id=='ice') {\n\t\t\tcore.status.event.ui = [i];\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();",
		"bomb": "(function () {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.cls.indexOf('enemy')==0 && core.nearHero(block.x, block.y)) {\n\t\t\tvar enemy = core.material.enemys[block.event.id];\n\t\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\t\tif (core.flags.bombFourDirections || (block.x==core.nextX() && block.y==core.nextY()))\n\t\t\t\tids.push(i);\n\t\t\telse\n\t\t\t\tid2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\tif (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"hammer": "(function() {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.cls.indexOf('enemy')==0 && core.nearHero(block.x, block.y)) {\n\t\t\tvar enemy = core.material.enemys[block.event.id];\n\t\t\tif (core.isset(enemy) && enemy.notBomb) continue;\n\t\t\tif (block.x==core.nextX() && block.y==core.nextY())\n\t\t\t\tids.push(i);\n\t\t\telse\n\t\t\t\tid2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\telse if (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"earthquake": "(function () {\n\tvar able=false;\n\tvar ids = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable &&\n\t\t\t(block.event.canBreak || block.event.id == 'yellowWall' || block.event.id == 'blueWall' || block.event.id == 'whiteWall')) { // 能炸的墙壁\n\t\t\tids.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\table=true;\n\t}\n\treturn able;\n})();",
		"centerFly": "(function () {\n\tvar toX = core.bigmap.width-1-core.getHeroLoc('x'), toY = core.bigmap.height-1-core.getHeroLoc('y');\n\tvar id = core.getBlockId(toX, toY);\n\treturn id == null;\n})();",
		"upFly": "(function() {\n\tvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\n\tif (index<core.floorIds.length-1) {\n\t\tvar toId = core.floorIds[index+1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width, mh = core.floors[toId].height;\n\t\tif (toX>=0 && toX<mw && toY>=0 && toY<mh && core.getBlock(toX, toY, toId)==null) {\n\t\t\tcore.status.event.ui = {'id': toId, 'x': toX, 'y': toY};\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();",
		"downFly": "(function() {\n\tvar floorId = core.status.floorId, index = core.floorIds.indexOf(floorId);\n\tif (index>0) {\n\t\tvar toId = core.floorIds[index-1], toX = core.getHeroLoc('x'), toY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width, mh = core.floors[toId].height;\n\t\tif (toX>=0 && toX<mw && toY>=0 && toY<mh && core.getBlock(toX, toY, toId)==null) {\n\t\t\tcore.status.event.ui = {'id': toId, 'x': toX, 'y': toY};\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();",
		"snow": "(function () {\n\tvar ids = [], id2s = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.id == 'lava' && core.nearHero(block.x, block.y)) {\n\t\t\tif (core.flags.snowFourDirections || (block.x == core.nextX() && block.y == core.nextY()))\n\t\t\t\tids.push(i);\n\t\t\telse id2s.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\treturn true;\n\t}\n\tif (id2s.length==1) {\n\t\tcore.status.event.ui = id2s;\n\t\treturn true;\n\t}\n\treturn false;\n})();",
		"bigKey": "(function() {\n\tvar able=false, ids = [];\n\tfor (var i in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[i];\n\t\tif (!block.disable && block.event.id == 'yellowDoor') {\n\t\t\tids.push(i);\n\t\t}\n\t}\n\tif (ids.length>0) {\n\t\tcore.status.event.ui = ids;\n\t\table=true;\n\t}\n\treturn able;\n})();",
		"poisonWine": "core.hasFlag('poison');",
		"weakWine": "core.hasFlag('weak');",
		"curseWine": "core.hasFlag('curse');",
		"superWine": "(function() {\n\treturn core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse');\n})();",
		"lifeWand": "true",
		"jumpShoes": "(function() {\n\tvar nx=core.nextX(2), ny=core.nextY(2);\n\treturn nx>=0 && nx<core.bigmap.width && ny>=0 && ny<core.bigmap.height && core.getBlockId(nx,ny)==null;\n})();",
		"redPotion": "true",
		"bluePotion": "true",
		"greenPotion": "true",
		"yellowPotion": "true",
		"redJewel": "true",
		"blueJewel": "true",
		"greenJewel": "true",
		"yellowJewel": "true",
		"skill1": "true"
	},
	"equipCondition": {}
}