Add the regular drill

This commit is contained in:
Functioning Member of Society 2023-03-19 14:03:55 -04:00
parent 0641793db4
commit ad6972758f
2 changed files with 24 additions and 3 deletions

View File

@ -1,6 +1,5 @@
# List of textures that still have to be done
- refined iron ingot for MCL
- sticky resin
- rubber wood (top|side)
- rubber wood with rubber (side)
- rubber leaves

View File

@ -1,5 +1,5 @@
-- IndustrialTest
-- Copyright (C) 2023 mrkubax10
-- Copyright (C) 2023 mrkubax10 and Migdyn
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@ -43,6 +43,28 @@ local definition={
end,
_industrialtest_tool=true
}
minetest.register_tool("industrialtest:drill",
{
description = S("Mining Drill"),
inventory_image = "industrialtest_drill.png",
tool_capabilities =
{
full_punch_interval = 1.5,
max_drop_level = 1,
groupcaps =
{
crumbly =
{
maxlevel = 3,
uses = 8888,
times = {[1]=0.1, [2]=0.1, [3]=0.1}
},
},
damage_groups = {cracky=3,crubmly=3,fleshy=3},
},
})
if industrialtest.mtgAvailable then
definition.groups={
flammable=2
@ -54,7 +76,7 @@ elseif industrialtest.mclAvailable then
definition._repair_material="group:wood"
definition._mcl_toollike_wield=true
end
minetest.register_tool("industrialtest:treetap",definition)
minetest.register_tool("industrialtest:treetap", definition)
minetest.register_craft({
type="shaped",
output="industrialtest:treetap",