Add ferns and enchanted axe

This commit is contained in:
IamPyu 2024-10-19 14:57:29 -06:00
parent 6df3b2ad20
commit b53ac766f1
11 changed files with 46 additions and 18 deletions

View File

@ -25,6 +25,8 @@
- Added Concrete which is really just a blank colored block :|
- Added Tuff and Diorite both of which can spawn in caves
- Added Diorite and Tuff Bricks
- Added Ferns
- Added Enchanted Pickaxe, somehow forgot to add it several updates ago.
## [Oct 6th - Oct 12th 2024] Update: Texture Update

View File

@ -1,2 +0,0 @@
# Made in Blockbench 4.10.3
newmtl none

View File

@ -1,2 +0,0 @@
# Made in Blockbench 4.10.3
newmtl none

View File

@ -45,7 +45,7 @@ PyuTest.make_furniture = function(name, desc, craft, tiles, cgroups, extra_conf)
paramtype = "light",
paramtype2 = "4dir",
drawtype = "mesh",
mesh = "chair.obj",
mesh = "pyutest-chair.obj",
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 1.1, 0.5 }
@ -69,7 +69,7 @@ PyuTest.make_furniture = function(name, desc, craft, tiles, cgroups, extra_conf)
paramtype = "light",
paramtype2 = "4dir",
drawtype = "mesh",
mesh = "mtable.obj",
mesh = "pyutest-mtable.obj",
selection_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.25, 0.5 }

View File

@ -15,6 +15,10 @@ PyuTest.make_grass = function (name, desc, groups, color, ttex, stex, dtex, econ
color = color
})
PyuTest.make_flower(name.."_fern", desc .. " Fern", "pyutest-fern.png", nil, false, nil, {
color = color
})
minetest.override_item(name.."_block", econf or {})
end

View File

@ -99,6 +99,32 @@ minetest.register_craft({
}
})
PyuTest.make_tool("pyutest_magic:enchanted_axe", "Enchanted Axe", {}, "pyutest-enchanted-axe.png", {
stack_max = 1,
tool_capabilities = PyuTest.tool_caps({
uses = 2768,
attack_uses = 2768 / 2,
groupcaps = {
choppy = {
times = {
[PyuTest.BLOCK_FAST] = 0.4,
[PyuTest.BLOCK_NORMAL] = 0.6,
[PyuTest.BLOCK_SLOW] = 0.8
}
}
}
})
})
minetest.register_craft({
output = "pyutest_magic:enchanted_axe",
recipe = {
{"pyutest_magic:enchanted_shard", "pyutest_magic:enchanted_shard", ""},
{"pyutest_magic:enchanted_shard", "pyutest_tools:stick", ""},
{"", "pyutest_tools:stick", ""}
}
})
PyuTest.make_sword("pyutest_magic:enchanted_sword", "Enchanted Sword", "pyutest-enchanted-sword.png", 9, 3600, 0.7)

View File

@ -71,9 +71,9 @@ PyuTest.make_tool("pyutest_tools:wooden_axe", "Wooden Axe", {}, "pyutest-wooden-
groupcaps = {
choppy = {
times = {
[PyuTest.BLOCK_FAST] = 1.1,
[PyuTest.BLOCK_NORMAL] = 1.6,
[PyuTest.BLOCK_SLOW] = 2.2
[PyuTest.BLOCK_FAST] = 1.2,
[PyuTest.BLOCK_NORMAL] = 1.4,
[PyuTest.BLOCK_SLOW] = 1.6
}
}
}
@ -88,9 +88,9 @@ PyuTest.make_tool("pyutest_tools:stone_axe", "Stone Axe", {}, "pyutest-stone-axe
groupcaps = {
choppy = {
times = {
[PyuTest.BLOCK_FAST] = 0.98,
[PyuTest.BLOCK_NORMAL] = 1.23,
[PyuTest.BLOCK_SLOW] = 2
[PyuTest.BLOCK_FAST] = 1,
[PyuTest.BLOCK_NORMAL] = 1.2,
[PyuTest.BLOCK_SLOW] = 1.4
}
}
}
@ -105,9 +105,9 @@ PyuTest.make_tool("pyutest_tools:iron_axe", "Iron Axe", {}, "pyutest-iron-axe.pn
groupcaps = {
choppy = {
times = {
[PyuTest.BLOCK_FAST] = 0.4,
[PyuTest.BLOCK_NORMAL] = 0.6,
[PyuTest.BLOCK_SLOW] = 1.8
[PyuTest.BLOCK_FAST] = 0.8,
[PyuTest.BLOCK_NORMAL] = 1,
[PyuTest.BLOCK_SLOW] = 1.2
}
}
}
@ -122,9 +122,9 @@ PyuTest.make_tool("pyutest_tools:diamond_axe", "Diamond Axe", {}, "pyutest-diamo
groupcaps = {
choppy = {
times = {
[PyuTest.BLOCK_FAST] = 0.3,
[PyuTest.BLOCK_NORMAL] = 0.4,
[PyuTest.BLOCK_SLOW] = 1.4
[PyuTest.BLOCK_FAST] = 0.6,
[PyuTest.BLOCK_NORMAL] = 0.8,
[PyuTest.BLOCK_SLOW] = 1
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

BIN
textures/pyutest-fern.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B