A lot more changes, notably adding shears and a failed attempt to fix
bedrock spawning
This commit is contained in:
@@ -36,7 +36,8 @@ end
|
||||
|
||||
PyuTest.make_sword = function (nsname, desc, texture, damage, durability, atkspeed)
|
||||
PyuTest.make_tool(nsname, desc, {
|
||||
weapon = 1
|
||||
weapon = 1,
|
||||
sword = 1
|
||||
}, texture, {
|
||||
stack_max = 1,
|
||||
tool_capabilities = PyuTest.tool_caps({
|
||||
|
@@ -131,6 +131,34 @@ PyuTest.make_tool("pyutest_tools:diamond_axe", "Diamond Axe", {}, "pyutest-diamo
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
PyuTest.make_tool("pyutest_tools:shears", "Shears", {
|
||||
shears = 1
|
||||
}, "pyutest-shears.png", {
|
||||
stack_max = 1,
|
||||
tool_capabilities = PyuTest.tool_caps({
|
||||
uses = 100,
|
||||
attack_uses = 50,
|
||||
groupcaps = {
|
||||
snappy = {
|
||||
times = {
|
||||
[PyuTest.BLOCK_FAST] = 0.2,
|
||||
[PyuTest.BLOCK_NORMAL] = 0.3,
|
||||
[PyuTest.BLOCK_SLOW] = 0.4
|
||||
}
|
||||
},
|
||||
|
||||
wooly = {
|
||||
times = {
|
||||
[PyuTest.BLOCK_FAST] = 0.2,
|
||||
[PyuTest.BLOCK_NORMAL] = 0.3,
|
||||
[PyuTest.BLOCK_SLOW] = 0.4
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
PyuTest.make_item("pyutest_tools:bomb", "Bomb", {}, "pyutest-bomb.png", {
|
||||
stack_max = 16,
|
||||
on_use = function (_, user)
|
||||
|
Reference in New Issue
Block a user