MC_survival/items.js
2025-01-14 12:27:52 +08:00

3385 lines
80 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var items_296f5d02_12fd_4166_a7c1_b5e830c9ee3a =
{
"yellowKey": {
"cls": "tools",
"name": "黄钥匙",
"text": "可以打开一扇黄门",
"hideInToolbox": true
},
"blueKey": {
"cls": "tools",
"name": "蓝钥匙",
"text": "可以打开一扇蓝门",
"hideInToolbox": true
},
"redKey": {
"cls": "tools",
"name": "红钥匙",
"text": "可以打开一扇红门",
"hideInToolbox": true
},
"redGem": {
"cls": "items",
"name": "红宝石",
"text": "攻击+${core.values.redGem}",
"itemEffect": "core.status.hero.atk += core.values.redGem * core.status.thisMap.ratio",
"itemEffectTip": ",攻击+${core.values.redGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.atk += core.values.redGem",
"canUseItemEffect": "true"
},
"blueGem": {
"cls": "items",
"name": "蓝宝石",
"text": ",防御+${core.values.blueGem}",
"itemEffect": "core.status.hero.def += core.values.blueGem * core.status.thisMap.ratio",
"itemEffectTip": ",防御+${core.values.blueGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.def += core.values.blueGem",
"canUseItemEffect": "true"
},
"greenGem": {
"cls": "items",
"name": "绿宝石",
"text": ",护盾+${core.values.greenGem}",
"itemEffect": "core.status.hero.mdef += core.values.greenGem * core.status.thisMap.ratio",
"itemEffectTip": ",护盾+${core.values.greenGem * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.mdef += core.values.greenGem",
"canUseItemEffect": "true"
},
"yellowGem": {
"cls": "items",
"name": "黄宝石",
"text": "可以进行加点",
"itemEffect": "core.status.hero.hp+=1000;core.status.hero.atk+=6;core.status.hero.def+=6;core.status.hero.mdef+=10;",
"itemEffectTip": ",全属性提升",
"useItemEvent": [
{
"type": "choices",
"choices": [
{
"text": "攻击+1",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "防御+2",
"action": [
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "2"
}
]
},
{
"text": "生命+200",
"action": [
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "200"
}
]
}
]
}
],
"canUseItemEffect": "true"
},
"redPotion": {
"cls": "items",
"name": "红血瓶",
"text": ",生命+${core.values.redPotion}",
"itemEffect": "core.status.hero.hp += core.values.redPotion * core.status.thisMap.ratio",
"itemEffectTip": ",生命+${core.values.redPotion * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.hp += core.values.redPotion",
"canUseItemEffect": "true"
},
"bluePotion": {
"cls": "items",
"name": "蓝血瓶",
"text": ",生命+${core.values.bluePotion}",
"itemEffect": "core.status.hero.hp += core.values.bluePotion * core.status.thisMap.ratio",
"itemEffectTip": ",生命+${core.values.bluePotion * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.hp += core.values.bluePotion",
"canUseItemEffect": "true"
},
"yellowPotion": {
"cls": "items",
"name": "黄血瓶",
"text": ",生命+${core.values.yellowPotion}",
"itemEffect": "core.status.hero.hp += core.values.yellowPotion * core.status.thisMap.ratio",
"itemEffectTip": ",生命+${core.values.yellowPotion * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.hp += core.values.yellowPotion",
"canUseItemEffect": "true"
},
"greenPotion": {
"cls": "items",
"name": "绿血瓶",
"text": ",生命+${core.values.greenPotion}",
"itemEffect": "core.status.hero.hp += core.values.greenPotion * core.status.thisMap.ratio",
"itemEffectTip": ",生命+${core.values.greenPotion * core.status.thisMap.ratio}",
"useItemEffect": "core.status.hero.hp += core.values.greenPotion",
"canUseItemEffect": "true"
},
"sword0": {
"cls": "items",
"name": "破旧的剑",
"text": "一把已经生锈的剑",
"equip": {
"type": 0,
"animate": "sword",
"value": {
"atk": 0
}
},
"itemEffect": "core.status.hero.atk += 0",
"itemEffectTip": ",攻击+0"
},
"sword1": {
"cls": "tools",
"name": "铁剑",
"text": "一把很普通的铁剑",
"equip": null,
"itemEffect": "core.status.hero.atk += 10",
"itemEffectTip": ",攻击+10",
"useItemEvent": [],
"useItemEffect": "core.status.hero.atk += 10;"
},
"sword2": {
"cls": "items",
"name": "银剑",
"text": "一把很普通的银剑",
"equip": {
"type": 0,
"animate": "sword",
"value": {
"atk": 20
}
},
"itemEffect": "core.status.hero.atk += 20",
"itemEffectTip": ",攻击+20"
},
"sword3": {
"cls": "items",
"name": "骑士剑",
"text": "一把很普通的骑士剑",
"equip": {
"type": 0,
"animate": "sword",
"value": {
"atk": 40
}
},
"itemEffect": "core.status.hero.atk += 40",
"itemEffectTip": ",攻击+40"
},
"sword4": {
"cls": "items",
"name": "圣剑",
"text": "一把很普通的圣剑",
"equip": {
"type": 0,
"animate": "sword",
"value": {
"atk": 80
}
},
"itemEffect": "core.status.hero.atk += 80",
"itemEffectTip": ",攻击+80"
},
"sword5": {
"cls": "items",
"name": "神圣剑",
"text": "一把很普通的神圣剑",
"equip": {
"type": 0,
"animate": "sword",
"value": {
"atk": 160
}
},
"itemEffect": "core.status.hero.atk += 100",
"itemEffectTip": ",攻击+100"
},
"shield0": {
"cls": "items",
"name": "破旧的盾",
"text": "一个很破旧的铁盾",
"equip": {
"type": 1,
"value": {
"def": 0
}
},
"itemEffect": "core.status.hero.def += 0",
"itemEffectTip": ",防御+0"
},
"shield1": {
"cls": "items",
"name": "铁盾",
"text": "一个很普通的铁盾",
"equip": {
"type": 1,
"value": {
"def": 10
}
},
"itemEffect": "core.status.hero.def += 10",
"itemEffectTip": ",防御+10"
},
"shield2": {
"cls": "items",
"name": "银盾",
"text": "一个很普通的银盾",
"equip": {
"type": 1,
"value": {
"def": 20
}
},
"itemEffect": "core.status.hero.def += 20",
"itemEffectTip": ",防御+20"
},
"shield3": {
"cls": "items",
"name": "骑士盾",
"text": "一个很普通的骑士盾",
"equip": {
"type": 1,
"value": {
"def": 40
}
},
"itemEffect": "core.status.hero.def += 40",
"itemEffectTip": ",防御+40"
},
"shield4": {
"cls": "items",
"name": "圣盾",
"text": "一个很普通的圣盾",
"equip": {
"type": 1,
"value": {
"def": 80
}
},
"itemEffect": "core.status.hero.def += 80",
"itemEffectTip": ",防御+80"
},
"shield5": {
"cls": "items",
"name": "神圣盾",
"text": "一个很普通的神圣盾",
"equip": {
"type": 1,
"value": {
"def": 100,
"mdef": 100
}
},
"itemEffect": "core.status.hero.def += 100;core.status.hero.mdef += 100",
"itemEffectTip": ",防御+100护盾+100"
},
"superPotion": {
"cls": "items",
"name": "圣水",
"itemEffect": "core.status.hero.hp *= 2",
"itemEffectTip": ",生命值翻倍",
"useItemEffect": "core.status.hero.hp *= 2;core.playSound('回血');",
"canUseItemEffect": "true",
"text": "生命值翻倍"
},
"book": {
"cls": "constants",
"name": "怪物手册",
"text": "可以查看当前楼层各怪物属性",
"hideInToolbox": true,
"useItemEffect": "core.ui.drawBook(0);",
"canUseItemEffect": "true"
},
"fly": {
"cls": "constants",
"name": "楼层传送器",
"text": "可以自由往来去过的楼层",
"hideInReplay": true,
"hideInToolbox": true,
"useItemEffect": "core.ui.drawFly(core.floorIds.indexOf(core.status.floorId));",
"canUseItemEffect": "(function () {\n\tif (core.flags.flyNearStair && !core.nearStair()) return false;\n\treturn core.status.maps[core.status.floorId].canFlyFrom;\n})();"
},
"coin": {
"cls": "constants",
"name": "幸运金币",
"text": "持有时打败怪物可得双倍金币"
},
"freezeBadge": {
"cls": "constants",
"name": "冰冻徽章",
"text": "可以将面前的熔岩变成平地",
"useItemEffect": "(function () {\n\tvar success = false;\n\n\tvar snowFourDirections = false; // 是否多方向雪花如果是将其改成true\n\tif (snowFourDirections) {\n\t\t// 多方向雪花\n\t\tfor (var direction in core.utils.scan) { // 多方向雪花默认四方向如需改为八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (core.getBlockId(nx, ny) == 'lava') {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif (core.getBlockId(core.nextX(), core.nextY()) == 'lava') {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('打开界面');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();",
"canUseItemEffect": "true"
},
"cross": {
"cls": "constants",
"name": "十字架",
"text": "持有后无视怪物的无敌属性"
},
"dagger": {
"cls": "constants",
"name": "屠龙匕首",
"text": "该道具尚未被定义"
},
"amulet": {
"cls": "constants",
"name": "护符",
"text": "持有时无视负面地形",
"useItemEvent": [],
"useItemEffect": "core.status.hero.hpmax += 10;"
},
"bigKey": {
"cls": "tools",
"name": "大黄门钥匙",
"text": "可以开启当前层所有黄门",
"itemEffect": "core.addItem('yellowKey', 1);\ncore.addItem('blueKey', 1);\ncore.addItem('redKey', 1);",
"itemEffectTip": ",全钥匙+1",
"useItemEffect": "(function () {\n\tvar actions = core.searchBlock(\"yellowDoor\").map(function (block) {\n\t\treturn { \"type\": \"openDoor\", \"loc\": [block.x, block.y], \"async\": true };\n\t});\n\tactions.push({ \"type\": \"waitAsync\" });\n\tactions.push({ \"type\": \"tip\", \"text\": core.material.items[itemId].name + \"使用成功\" });\n\tcore.insertAction(actions);\n})();",
"canUseItemEffect": "(function () {\n\treturn core.searchBlock('yellowDoor').length > 0;\n})();"
},
"greenKey": {
"cls": "tools",
"name": "绿钥匙",
"text": "可以打开一扇绿门"
},
"steelKey": {
"cls": "tools",
"name": "铁门钥匙",
"text": "可以打开一扇铁门"
},
"pickaxe": {
"cls": "tools",
"name": "破墙镐",
"text": "可以破坏勇士面前的墙",
"useItemEffect": "(function () {\n\tvar canBreak = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable) return false;\n\t\treturn block.event.canBreak;\n\t};\n\n\tvar success = false;\n\tvar pickaxeFourDirections = false; // 是否多方向破如果是将其改成true\n\tif (pickaxeFourDirections) {\n\t\t// 多方向破\n\t\tfor (var direction in core.utils.scan) { // 多方向破默认四方向如需改成八方向请将这两个scan改为scan2\n\t\t\tvar delta = core.utils.scan[direction];\n\t\t\tvar nx = core.getHeroLoc('x') + delta.x,\n\t\t\t\tny = core.getHeroLoc('y') + delta.y;\n\t\t\tif (canBreak(nx, ny)) {\n\t\t\t\tcore.removeBlock(nx, ny);\n\t\t\t\tsuccess = true;\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// 仅破当前\n\t\tif (canBreak(core.nextX(), core.nextY())) {\n\t\t\tcore.removeBlock(core.nextX(), core.nextY());\n\t\t\tsuccess = true;\n\t\t}\n\t}\n\n\tif (success) {\n\t\tcore.playSound('破墙镐');\n\t\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\t} else {\n\t\t// 无法使用\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n})();",
"canUseItemEffect": "true"
},
"icePickaxe": {
"cls": "tools",
"name": "破冰镐",
"text": "可以破坏勇士面前的一堵冰墙",
"useItemEffect": "(function () {\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\tcore.insertAction({ \"type\": \"openDoor\", \"loc\": [\"core.nextX()\", \"core.nextY()\"] });\n})();",
"canUseItemEffect": "(function () {\n\treturn core.getBlockId(core.nextX(), core.nextY()) == 'ice';\n})();"
},
"bomb": {
"cls": "tools",
"name": "炸弹",
"text": "可以炸掉勇士面前的怪物",
"useItemEffect": "(function () {\n\tvar bombList = []; // 炸掉的怪物坐标列表\n\tvar todo = []; // 炸弹后事件\n\tvar money = 0,\n\t\texp = 0; // 炸弹获得的金币和经验\n\n\tvar canBomb = function (x, y) {\n\t\tvar block = core.getBlock(x, y);\n\t\tif (block == null || block.disable || block.event.cls.indexOf('enemy') != 0) return false;\n\t\tvar enemy = core.material.enemys[block.event.id];\n\t\treturn enemy && !enemy.notBomb;\n\t};\n\n\tvar bomb = function (x, y) {\n\t\tif (!canBomb(x, y)) return;\n\t\tbombList.push([x, y]);\n\t\tvar id = core.getBlockId(x, y),\n\t\t\tenemy = core.material.enemys[id];\n\t\tmoney += core.getEnemyValue(enemy, 'money', x, y) || 0;\n\t\texp += core.getEnemyValue(enemy, 'exp', x, y) || 0;\n\t\tcore.push(todo, core.floors[core.status.floorId].afterBattle[x + \",\" + y]);\n\t\tcore.push(todo, enemy.afterBattle);\n\t\tcore.removeBlock(x, y);\n\t}\n\n\t// 如果要多方向可炸把这里的false改成true\n\tif (false) {\n\t\tvar scan = core.utils.scan; // 多方向炸时默认四方向,如果要改成八方向炸可以改成 core.utils.scan2\n\t\tfor (var direction in scan) {\n\t\t\tvar delta = scan[direction];\n\t\t\tbomb(core.getHeroLoc('x') + delta.x, core.getHeroLoc('y') + delta.y);\n\t\t}\n\t} else {\n\t\t// 仅炸当前\n\t\tbomb(core.nextX(), core.nextY());\n\t}\n\n\tif (bombList.length == 0) {\n\t\tcore.playSound('操作失败');\n\t\tcore.drawTip('当前无法使用' + core.material.items[itemId].name, itemId);\n\t\tcore.addItem(itemId, 1);\n\t\treturn;\n\t}\n\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功', itemId);\n\n\t// 取消这里的注释可以炸弹后获得金币和经验\n\t// core.status.hero.money += money;\n\t// core.status.hero.exp += exp;\n\n\t// 取消这里的注释可以炸弹引发战后事件\n\t// if (todo.length > 0) core.insertAction(todo);\n\n})();",
"canUseItemEffect": "true"
},
"centerFly": {
"cls": "tools",
"name": "中心对称飞行器",
"text": "可以飞向当前楼层中心对称的位置",
"useItemEffect": "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 + '使用成功');",
"canUseItemEffect": "(function () {\n\tvar toX = core.bigmap.width - 1 - core.getHeroLoc('x'),\n\t\ttoY = core.bigmap.height - 1 - core.getHeroLoc('y');\n\tvar id = core.getBlockId(toX, toY);\n\treturn id == null;\n})();"
},
"upFly": {
"cls": "tools",
"name": "上楼器",
"text": "可以飞往楼上的相同位置",
"useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) + 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();",
"canUseItemEffect": "(function () {\n\tvar floorId = core.status.floorId,\n\t\tindex = core.floorIds.indexOf(floorId);\n\tif (index < core.floorIds.length - 1) {\n\t\tvar toId = core.floorIds[index + 1],\n\t\t\ttoX = core.getHeroLoc('x'),\n\t\t\ttoY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width,\n\t\t\tmh = core.floors[toId].height;\n\t\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();"
},
"downFly": {
"cls": "tools",
"name": "下楼器",
"text": "可以飞往楼下的相同位置",
"useItemEffect": "(function () {\n\tvar floorId = core.floorIds[core.floorIds.indexOf(core.status.floorId) - 1];\n\tif (core.status.event.id == 'action') {\n\t\tcore.insertAction([\n\t\t\t{ \"type\": \"changeFloor\", \"loc\": [core.getHeroLoc('x'), core.getHeroLoc('y')], \"floorId\": floorId },\n\t\t\t{ \"type\": \"tip\", \"text\": core.material.items[itemId].name + '使用成功' }\n\t\t]);\n\t} else {\n\t\tcore.changeFloor(floorId, null, core.status.hero.loc, null, function () {\n\t\t\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n\t\t\tcore.replay();\n\t\t});\n\t}\n})();",
"canUseItemEffect": "(function () {\n\tvar floorId = core.status.floorId,\n\t\tindex = core.floorIds.indexOf(floorId);\n\tif (index > 0) {\n\t\tvar toId = core.floorIds[index - 1],\n\t\t\ttoX = core.getHeroLoc('x'),\n\t\t\ttoY = core.getHeroLoc('y');\n\t\tvar mw = core.floors[toId].width,\n\t\t\tmh = core.floors[toId].height;\n\t\tif (toX >= 0 && toX < mw && toY >= 0 && toY < mh && core.getBlock(toX, toY, toId) == null) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n})();"
},
"earthquake": {
"cls": "tools",
"name": "地震卷轴",
"text": "可以破坏当前层的所有墙",
"useItemEffect": "(function () {\n\tvar indexes = [];\n\tfor (var index in core.status.thisMap.blocks) {\n\t\tvar block = core.status.thisMap.blocks[index];\n\t\tif (!block.disable && block.event.canBreak) {\n\t\t\tindexes.push(index);\n\t\t}\n\t}\n\tcore.removeBlockByIndexes(indexes);\n\tcore.redrawMap();\n\tcore.playSound('炸弹');\n\tcore.drawTip(core.material.items[itemId].name + '使用成功');\n})();",
"canUseItemEffect": "(function () {\n\treturn core.status.thisMap.blocks.filter(function (block) {\n\t\treturn !block.disable && block.event.canBreak;\n\t}).length > 0;\n})();"
},
"poisonWine": {
"cls": "tools",
"name": "解毒药水",
"text": "可以解除中毒状态",
"useItemEffect": "core.triggerDebuff('remove', 'poison');",
"canUseItemEffect": "core.hasFlag('poison');"
},
"weakWine": {
"cls": "tools",
"name": "解衰药水",
"text": "可以解除衰弱状态",
"useItemEffect": "core.triggerDebuff('remove', 'weak');",
"canUseItemEffect": "core.hasFlag('weak');"
},
"curseWine": {
"cls": "tools",
"name": "解咒药水",
"text": "可以解除诅咒状态",
"useItemEffect": "core.triggerDebuff('remove', 'curse');",
"canUseItemEffect": "core.hasFlag('curse');"
},
"superWine": {
"cls": "tools",
"name": "万能药水",
"text": "可以解除所有不良状态",
"useItemEffect": "core.triggerDebuff('remove', ['poison', 'weak', 'curse']);",
"canUseItemEffect": "(function() {\n\treturn core.hasFlag('poison') || core.hasFlag('weak') || core.hasFlag('curse');\n})();"
},
"hammer": {
"cls": "tools",
"name": "圣锤",
"text": "该道具尚未被定义"
},
"lifeWand": {
"cls": "tools",
"name": "生命魔杖",
"text": "可以恢复100点生命值",
"useItemEvent": [
{
"type": "comment",
"text": "先恢复一个魔杖(因为使用道具必须消耗一个)"
},
{
"type": "function",
"function": "function(){\ncore.addItem('lifeWand', 1);\n}"
},
{
"type": "playSound",
"name": "打开界面"
},
{
"type": "input",
"text": "请输入生命魔杖使用次数:(0-${item:lifeWand})"
},
{
"type": "comment",
"text": "【接受用户输入】弹窗输入的结果将会保存在“flag:input”中\n如果需要更多帮助请查阅帮助文档"
},
{
"type": "if",
"condition": "flag:input<=item:lifeWand",
"true": [
{
"type": "setValue",
"name": "item:lifeWand",
"operator": "-=",
"value": "flag:input"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "flag:input*100"
},
{
"type": "playSound",
"name": "回血"
},
"成功使用${flag:input}次生命魔杖,恢复${flag:input*100}点生命。"
],
"false": [
{
"type": "playSound",
"name": "操作失败"
},
"输入不合法!"
]
}
],
"canUseItemEffect": "true"
},
"jumpShoes": {
"cls": "tools",
"name": "跳跃靴",
"text": "能跳跃到前方两格处",
"useItemEffect": "core.playSound(\"跳跃\");\ncore.insertAction({ \"type\": \"jumpHero\", \"loc\": [core.nextX(2), core.nextY(2)] });",
"canUseItemEffect": "(function () {\n\tvar nx = core.nextX(2),\n\t\tny = core.nextY(2);\n\treturn nx >= 0 && nx < core.bigmap.width && ny >= 0 && ny < core.bigmap.height && core.getBlockId(nx, ny) == null;\n})();"
},
"skill1": {
"cls": "constants",
"name": "技能:二倍斩",
"text": "可以打开或关闭主动技能二倍斩",
"hideInReplay": true,
"useItemEffect": "(function () {\n\tvar skillValue = 1; // 技能的flag:skill值可用于当前开启技能的判定对于新技能可以依次改成23等等\n\tvar skillNeed = 5; // 技能的需求\n\tvar skillName = '二倍斩'; // 技能的名称\n\n\tif (core.getFlag('skill', 0) != skillValue) { // 判断当前是否已经开了技能\n\t\tif (core.getStatus('mana') >= skillNeed) { // 这里要写当前能否开技能的条件判断,比如魔力值至少要多少\n\t\t\tcore.playSound('打开界面');\n\t\t\tcore.setFlag('skill', skillValue); // 开技能1\n\t\t\tcore.setFlag('skillName', skillName); // 设置技能名\n\t\t} else {\n\t\t\tcore.playSound('操作失败');\n\t\t\tcore.drawTip('魔力不足,无法开启技能');\n\t\t}\n\t} else { // 关闭技能\n\t\tcore.setFlag('skill', 0); // 关闭技能状态\n\t\tcore.setFlag('skillName', '无');\n\t}\n})();",
"canUseItemEffect": "true"
},
"wand": {
"cls": "items",
"name": "新物品"
},
"pack": {
"cls": "items",
"name": "钱袋",
"itemEffect": "core.status.hero.money += 500",
"itemEffectTip": ",金币+500"
},
"I466": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I467": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I468": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I469": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I470": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I471": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I472": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I473": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I474": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I475": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I476": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I477": {
"cls": "constants",
"name": "传送器",
"canUseItemEffect": "true",
"text": null,
"useItemEvent": [
{
"type": "choices",
"text": "请选择你的目的",
"choices": [
{
"text": "去后一楼",
"action": [
{
"type": "changeFloor",
"floorId": ":next",
"loc": [
30,
30
],
"time": 300
}
]
},
{
"text": "加10速度",
"action": [
{
"type": "function",
"function": "function(){\ncore.values.moveSpeed += 10;\ncore.drawTip(\"当前速度:${core.values.moveSpeed}\");\n}"
}
]
},
{
"text": "减10速度",
"action": [
{
"type": "function",
"function": "function(){\ncore.values.moveSpeed -= 10;\ncore.drawTip(\"当前速度:${core.values.moveSpeed}\");\n}"
}
]
},
{
"text": "退出",
"action": []
}
]
}
]
},
"I478": {
"cls": "tools",
"name": "铁锭",
"canUseItemEffect": "true",
"text": "一块铁锭"
},
"I479": {
"cls": "tools",
"name": "小麦",
"canUseItemEffect": "true",
"text": "一个小麦",
"useItemEffect": ""
},
"I480": {
"cls": "tools",
"name": "面包",
"canUseItemEffect": "true",
"text": "一块面包",
"isfood": false
},
"I481": {
"cls": "tools",
"name": "箱子",
"canUseItemEffect": "true",
"text": "一个箱子",
"useItemEffect": "if (!core.getBlockNumber(hero.loc.x, hero.loc.y)) {\n\tcore.setBlock(\"T314\", hero.loc.x, hero.loc.y)\n} else {\n\tcore.playSound('操作失败');\n\tcore.drawTip(\"当前无法使用\" + core.material.items[itemId].name);\n\tcore.addItem(itemId, 1);\n}"
},
"I482": {
"cls": "equips",
"name": "皮革帽子",
"canUseItemEffect": "true",
"text": "一件皮革帽子",
"equip": {
"type": 2,
"value": {
"def": 1
},
"percentage": {}
}
},
"I483": {
"cls": "equips",
"name": "皮革外套",
"canUseItemEffect": "true",
"text": "一件皮革外套",
"useItemEffect": null,
"equip": {
"type": 3,
"value": {
"def": 1
},
"percentage": {}
}
},
"I484": {
"cls": "equips",
"name": "皮革裤子",
"canUseItemEffect": "true",
"text": "一件皮革裤子",
"equip": {
"type": 4,
"value": {
"def": 1
},
"percentage": {}
}
},
"I485": {
"cls": "equips",
"name": "皮革靴子",
"canUseItemEffect": "true",
"equip": {
"type": 5,
"value": {
"def": 1
},
"percentage": {}
},
"useItemEffect": "",
"text": "一双皮革靴子"
},
"I486": {
"cls": "equips",
"name": "铁头盔",
"canUseItemEffect": "true",
"text": "一个铁头盔",
"equip": {
"type": 2,
"value": {
"def": 1
},
"percentage": {}
}
},
"I487": {
"cls": "equips",
"name": "铁胸甲",
"canUseItemEffect": "true",
"text": "一个铁胸甲",
"equip": {
"type": 3,
"value": {
"def": 1
},
"percentage": {}
}
},
"I488": {
"cls": "equips",
"name": "铁护腿",
"canUseItemEffect": "true",
"text": "一个铁护腿",
"equip": {
"type": 4,
"value": {
"def": 1
},
"percentage": {}
}
},
"I489": {
"cls": "equips",
"name": "铁靴子",
"canUseItemEffect": "true",
"text": "一双铁靴子",
"equip": {
"type": 5,
"value": {
"def": 1
},
"percentage": {}
}
},
"I490": {
"cls": "equips",
"name": "木盾",
"canUseItemEffect": "true",
"text": "一个木盾",
"equip": {
"type": 1,
"value": {},
"percentage": {}
}
},
"I491": {
"cls": "equips",
"name": "石锄",
"canUseItemEffect": "true",
"text": "一个石锄",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I492": {
"cls": "tools",
"name": "小麦种子",
"canUseItemEffect": "true",
"text": "一个小麦种子"
},
"I493": {
"cls": "tools",
"name": "钻石",
"canUseItemEffect": "true",
"text": "一颗钻石",
"equip": null
},
"I494": {
"cls": "tools",
"name": "原石",
"canUseItemEffect": "true",
"text": "一块原石"
},
"I495": {
"cls": "equips",
"name": "木弓",
"canUseItemEffect": "true",
"text": "一把木弓",
"equip": {
"type": 0,
"value": {
"atk": 1
},
"percentage": {}
}
},
"I496": {
"cls": "equips",
"name": "铁剑",
"canUseItemEffect": "true",
"text": "一把铁剑",
"equip": {
"type": 0,
"value": {
"atk": 1
},
"percentage": {}
}
},
"I497": {
"cls": "equips",
"name": "钻石剑",
"canUseItemEffect": "true",
"text": "一把钻石剑",
"equip": {
"type": 0,
"value": {
"atk": 2
},
"percentage": {}
}
},
"I498": {
"cls": "equips",
"name": "木镐",
"canUseItemEffect": "true",
"text": "一个木镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I499": {
"cls": "equips",
"name": "铁镐",
"canUseItemEffect": "true",
"text": "一个铁镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I500": {
"cls": "equips",
"name": "钻石镐",
"canUseItemEffect": "true",
"text": "一个钻石镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I501": {
"cls": "equips",
"name": "石斧",
"canUseItemEffect": "true",
"equip": {
"type": 0,
"value": {},
"percentage": {}
},
"text": "一个石斧",
"useItemEvent": []
},
"I502": {
"cls": "equips",
"name": "铁斧",
"canUseItemEffect": "true",
"equip": {
"type": 0,
"value": {},
"percentage": {}
},
"text": "一个铁斧"
},
"I503": {
"cls": "equips",
"name": "钻石斧",
"canUseItemEffect": "true",
"useItemEffect": null,
"text": "一个钻石斧",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I504": {
"cls": "equips",
"name": "石锹",
"canUseItemEffect": "true",
"text": "一个石锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I505": {
"cls": "equips",
"name": "钻石锹",
"canUseItemEffect": "true",
"text": "一个钻石锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I506": {
"cls": "equips",
"name": "金锹",
"canUseItemEffect": "true",
"text": "一个金锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I507": {
"cls": "tools",
"name": "马铃薯",
"canUseItemEffect": "true",
"text": "一个马铃薯"
},
"I508": {
"cls": "tools",
"name": "胡萝卜",
"canUseItemEffect": "true",
"text": "一个胡萝卜"
},
"I509": {
"cls": "constants",
"name": "钟",
"canUseItemEffect": "true",
"useItemEffect": "core.drawTip(\"当前时间:\" + flags.timePeriod + Math.floor(flags.time / 60) + \":\" + (flags.time % 60).toString().padStart(2, '0'));",
"text": "一个钟"
},
"I510": {
"cls": "tools",
"name": "",
"canUseItemEffect": "true",
"text": null
},
"I511": {
"cls": "tools",
"name": "泥土",
"canUseItemEffect": "true",
"text": "放置后会根据环境变成对应的草皮"
},
"I512": {
"cls": "tools",
"name": "雪块",
"canUseItemEffect": "true",
"text": "一个雪块"
},
"I513": {
"cls": "tools",
"name": "沙子",
"canUseItemEffect": "true",
"text": "一个沙子"
},
"I514": {
"cls": "tools",
"name": "红沙",
"canUseItemEffect": "true",
"text": "一个红沙"
},
"I515": {
"cls": "tools",
"name": "圆石",
"canUseItemEffect": "true",
"text": "一个圆石"
},
"I516": {
"cls": "tools",
"name": "石头",
"text": "一个石头"
},
"I517": {
"cls": "tools",
"name": "菌丝",
"canUseItemEffect": "true",
"text": "可用于种蘑菇"
},
"I518": {
"cls": "tools",
"name": "玻璃",
"canUseItemEffect": "true",
"text": "一个玻璃"
},
"I519": {
"cls": "tools",
"name": "黑曜石",
"canUseItemEffect": "true",
"text": "一个黑曜石"
},
"I520": {
"cls": "tools",
"name": "沙砾",
"canUseItemEffect": "true",
"text": "挖掉时有概率获得燧石"
},
"I521": {
"cls": "tools",
"name": "砂岩",
"canUseItemEffect": "true",
"text": "一个砂岩"
},
"I522": {
"cls": "tools",
"name": "羊毛",
"canUseItemEffect": "true",
"text": "一个羊毛"
},
"I523": {
"cls": "tools",
"name": "煤炭",
"canUseItemEffect": "true",
"text": "用作燃料"
},
"I524": {
"cls": "tools",
"name": "粗铁",
"canUseItemEffect": "true",
"text": "可烧成铁锭"
},
"I525": {
"cls": "tools",
"name": "粗铜",
"canUseItemEffect": "true",
"text": "可烧成铜锭"
},
"I526": {
"cls": "tools",
"name": "粗金",
"canUseItemEffect": "true",
"text": "可烧成金锭"
},
"I527": {
"cls": "tools",
"name": "铁锭",
"canUseItemEffect": "true",
"text": "一个铁锭"
},
"I528": {
"cls": "tools",
"name": "铜锭",
"canUseItemEffect": "true",
"text": "一个铜锭"
},
"I529": {
"cls": "tools",
"name": "金锭",
"canUseItemEffect": "true",
"text": "一个金锭"
},
"I530": {
"cls": "tools",
"name": "红石",
"canUseItemEffect": "true",
"text": "一个红石粉"
},
"I531": {
"cls": "tools",
"name": "青金石",
"canUseItemEffect": "true",
"text": "可用于附魔"
},
"I532": {
"cls": "tools",
"name": "钻石",
"canUseItemEffect": "true",
"text": "一个钻石"
},
"I533": {
"cls": "tools",
"name": "绿宝石",
"canUseItemEffect": "true",
"text": "一个绿宝石"
},
"I534": {
"cls": "tools",
"name": "紫水晶簇",
"canUseItemEffect": "true",
"text": "一个紫水晶簇"
},
"I535": {
"cls": "tools",
"name": "煤炭块",
"canUseItemEffect": "true",
"text": "用作燃料"
},
"I536": {
"cls": "tools",
"name": "铁块",
"canUseItemEffect": "true",
"text": "一个铁块"
},
"I537": {
"cls": "tools",
"name": "铜块",
"canUseItemEffect": "true",
"text": "一个铜块"
},
"I538": {
"cls": "tools",
"name": "金块",
"canUseItemEffect": "true",
"text": "一个金块"
},
"I539": {
"cls": "tools",
"name": "红石块",
"canUseItemEffect": "true",
"text": "一个红石块"
},
"I540": {
"cls": "tools",
"name": "青金石块",
"canUseItemEffect": "true",
"text": "一个青金石块"
},
"I541": {
"cls": "tools",
"name": "钻石块",
"canUseItemEffect": "true",
"text": "一个钻石块"
},
"I542": {
"cls": "tools",
"name": "绿宝石块",
"canUseItemEffect": "true",
"text": "一个绿宝石块"
},
"I543": {
"cls": "tools",
"name": "紫水晶块",
"canUseItemEffect": "true",
"text": "一个紫水晶块"
},
"I544": {
"cls": "tools",
"name": "橡树树苗",
"canUseItemEffect": "true",
"text": "可长成橡树"
},
"I545": {
"cls": "tools",
"name": "白桦树苗",
"canUseItemEffect": "true",
"text": "可长成白桦树"
},
"I546": {
"cls": "tools",
"name": "云杉树苗",
"canUseItemEffect": "true",
"text": "可长成云杉树"
},
"I547": {
"cls": "tools",
"name": "丛林树苗",
"canUseItemEffect": "true",
"text": "可长成丛林树"
},
"I548": {
"cls": "tools",
"name": "金合欢树苗",
"canUseItemEffect": "true",
"text": "可长成金合欢树"
},
"I549": {
"cls": "tools",
"name": "橡木原木",
"canUseItemEffect": "true",
"text": "一个橡木原木"
},
"I550": {
"cls": "tools",
"name": "白桦原木",
"canUseItemEffect": "true",
"text": "一个白桦原木"
},
"I551": {
"cls": "tools",
"name": "云杉原木",
"canUseItemEffect": "true",
"text": "一个云杉原木"
},
"I552": {
"cls": "tools",
"name": "丛林原木",
"canUseItemEffect": "true",
"text": "一个丛林原木"
},
"I553": {
"cls": "tools",
"name": "金合欢原木",
"canUseItemEffect": "true",
"text": "一个金合欢原木"
},
"I554": {
"cls": "tools",
"name": "橡木木板",
"canUseItemEffect": "true",
"text": "一个橡木木板"
},
"I555": {
"cls": "tools",
"name": "白桦木板",
"canUseItemEffect": "true",
"text": "一个白桦木板"
},
"I556": {
"cls": "tools",
"name": "云杉木板",
"canUseItemEffect": "true",
"text": "一个云杉木板"
},
"I557": {
"cls": "tools",
"name": "丛林木板",
"canUseItemEffect": "true",
"text": "一个丛林木板"
},
"I558": {
"cls": "tools",
"name": "金合欢木板",
"canUseItemEffect": "true",
"text": "一个金合欢木板"
},
"I559": {
"cls": "tools",
"name": "箱子",
"canUseItemEffect": "true",
"text": "装有物品的箱子被破坏后将损失所有物品"
},
"I560": {
"cls": "tools",
"name": "工作台",
"canUseItemEffect": "true",
"text": "用于制作更多物品"
},
"I561": {
"cls": "tools",
"name": "熔炉",
"canUseItemEffect": "true",
"text": "用于烧制食物和矿物"
},
"I562": {
"cls": "tools",
"name": "酿造台",
"canUseItemEffect": "true",
"text": "用于酿造药水"
},
"I563": {
"cls": "tools",
"name": "附魔台",
"canUseItemEffect": "true",
"text": "用于附魔"
},
"I564": {
"cls": "tools",
"name": "铁砧",
"canUseItemEffect": "true",
"text": "一个铁砧"
},
"I565": {
"cls": "tools",
"name": "床",
"canUseItemEffect": "true",
"text": "用于设置重生点"
},
"I566": {
"cls": "tools",
"name": "末影箱",
"canUseItemEffect": "true",
"text": "所有末影箱共用一个存储空间"
},
"I567": {
"cls": "tools",
"name": "篝火",
"canUseItemEffect": "true",
"text": "提供大范围照明,天亮后熄灭"
},
"I568": {
"cls": "tools",
"name": "垃圾桶",
"canUseItemEffect": "true",
"text": "不需要的东西可以丢在里面"
},
"I569": {
"cls": "equips",
"name": "木剑",
"canUseItemEffect": "true",
"text": "一个木剑",
"equip": {
"type": 0,
"value": {
"atk": 1
},
"percentage": {}
}
},
"I570": {
"cls": "equips",
"name": "石剑",
"canUseItemEffect": "true",
"text": "一个石剑",
"equip": {
"type": 0,
"value": {
"atk": 2
},
"percentage": {}
}
},
"I571": {
"cls": "equips",
"name": "铁剑",
"canUseItemEffect": "true",
"text": "一个铁剑",
"equip": {
"type": 0,
"value": {
"atk": 5
},
"percentage": {}
}
},
"I572": {
"cls": "equips",
"name": "金剑",
"canUseItemEffect": "true",
"text": "一个金剑",
"equip": {
"type": 0,
"value": {
"atk": 4
},
"percentage": {}
}
},
"I573": {
"cls": "equips",
"name": "钻石剑",
"canUseItemEffect": "true",
"text": "一个钻石剑",
"equip": {
"type": 0,
"value": {
"atk": 10
},
"percentage": {}
}
},
"I574": {
"cls": "equips",
"name": "木斧",
"canUseItemEffect": "true",
"text": "一个木斧",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I575": {
"cls": "equips",
"name": "石斧",
"canUseItemEffect": "true",
"text": "一个石斧",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I576": {
"cls": "equips",
"name": "铁斧",
"canUseItemEffect": "true",
"text": "一个铁斧",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I577": {
"cls": "equips",
"name": "金斧",
"canUseItemEffect": "true",
"text": "一个金斧",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I578": {
"cls": "equips",
"name": "钻石斧",
"canUseItemEffect": "true",
"text": "一个钻石斧",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I579": {
"cls": "equips",
"name": "木镐",
"canUseItemEffect": "true",
"text": "一个木镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I580": {
"cls": "equips",
"name": "石镐",
"canUseItemEffect": "true",
"text": "一个石镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I581": {
"cls": "equips",
"name": "铁镐",
"canUseItemEffect": "true",
"text": "一个铁镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I582": {
"cls": "equips",
"name": "金镐",
"canUseItemEffect": "true",
"text": "一个金镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I583": {
"cls": "equips",
"name": "钻石镐",
"canUseItemEffect": "true",
"text": "一个钻石镐",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I584": {
"cls": "equips",
"name": "木锹",
"canUseItemEffect": "true",
"text": "一个木锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I585": {
"cls": "equips",
"name": "石锹",
"canUseItemEffect": "true",
"text": "一个石锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I586": {
"cls": "equips",
"name": "铁锹",
"canUseItemEffect": "true",
"text": "一个铁锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I587": {
"cls": "equips",
"name": "金锹",
"canUseItemEffect": "true",
"text": "一个金锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I588": {
"cls": "equips",
"name": "钻石锹",
"canUseItemEffect": "true",
"text": "一个钻石锹",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I589": {
"cls": "equips",
"name": "木锄",
"canUseItemEffect": "true",
"text": "一个木锄",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I590": {
"cls": "equips",
"name": "石锄",
"canUseItemEffect": "true",
"text": "一个石锄",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I591": {
"cls": "equips",
"name": "铁锄",
"canUseItemEffect": "true",
"text": "一个铁锄",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I592": {
"cls": "equips",
"name": "金锄",
"canUseItemEffect": "true",
"text": "一个金锄",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I593": {
"cls": "equips",
"name": "钻石锄",
"canUseItemEffect": "true",
"text": "一个钻石锄",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I594": {
"cls": "equips",
"name": "皮革帽子",
"canUseItemEffect": "true",
"text": "一个皮革帽子",
"equip": {
"type": 2,
"value": {
"def": 1
},
"percentage": {}
}
},
"I595": {
"cls": "equips",
"name": "皮革外套",
"canUseItemEffect": "true",
"text": "一个皮革外套",
"equip": {
"type": 3,
"value": {
"def": 1
},
"percentage": {}
}
},
"I596": {
"cls": "equips",
"name": "皮革裤子",
"canUseItemEffect": "true",
"text": "一个皮革裤子",
"equip": {
"type": 4,
"value": {
"def": 1
},
"percentage": {}
}
},
"I597": {
"cls": "equips",
"name": "皮革靴子",
"canUseItemEffect": "true",
"text": "一个皮革靴子",
"equip": {
"type": 5,
"value": {
"def": 1
},
"percentage": {}
}
},
"I598": {
"cls": "equips",
"name": "铜头盔",
"canUseItemEffect": "true",
"text": "一个铜头盔",
"equip": {
"type": 2,
"value": {
"def": 1
},
"percentage": {}
}
},
"I599": {
"cls": "equips",
"name": "铜胸甲",
"canUseItemEffect": "true",
"text": "一个铜胸甲",
"equip": {
"type": 3,
"value": {
"def": 2
},
"percentage": {}
}
},
"I600": {
"cls": "equips",
"name": "铜护腿",
"canUseItemEffect": "true",
"text": "一个铜护腿",
"equip": {
"type": 4,
"value": {
"def": 2
},
"percentage": {}
}
},
"I601": {
"cls": "equips",
"name": "铜靴子",
"canUseItemEffect": "true",
"text": "一个铜靴子",
"equip": {
"type": 5,
"value": {
"def": 1
},
"percentage": {}
}
},
"I602": {
"cls": "equips",
"name": "铁头盔",
"canUseItemEffect": "true",
"text": "一个铁头盔",
"equip": {
"type": 2,
"value": {
"def": 2
},
"percentage": {}
}
},
"I603": {
"cls": "equips",
"name": "铁胸甲",
"canUseItemEffect": "true",
"text": "一个铁胸甲",
"equip": {
"type": 3,
"value": {
"def": 3
},
"percentage": {}
}
},
"I604": {
"cls": "equips",
"name": "铁护腿",
"canUseItemEffect": "true",
"text": "一个铁护腿",
"equip": {
"type": 4,
"value": {
"def": 2
},
"percentage": {}
}
},
"I605": {
"cls": "equips",
"name": "铁靴子",
"canUseItemEffect": "true",
"text": "一个铁靴子",
"equip": {
"type": 5,
"value": {
"def": 2
},
"percentage": {}
}
},
"I606": {
"cls": "equips",
"name": "金头盔",
"canUseItemEffect": "true",
"text": "一个金头盔",
"equip": {
"type": 2,
"value": {
"def": 1
},
"percentage": {}
}
},
"I607": {
"cls": "equips",
"name": "金胸甲",
"canUseItemEffect": "true",
"text": "一个金胸甲",
"equip": {
"type": 3,
"value": {
"def": 2
},
"percentage": {}
}
},
"I608": {
"cls": "equips",
"name": "金护腿",
"canUseItemEffect": "true",
"text": "一个金护腿",
"equip": {
"type": 4,
"value": {
"def": 2
},
"percentage": {}
}
},
"I609": {
"cls": "equips",
"name": "金靴子",
"canUseItemEffect": "true",
"text": "一个金靴子",
"equip": {
"type": 5,
"value": {
"def": 1
},
"percentage": {}
}
},
"I610": {
"cls": "equips",
"name": "钻石头盔",
"canUseItemEffect": "true",
"text": "一个钻石头盔",
"equip": {
"type": 2,
"value": {
"def": 3
},
"percentage": {}
}
},
"I611": {
"cls": "equips",
"name": "钻石胸甲",
"canUseItemEffect": "true",
"text": "一个钻石胸甲",
"equip": {
"type": 3,
"value": {
"def": 4
},
"percentage": {}
}
},
"I612": {
"cls": "equips",
"name": "钻石护腿",
"canUseItemEffect": "true",
"text": "一个钻石护腿",
"equip": {
"type": 4,
"value": {
"def": 3
},
"percentage": {}
}
},
"I613": {
"cls": "equips",
"name": "钻石靴子",
"canUseItemEffect": "true",
"text": "一个钻石靴子",
"equip": {
"type": 5,
"value": {
"def": 3
},
"percentage": {}
}
},
"I614": {
"cls": "equips",
"name": "弓",
"canUseItemEffect": "true",
"text": "一个弓",
"equip": {
"type": 0,
"value": {
"atk": 4
},
"percentage": {}
}
},
"I615": {
"cls": "tools",
"name": "箭",
"canUseItemEffect": "true",
"text": "一个箭"
},
"I616": {
"cls": "tools",
"name": "剪刀",
"canUseItemEffect": "true",
"text": "一个剪刀"
},
"I617": {
"cls": "equips",
"name": "木盾",
"canUseItemEffect": "true",
"text": "一个木盾",
"equip": {
"type": 1,
"value": {
"def": 1
},
"percentage": {}
}
},
"I618": {
"cls": "equips",
"name": "铜盾",
"canUseItemEffect": "true",
"text": "一个铜盾",
"equip": {
"type": 1,
"value": {
"def": 2
},
"percentage": {}
}
},
"I619": {
"cls": "equips",
"name": "钻石盾",
"canUseItemEffect": "true",
"text": "一个钻石盾",
"equip": {
"type": 1,
"value": {
"def": 3
},
"percentage": {}
}
},
"I620": {
"cls": "tools",
"name": "不死图腾",
"canUseItemEffect": "true",
"text": "受到致命伤害时使你保留1点血仅在物品栏时生效"
},
"I621": {
"cls": "tools",
"name": "小麦种子",
"canUseItemEffect": "true",
"text": "一个小麦种子"
},
"I622": {
"cls": "tools",
"name": "西瓜种子",
"canUseItemEffect": "true",
"text": "一个西瓜种子"
},
"I623": {
"cls": "tools",
"name": "马铃薯",
"canUseItemEffect": "true",
"text": "一个马铃薯"
},
"I624": {
"cls": "tools",
"name": "烤马铃薯",
"canUseItemEffect": "true",
"text": "食用恢复25饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 25;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I625": {
"cls": "tools",
"name": "小麦",
"canUseItemEffect": "true",
"text": "一个小麦"
},
"I626": {
"cls": "tools",
"name": "面包",
"canUseItemEffect": "true",
"text": "食用恢复25饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 25;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}",
"isfood": true
},
"I627": {
"cls": "tools",
"name": "胡萝卜",
"canUseItemEffect": "true",
"text": "食用恢复15饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 15;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I628": {
"cls": "tools",
"name": "苹果",
"canUseItemEffect": "true",
"text": "食用恢复15饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 15;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I629": {
"cls": "tools",
"name": "金苹果",
"canUseItemEffect": "true",
"text": "食用恢复50饱食度并获得一些buff",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 50;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I630": {
"cls": "tools",
"name": "附魔金苹果",
"canUseItemEffect": "true",
"text": "食用恢复50饱食度并获得大量buff",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 50;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I631": {
"cls": "tools",
"name": "西瓜片",
"canUseItemEffect": "true",
"text": "食用恢复10饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 10;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I632": {
"cls": "tools",
"name": "闪烁西瓜片",
"canUseItemEffect": "true",
"text": "食用恢复25饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 25;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I633": {
"cls": "tools",
"name": "金胡萝卜",
"canUseItemEffect": "true",
"text": "食用恢复80饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 80;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I634": {
"cls": "tools",
"name": "南瓜",
"canUseItemEffect": "true",
"text": "食用恢复10饱食度不可种植",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 10;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I635": {
"cls": "tools",
"name": "雕刻南瓜",
"canUseItemEffect": "true",
"text": "一个雕刻南瓜"
},
"I636": {
"cls": "tools",
"name": "发光浆果",
"canUseItemEffect": "true",
"text": "食用恢复25饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 25;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I637": {
"cls": "tools",
"name": "仙人掌",
"canUseItemEffect": "true",
"text": "一个仙人掌"
},
"I638": {
"cls": "tools",
"name": "向日葵",
"canUseItemEffect": "true",
"text": "一个向日葵"
},
"I639": {
"cls": "tools",
"name": "玫瑰",
"canUseItemEffect": "true",
"text": "一个玫瑰"
},
"I640": {
"cls": "tools",
"name": "生鸡肉",
"canUseItemEffect": "true",
"text": "一个生鸡肉"
},
"I641": {
"cls": "tools",
"name": "熟鸡肉",
"canUseItemEffect": "true",
"text": "食用恢复40饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 40;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I642": {
"cls": "tools",
"name": "生羊肉",
"canUseItemEffect": "true",
"text": "一个生羊肉"
},
"I643": {
"cls": "tools",
"name": "熟羊肉",
"canUseItemEffect": "true",
"text": "食用恢复50饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 50;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I644": {
"cls": "tools",
"name": "生牛肉",
"canUseItemEffect": "true",
"text": "一个生牛肉"
},
"I645": {
"cls": "tools",
"name": "熟牛排",
"canUseItemEffect": "true",
"text": "食用恢复50饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 50;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I646": {
"cls": "tools",
"name": "生兔肉",
"canUseItemEffect": "true",
"text": "一个生兔肉"
},
"I647": {
"cls": "tools",
"name": "熟兔肉",
"canUseItemEffect": "true",
"text": "食用恢复40饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 40;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I648": {
"cls": "tools",
"name": "生鳕鱼",
"canUseItemEffect": "true",
"text": "一个生鳕鱼"
},
"I649": {
"cls": "tools",
"name": "熟鳕鱼",
"canUseItemEffect": "true",
"text": "食用恢复45饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 45;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I650": {
"cls": "tools",
"name": "生鲑鱼",
"canUseItemEffect": "true",
"text": "一个生鲑鱼"
},
"I651": {
"cls": "tools",
"name": "熟鲑鱼",
"canUseItemEffect": "true",
"text": "食用恢复45饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 45;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I652": {
"cls": "equips",
"name": "打火石",
"canUseItemEffect": "true",
"text": "一个打火石"
},
"I653": {
"cls": "equips",
"name": "钓鱼竿",
"canUseItemEffect": "true",
"text": "用于钓鱼",
"equip": {
"type": 0,
"value": {},
"percentage": {}
}
},
"I654": {
"cls": "tools",
"name": "铁桶",
"canUseItemEffect": "true",
"text": "用于装水或岩浆"
},
"I655": {
"cls": "tools",
"name": "水桶",
"canUseItemEffect": "true",
"text": "一个水桶"
},
"I656": {
"cls": "tools",
"name": "熔岩桶",
"canUseItemEffect": "true",
"text": "一个熔岩桶"
},
"I657": {
"cls": "constants",
"name": "时钟",
"canUseItemEffect": "true",
"text": "用于查看时间"
},
"I658": {
"cls": "tools",
"name": "玻璃瓶",
"canUseItemEffect": "true",
"text": "一个玻璃瓶"
},
"I659": {
"cls": "tools",
"name": "水瓶",
"canUseItemEffect": "true",
"text": "一个水瓶"
},
"I660": {
"cls": "tools",
"name": "蜂蜜瓶",
"canUseItemEffect": "true",
"text": "食用恢复30饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 30;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I661": {
"cls": "tools",
"name": "木棍",
"canUseItemEffect": "true",
"text": "一个木棍"
},
"I662": {
"cls": "tools",
"name": "木船",
"canUseItemEffect": "true",
"text": "放在水上可划船"
},
"I663": {
"cls": "tools",
"name": "木门",
"canUseItemEffect": "true",
"text": "敌怪无法通行"
},
"I664": {
"cls": "tools",
"name": "火把",
"canUseItemEffect": "true",
"text": "一个火把"
},
"I665": {
"cls": "tools",
"name": "提灯",
"canUseItemEffect": "true",
"text": "提供小范围照明,天黑自启动"
},
"I666": {
"cls": "tools",
"name": "骨粉",
"canUseItemEffect": "true",
"equip": null,
"text": "催生植物生长"
},
"I667": {
"cls": "tools",
"name": "骨头",
"canUseItemEffect": "true",
"text": "一个骨头"
},
"I668": {
"cls": "tools",
"name": "火药",
"canUseItemEffect": "true",
"text": "一个火药"
},
"I669": {
"cls": "tools",
"name": "金粒",
"canUseItemEffect": "true",
"text": "一个金粒",
"equip": null
},
"I670": {
"cls": "tools",
"name": "木炭",
"canUseItemEffect": "true",
"text": "用作燃料"
},
"I671": {
"cls": "tools",
"name": "皮革",
"canUseItemEffect": "true",
"text": "一个皮革"
},
"I672": {
"cls": "tools",
"name": "兔子皮",
"canUseItemEffect": "true",
"text": "一个兔子皮"
},
"I673": {
"cls": "tools",
"name": "书",
"canUseItemEffect": "true",
"text": "一个书"
},
"I674": {
"cls": "tools",
"name": "燧石",
"canUseItemEffect": "true",
"text": "一个燧石"
},
"I675": {
"cls": "tools",
"name": "线",
"canUseItemEffect": "true",
"text": "一个线"
},
"I676": {
"cls": "tools",
"name": "羽毛",
"canUseItemEffect": "true",
"text": "一个羽毛"
},
"I677": {
"cls": "tools",
"name": "纸",
"canUseItemEffect": "true",
"text": "一个纸"
},
"I678": {
"cls": "tools",
"name": "蜂巢",
"canUseItemEffect": "true",
"text": "自动产蜂蜜"
},
"I679": {
"cls": "tools",
"name": "甘蔗",
"canUseItemEffect": "true",
"text": "一个甘蔗,不可种植"
},
"I680": {
"cls": "tools",
"name": "糖",
"canUseItemEffect": "true",
"text": "一个糖"
},
"I681": {
"cls": "tools",
"name": "竹子",
"canUseItemEffect": "true",
"text": "一个竹子"
},
"I682": {
"cls": "tools",
"name": "棕色蘑菇",
"canUseItemEffect": "true",
"text": "一个棕色蘑菇"
},
"I683": {
"cls": "tools",
"name": "红色蘑菇",
"canUseItemEffect": "true",
"text": "一个红色蘑菇"
},
"I684": {
"cls": "tools",
"name": "棕色蘑菇块",
"canUseItemEffect": "true",
"text": "一个棕色蘑菇块"
},
"I685": {
"cls": "tools",
"name": "红色蘑菇块",
"canUseItemEffect": "true",
"useItemEvent": null,
"useItemEffect": "",
"text": "一个红色蘑菇块"
},
"I686": {
"cls": "tools",
"name": "海带",
"canUseItemEffect": "true",
"text": "可合成干海带。食用恢复10饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 10;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I687": {
"cls": "tools",
"name": "干海带",
"canUseItemEffect": "true",
"text": "用作燃料"
},
"I688": {
"cls": "tools",
"name": "黄珊瑚",
"canUseItemEffect": "true",
"text": "一个黄珊瑚",
"equip": null
},
"I689": {
"cls": "tools",
"name": "红珊瑚",
"canUseItemEffect": "true",
"text": "一个红珊瑚",
"equip": null
},
"I690": {
"cls": "tools",
"name": "蓝珊瑚",
"canUseItemEffect": "true",
"text": "一个蓝珊瑚"
},
"I691": {
"cls": "tools",
"name": "粉珊瑚",
"canUseItemEffect": "true",
"text": "一个粉珊瑚",
"equip": null,
"useItemEvent": [],
"hideInToolbox": false
},
"I692": {
"cls": "tools",
"name": "黄珊瑚块",
"canUseItemEffect": "true",
"text": "一个黄珊瑚块"
},
"I693": {
"cls": "tools",
"name": "红珊瑚块",
"canUseItemEffect": "true",
"text": "一个红珊瑚块"
},
"I694": {
"cls": "tools",
"name": "蓝珊瑚块",
"canUseItemEffect": "true",
"text": "一个蓝珊瑚块",
"equip": null
},
"I695": {
"cls": "tools",
"name": "粉珊瑚块",
"canUseItemEffect": "true",
"text": "一个粉珊瑚块",
"equip": null
},
"I696": {
"cls": "tools",
"name": "腐肉",
"canUseItemEffect": "true",
"text": "食用恢复20饱食度",
"equip": null,
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 20;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I697": {
"cls": "tools",
"name": "河豚",
"canUseItemEffect": "true",
"text": "食用恢复20饱食度",
"equip": null,
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 20;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I698": {
"cls": "tools",
"name": "蜘蛛眼",
"canUseItemEffect": "true",
"text": "食用恢复20饱食度",
"useItemEffect": "if (flags.eatcool == 0) {\n\tvar hun = 20;\n\tflags.hunger[0] += Math.min(hun, flags.hunger[1] - flags.hunger[0]);\n\tflags.hunger[2] = flags.hunger[3];\n\tif (core.rand2(2) == 0) {\n\t\tcore.playSound(\"eat1.ogg\");\n\t} else {\n\t\tcore.playSound(\"eat2.ogg\");\n\t}\n\tflags.eatcool = 1;\n\tsetTimeout(function () {\n\t\tflags.eatcool = 0;\n\t}, 1700);\n}"
},
"I699": {
"cls": "tools",
"name": "兔子脚",
"canUseItemEffect": "true",
"text": "一个兔子脚"
},
"I700": {
"cls": "tools",
"name": "幻翼膜",
"canUseItemEffect": "true",
"text": "一个幻翼膜"
},
"I701": {
"cls": "tools",
"name": "凝胶",
"canUseItemEffect": "true",
"text": "一个凝胶"
},
"I702": {
"cls": "tools",
"name": "末影珍珠",
"canUseItemEffect": "true",
"text": "一个末影珍珠"
},
"I703": {
"cls": "tools",
"name": "末影之眼",
"canUseItemEffect": "true",
"text": "用于寻找要塞"
},
"I704": {
"cls": "items",
"name": "铜币",
"canUseItemEffect": "true",
"text": "一个铜币",
"hideInToolbox": true
},
"I705": {
"cls": "tools",
"name": "经验球",
"canUseItemEffect": "true",
"text": "一个经验球",
"equip": null,
"hideInToolbox": true,
"itemEffect": "flags.level[1] += 1;\ncore.plugin.jingyandengji();",
"useItemEffect": "flags.level[1] += 1;\ncore.plugin.jingyandengji();"
},
"I706": {
"cls": "tools",
"name": "TNT",
"canUseItemEffect": "true",
"text": "一个TNT"
},
"I707": {
"cls": "tools",
"name": "烈焰棒",
"canUseItemEffect": "true",
"text": "一个烈焰棒"
},
"I708": {
"cls": "tools",
"name": "烈焰粉",
"canUseItemEffect": "true",
"text": "一个烈焰粉"
},
"I709": {
"cls": "tools",
"name": "神殿钥匙",
"canUseItemEffect": "true",
"text": "一个神殿钥匙"
},
"I710": {
"cls": "tools",
"name": "震颤胶质",
"canUseItemEffect": "true",
"text": "一个震颤胶质"
},
"I711": {
"cls": "tools",
"name": "血腥孢子",
"canUseItemEffect": "true",
"text": "一个血腥孢子"
},
"I712": {
"cls": "tools",
"name": "晶化骨骼",
"canUseItemEffect": "true",
"text": "一个烈焰粉"
},
"I713": {
"cls": "tools",
"name": "琼光鳞",
"canUseItemEffect": "true",
"text": "一个烈焰粉"
},
"I714": {
"cls": "tools",
"name": "聚焦镜片",
"canUseItemEffect": "true",
"text": "一个烈焰粉"
},
"I715": {
"cls": "tools",
"name": "灰烬粉尘",
"canUseItemEffect": "true",
"text": "一个烈焰粉"
},
"I716": {
"cls": "tools",
"name": "幽灵鳍",
"canUseItemEffect": "true",
"text": "一个烈焰粉"
},
"I717": {
"cls": "tools",
"name": "附魔之瓶",
"canUseItemEffect": "true",
"text": "一个附魔之瓶",
"useItemEffect": "flags.level[1] += core.rand2(31) + 10;\nvar rand1 = core.rand2(3);\nvar sound;\nswitch (rand1) {\ncase 0:\n\tsound = \"glass1.ogg\";\n\tbreak;\ncase 1:\n\tsound = \"glass2.ogg\";\n\tbreak;\ncase 2:\n\tsound = \"glass3.ogg\";\n\tbreak;\n}\ncore.playSound(sound);\ncore.playSound(\"orb.ogg\");\ncore.plugin.jingyandengji();"
},
"I718": {
"cls": "tools",
"name": "银币",
"canUseItemEffect": "true",
"text": "一个银币"
},
"I719": {
"cls": "tools",
"name": "金币",
"canUseItemEffect": "true",
"text": "一个金币"
},
"I720": {
"cls": "tools",
"name": "月币",
"canUseItemEffect": "true",
"text": "一个月币"
},
"I721": {
"cls": "tools",
"name": "苔石",
"canUseItemEffect": "true",
"text": "一个苔石"
},
"I722": {
"cls": "tools",
"name": "石砖",
"canUseItemEffect": "true",
"text": "一个石砖"
},
"I723": {
"cls": "tools",
"name": "苔石砖",
"canUseItemEffect": "true",
"text": "一个苔石砖"
},
"I724": {
"cls": "tools",
"name": "裂纹石砖",
"canUseItemEffect": "true",
"text": "一个裂纹石砖"
},
"I725": {
"cls": "tools",
"name": "下界岩",
"canUseItemEffect": "true",
"text": "一个下界岩"
},
"I726": {
"cls": "tools",
"name": "橙色陶瓦",
"canUseItemEffect": "true",
"text": "一个橙色陶瓦"
},
"I727": {
"cls": "tools",
"name": "雕纹砂岩",
"canUseItemEffect": "true",
"text": "一个雕纹砂岩"
},
"I728": {
"cls": "tools",
"name": "红砂岩",
"canUseItemEffect": "true",
"text": "一个红砂岩"
},
"I729": {
"cls": "tools",
"name": "红雕纹砂岩",
"canUseItemEffect": "true",
"text": "一个红雕纹砂岩"
},
"I730": {
"cls": "tools",
"name": "下界之星",
"canUseItemEffect": "true",
"text": "一个下界之星"
},
"I731": {
"cls": "tools",
"name": "龙息",
"canUseItemEffect": "true",
"text": "一个龙息"
},
"I732": {
"cls": "tools",
"name": "晶挞",
"canUseItemEffect": "true",
"text": "一个晶挞"
},
"I733": {
"cls": "tools",
"name": "远古残骸",
"canUseItemEffect": "true",
"text": "一个远古残骸"
},
"I734": {
"cls": "tools",
"name": "下界合金碎片",
"canUseItemEffect": "true",
"text": "一个下界合金碎片"
},
"I735": {
"cls": "tools",
"name": "下界合金锭",
"canUseItemEffect": "true",
"text": "一个下界合金锭"
},
"I736": {
"cls": "tools",
"name": "下界合金块",
"canUseItemEffect": "true",
"text": "一个下界合金块"
},
"I737": {
"cls": "equips",
"name": "下界合金剑",
"canUseItemEffect": "true"
},
"I738": {
"cls": "equips",
"name": "下界合金斧",
"canUseItemEffect": "true"
},
"I739": {
"cls": "equips",
"name": "下界合金镐",
"canUseItemEffect": "true"
},
"I740": {
"cls": "equips",
"name": "下界合金锹",
"canUseItemEffect": "true"
},
"I741": {
"cls": "equips",
"name": "下界合金锄",
"canUseItemEffect": "true"
},
"I742": {
"cls": "equips",
"name": "下界合金头盔",
"canUseItemEffect": "true"
},
"I743": {
"cls": "equips",
"name": "下界合金胸甲",
"canUseItemEffect": "true"
},
"I744": {
"cls": "equips",
"name": "下界合金护腿",
"canUseItemEffect": "true"
},
"I745": {
"cls": "equips",
"name": "下界合金靴子",
"canUseItemEffect": "true"
},
"I746": {
"cls": "tools",
"name": "空气",
"canUseItemEffect": "true",
"text": "只是占位用"
},
"I747": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I748": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I749": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I750": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I751": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I752": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I753": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I754": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I755": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I756": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I757": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I758": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I759": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I760": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I761": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I762": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I763": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I764": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I765": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I766": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I767": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I768": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I769": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I770": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I771": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I772": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I773": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I774": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I775": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I776": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I777": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I778": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I779": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I780": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I781": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I782": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I783": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I784": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I785": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I786": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I787": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I788": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I789": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I790": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I791": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I792": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I793": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I794": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I795": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I796": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I797": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I798": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I799": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I800": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I801": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I802": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I803": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I804": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I805": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I806": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I807": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I808": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I809": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I810": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I811": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I812": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I813": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I814": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I815": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I816": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I817": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I818": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I819": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I820": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I821": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I822": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I823": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I824": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I825": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I826": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I827": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I828": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I829": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I830": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I831": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I832": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I833": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I834": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I835": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I836": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I837": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I838": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I839": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I840": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I841": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I842": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I843": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I844": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I845": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I846": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I847": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I848": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I849": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I850": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I851": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I852": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I853": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I854": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I855": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I856": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I857": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I858": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I859": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I860": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I861": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I862": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I863": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I864": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I865": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I866": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I867": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I868": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I869": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I870": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I871": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I872": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I873": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I874": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I875": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I876": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
},
"I877": {
"cls": "items",
"name": "新物品",
"canUseItemEffect": "true"
}
}