added broadsword and jeweling for it
This commit is contained in:
parent
87265d7165
commit
53a970f874
BIN
mods/default/textures/default_broadsword.png
Normal file
BIN
mods/default/textures/default_broadsword.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 452 B |
BIN
mods/default/textures/default_broadsword.xcf
Normal file
BIN
mods/default/textures/default_broadsword.xcf
Normal file
Binary file not shown.
@ -333,6 +333,20 @@ minetest.register_tool(
|
||||
}
|
||||
})
|
||||
|
||||
-- Broadsword
|
||||
minetest.register_tool(
|
||||
"default:broadsword",
|
||||
{
|
||||
description = "Broadsword",
|
||||
inventory_image = "default_broadsword.png",
|
||||
wield_image = "default_broadsword.png",
|
||||
wield_scale = {x = 2.0, y = 2.0, z = 1.0},
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 4.0,
|
||||
damage_groups = {fleshy = 14}
|
||||
}
|
||||
})
|
||||
|
||||
-- Other
|
||||
minetest.register_tool(
|
||||
"default:shears",
|
||||
|
@ -17,6 +17,7 @@ function jewels.register_jewel(toolname, new_toolname, def)
|
||||
local data = {
|
||||
name = new_toolname, -- the new name of the tool
|
||||
overlay = def.overlay or "jewels_jeweled_handle.png", -- overlay image
|
||||
description = def.description or nil,
|
||||
stats = {
|
||||
digspeed = def.stats.digspeed, -- negative digs faster
|
||||
maxlevel = def.stats.maxlevel, -- positive digs higher levels
|
||||
@ -49,6 +50,10 @@ function jewels.register_jewel(toolname, new_toolname, def)
|
||||
|
||||
desc = "Jeweled " .. desc
|
||||
|
||||
if data.description ~= nil then
|
||||
desc = data.description
|
||||
end
|
||||
|
||||
new_tooldef.inventory_image = new_tool_invimage
|
||||
new_tooldef.wield_image = new_tool_wieldimage
|
||||
|
||||
|
@ -330,4 +330,40 @@ jewels.register_jewel(
|
||||
}
|
||||
})
|
||||
|
||||
-- Broadswords
|
||||
|
||||
jewels.register_jewel(
|
||||
"default:broadsword",
|
||||
"jewels:broadsword_jeweled_pommel",
|
||||
{
|
||||
description = "Jeweled Pommel Broadsword",
|
||||
overlay = "jewels_jeweled_pommel.png",
|
||||
stats = {
|
||||
fleshy = 2,
|
||||
}
|
||||
})
|
||||
|
||||
jewels.register_jewel(
|
||||
"jewels:broadsword_jeweled_pommel",
|
||||
"jewels:broadsword_jeweled_pommel_and_guard",
|
||||
{
|
||||
description = "Jeweled Pommel&Guard Broadsword",
|
||||
overlay = "jewels_jeweled_guard.png",
|
||||
stats = {
|
||||
range = 1,
|
||||
}
|
||||
})
|
||||
|
||||
jewels.register_jewel(
|
||||
"jewels:broadsword_jeweled_pommel_and_guard",
|
||||
"jewels:serrated_broadsword",
|
||||
{
|
||||
description = "Serrated Broadsword",
|
||||
overlay = "jewels_jeweled_blade.png",
|
||||
stats = {
|
||||
fleshy = 2,
|
||||
range = 1,
|
||||
}
|
||||
})
|
||||
|
||||
default.log("jewels", "loaded")
|
BIN
mods/jewels/textures/jewels_jeweled_blade.png
Normal file
BIN
mods/jewels/textures/jewels_jeweled_blade.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 191 B |
BIN
mods/jewels/textures/jewels_jeweled_blade.xcf
Normal file
BIN
mods/jewels/textures/jewels_jeweled_blade.xcf
Normal file
Binary file not shown.
BIN
mods/jewels/textures/jewels_jeweled_guard.png
Normal file
BIN
mods/jewels/textures/jewels_jeweled_guard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 182 B |
BIN
mods/jewels/textures/jewels_jeweled_guard.xcf
Normal file
BIN
mods/jewels/textures/jewels_jeweled_guard.xcf
Normal file
Binary file not shown.
BIN
mods/jewels/textures/jewels_jeweled_pommel.png
Normal file
BIN
mods/jewels/textures/jewels_jeweled_pommel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 192 B |
BIN
mods/jewels/textures/jewels_jeweled_pommel.xcf
Normal file
BIN
mods/jewels/textures/jewels_jeweled_pommel.xcf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user