forked from mrkubax10/industrialtest
Compare commits
1 Commits
feat/encha
...
fix/bronze
| Author | SHA1 | Date | |
|---|---|---|---|
| 3fcefc5888 |
@@ -202,7 +202,7 @@ if industrialtest.mclAvailable then
|
|||||||
minetest.register_tool("industrialtest:"..material.."_pickaxe",{
|
minetest.register_tool("industrialtest:"..material.."_pickaxe",{
|
||||||
description=S(materialDisplayName.." Pickaxe"),
|
description=S(materialDisplayName.." Pickaxe"),
|
||||||
inventory_image="industrialtest_mcl_"..material.."_pickaxe.png",
|
inventory_image="industrialtest_mcl_"..material.."_pickaxe.png",
|
||||||
groups={tool=1,pickaxe=1,dig_speed_class=config.digSpeedClass,enchantability=config.enchantability},
|
groups={tool=1,pickaxe=1,dig_speed_class=config.digSpeedClass},
|
||||||
tool_capabilities={
|
tool_capabilities={
|
||||||
full_punch_interval=1,
|
full_punch_interval=1,
|
||||||
max_drop_level=config.dropLevel,
|
max_drop_level=config.dropLevel,
|
||||||
@@ -218,7 +218,7 @@ if industrialtest.mclAvailable then
|
|||||||
minetest.register_tool("industrialtest:"..material.."_shovel",{
|
minetest.register_tool("industrialtest:"..material.."_shovel",{
|
||||||
description=S(materialDisplayName.." Shovel"),
|
description=S(materialDisplayName.." Shovel"),
|
||||||
inventory_image="industrialtest_mcl_"..material.."_shovel.png",
|
inventory_image="industrialtest_mcl_"..material.."_shovel.png",
|
||||||
groups={tool=1,shovel=1,dig_speed_class=config.digSpeedClass,enchantability=config.enchantability},
|
groups={tool=1,shovel=1,dig_speed_class=config.digSpeedClass},
|
||||||
tool_capabilities={
|
tool_capabilities={
|
||||||
full_punch_interval=1,
|
full_punch_interval=1,
|
||||||
max_drop_level=config.dropLevel,
|
max_drop_level=config.dropLevel,
|
||||||
@@ -270,7 +270,7 @@ if industrialtest.mclAvailable then
|
|||||||
minetest.register_tool("industrialtest:"..material.."_axe",{
|
minetest.register_tool("industrialtest:"..material.."_axe",{
|
||||||
description=S(materialDisplayName.." Axe"),
|
description=S(materialDisplayName.." Axe"),
|
||||||
inventory_image="industrialtest_mcl_"..material.."_axe.png",
|
inventory_image="industrialtest_mcl_"..material.."_axe.png",
|
||||||
groups={tool=1,axe=1,dig_speed_class=config.digSpeedClass,enchantability=config.enchantability},
|
groups={tool=1,axe=1,dig_speed_class=config.digSpeedClass},
|
||||||
tool_capabilities={
|
tool_capabilities={
|
||||||
full_punch_interval=1,
|
full_punch_interval=1,
|
||||||
max_level_drop=config.levelDrop,
|
max_level_drop=config.levelDrop,
|
||||||
@@ -287,7 +287,7 @@ if industrialtest.mclAvailable then
|
|||||||
minetest.register_tool("industrialtest:"..material.."_sword",{
|
minetest.register_tool("industrialtest:"..material.."_sword",{
|
||||||
description=S(materialDisplayName.." Sword"),
|
description=S(materialDisplayName.." Sword"),
|
||||||
inventory_image="industrialtest_mcl_"..material.."_sword.png",
|
inventory_image="industrialtest_mcl_"..material.."_sword.png",
|
||||||
groups={weapon=1,sword=1,dig_speed_class=config.digSpeedClass,enchantability=config.enchantability},
|
groups={weapon=1,sword=1,dig_speed_class=config.digSpeedClass},
|
||||||
tool_capabilities={
|
tool_capabilities={
|
||||||
full_punch_interval=0.625,
|
full_punch_interval=0.625,
|
||||||
max_drop_level=config.maxDropLevel,
|
max_drop_level=config.maxDropLevel,
|
||||||
@@ -304,7 +304,7 @@ if industrialtest.mclAvailable then
|
|||||||
minetest.register_tool("industrialtest:"..material.."_hoe",{
|
minetest.register_tool("industrialtest:"..material.."_hoe",{
|
||||||
description=S(materialDisplayName.." Hoe"),
|
description=S(materialDisplayName.." Hoe"),
|
||||||
inventory_image="industrialtest_mcl_"..material.."_hoe.png",
|
inventory_image="industrialtest_mcl_"..material.."_hoe.png",
|
||||||
groups={tool=1,hoe=1,enchantability=config.enchantability},
|
groups={tool=1,hoe=1},
|
||||||
tool_capabilities={
|
tool_capabilities={
|
||||||
full_punch_interval=1,
|
full_punch_interval=1,
|
||||||
damage_groups={fleshy=1}
|
damage_groups={fleshy=1}
|
||||||
@@ -372,7 +372,6 @@ if industrialtest.mclAvailable then
|
|||||||
cook_material=config.armorCookMaterial,
|
cook_material=config.armorCookMaterial,
|
||||||
sound_equip=config.armorEquipSound,
|
sound_equip=config.armorEquipSound,
|
||||||
sound_unequip=config.armorUnequipSound,
|
sound_unequip=config.armorUnequipSound,
|
||||||
enchantability=config.enchantability,
|
|
||||||
textures={
|
textures={
|
||||||
head="industrialtest_mcl_"..material.."_helmet.png",
|
head="industrialtest_mcl_"..material.."_helmet.png",
|
||||||
torso="industrialtest_mcl_"..material.."_chestplate.png",
|
torso="industrialtest_mcl_"..material.."_chestplate.png",
|
||||||
@@ -530,7 +529,7 @@ if industrialtest.mclAvailable then
|
|||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type="shaped",
|
type="shaped",
|
||||||
output="industrialcraft:bronze_ingot 9",
|
output="industrialtest:bronze_ingot 9",
|
||||||
recipe={
|
recipe={
|
||||||
{"mcl_copper:copper_ingot","mcl_copper:copper_ingot","mcl_copper:copper_ingot"},
|
{"mcl_copper:copper_ingot","mcl_copper:copper_ingot","mcl_copper:copper_ingot"},
|
||||||
{"mcl_copper:copper_ingot","industrialtest:tin_ingot","mcl_copper:copper_ingot"},
|
{"mcl_copper:copper_ingot","industrialtest:tin_ingot","mcl_copper:copper_ingot"},
|
||||||
@@ -576,8 +575,7 @@ if industrialtest.mclAvailable then
|
|||||||
},
|
},
|
||||||
armorCookMaterial="industrialtest:bronze_nugget",
|
armorCookMaterial="industrialtest:bronze_nugget",
|
||||||
armorEquipSound="mcl_armor_equip_iron",
|
armorEquipSound="mcl_armor_equip_iron",
|
||||||
armorUnequipSound="mcl_armor_unequip_iron",
|
armorUnequipSound="mcl_armor_unequip_iron"
|
||||||
enchantability=15,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
--register other blocks that are not availabe in MCL
|
--register other blocks that are not availabe in MCL
|
||||||
|
|||||||
Reference in New Issue
Block a user