New textures and names for +reach spears

This commit is contained in:
Wuzzy 2020-01-31 06:39:56 +01:00
parent c14276c169
commit 9125ca847f
4 changed files with 43 additions and 26 deletions

View File

@ -147,81 +147,93 @@ local tool_types = {
}, },
spear = { spear = {
steel = { steel = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
reach = { reach = {
description = S("Ranged Jewel Steel Spear"), overlay = "jewels_jeweled_spear_reach.png",
overlay_wield = "jewels_jeweled_spear_reach.png^[transformR90",
description = S("Extended Jewel Steel Spear"),
range = 1, range = 1,
}, },
damage = { damage = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Harming Jewel Steel Spear"), description = S("Harming Jewel Steel Spear"),
fleshy = 3, fleshy = 3,
}, },
uses = { uses = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Durable Jewel Steel Spear"), description = S("Durable Jewel Steel Spear"),
uses = 3, uses = 3,
}, },
}, },
carbon_steel = { carbon_steel = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
reach = { reach = {
description = S("Ranged Jewel Carbon Steel Spear"), description = S("Extended Jewel Carbon Steel Spear"),
overlay = "jewels_jeweled_spear_reach.png",
overlay_wield = "jewels_jeweled_spear_reach.png^[transformR90",
range = 2, range = 2,
}, },
damage = { damage = {
description = S("Harming Jewel Carbon Steel Spear"), description = S("Harming Jewel Carbon Steel Spear"),
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
fleshy = 4, fleshy = 4,
}, },
uses = { uses = {
description = S("Durable Jewel Carbon Steel Spear"), description = S("Durable Jewel Carbon Steel Spear"),
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
uses = 5, uses = 5,
}, },
}, },
bronze = { bronze = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
reach = { reach = {
description = S("Ranged Jewel Bronze Spear"), description = S("Extended Jewel Bronze Spear"),
overlay = "jewels_jeweled_spear_reach.png",
overlay_wield = "jewels_jeweled_spear_reach.png^[transformR90",
range = 2, range = 2,
}, },
damage = { damage = {
description = S("Harming Jewel Bronze Spear"), description = S("Harming Jewel Bronze Spear"),
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
fleshy = 5, fleshy = 5,
}, },
uses = { uses = {
description = S("Durable Jewel Bronze Spear"), description = S("Durable Jewel Bronze Spear"),
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
uses = 6, uses = 6,
}, },
}, },
}, },
shears = { shears = {
steel = { steel = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
digspeed = { digspeed = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Swift Jewel Steel Shears"), description = S("Swift Jewel Steel Shears"),
digspeed = -0.1, digspeed = -0.1,
}, },
uses = { uses = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Durable Jewel Steel Shears"), description = S("Durable Jewel Steel Shears"),
uses = 3, uses = 3,
}, },
}, },
carbon_steel = { carbon_steel = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
digspeed = { digspeed = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Swift Jewel Carbon Steel Shears"), description = S("Swift Jewel Carbon Steel Shears"),
digspeed = -0.13, digspeed = -0.13,
}, },
uses = { uses = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Durable Jewel Carbon Steel Shears"), description = S("Durable Jewel Carbon Steel Shears"),
uses = 5, uses = 5,
}, },
}, },
bronze = { bronze = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
digspeed = { digspeed = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Swift Jewel Bronze Shears"), description = S("Swift Jewel Bronze Shears"),
digspeed = -0.14, digspeed = -0.14,
}, },
uses = { uses = {
overlay_wield = "jewels_jeweled_handle.png^[transformR90",
description = S("Durable Jewel Bronze Shears"), description = S("Durable Jewel Bronze Shears"),
uses = 6, uses = 6,
}, },
@ -232,17 +244,22 @@ local tool_types = {
for tool_name, tool_def in pairs(tool_types) do for tool_name, tool_def in pairs(tool_types) do
for material_name, material_def in pairs(tool_def) do for material_name, material_def in pairs(tool_def) do
for jewel_name, jewel_def in pairs(material_def) do for jewel_name, jewel_def in pairs(material_def) do
if jewel_name ~= "description" and jewel_name ~= "overlay_wield" then local description = jewel_def.description
jewels.register_jewel( local overlay = jewel_def.overlay
"default:" .. tool_name .. "_" .. material_name, local overlay_wield = jewel_def.overlay_wield
"jewels:" .. tool_name .. "_" .. material_name .. "_" .. jewel_name, jewel_def.description = nil
{ jewel_def.overlay = nil
stats = jewel_def, jewel_def.overlay_wield = nil
description = jewel_def.description, jewels.register_jewel(
overlay_wield = material_def.overlay_wield, "default:" .. tool_name .. "_" .. material_name,
} "jewels:" .. tool_name .. "_" .. material_name .. "_" .. jewel_name,
) {
end stats = jewel_def,
description = description,
overlay = overlay,
overlay_wield = overlay_wield,
}
)
end end
end end
end end

View File

@ -42,13 +42,13 @@ Durable Jewel Carbon Steel Axe=Haltbare Juwelenkarbonstahlaxt
Swift Jewel Bronze Axe=Schnelle Juwelenbronzeaxt Swift Jewel Bronze Axe=Schnelle Juwelenbronzeaxt
Harming Jewel Bronze Axe=Mächtige Juwelenbronzeaxt Harming Jewel Bronze Axe=Mächtige Juwelenbronzeaxt
Durable Jewel Bronze Axe=Haltbare Juwelenbronzeaxt Durable Jewel Bronze Axe=Haltbare Juwelenbronzeaxt
Ranged Jewel Steel Spear=Langer Juwelenstahlspeer Extended Jewel Steel Spear=Verlängerter Juwelenstahlspeer
Harming Jewel Steel Spear=Mächtiger Juwelenstahlspeer Harming Jewel Steel Spear=Mächtiger Juwelenstahlspeer
Durable Jewel Steel Spear=Haltbarer Juwelenstahlspeer Durable Jewel Steel Spear=Haltbarer Juwelenstahlspeer
Ranged Jewel Carbon Steel Spear=Langer Juwelenkarbonstahlspeer Extended Jewel Carbon Steel Spear=Verlängerter Juwelenkarbonstahlspeer
Harming Jewel Carbon Steel Spear=Mächtiger Juwelenkarbonstahlspeer Harming Jewel Carbon Steel Spear=Mächtiger Juwelenkarbonstahlspeer
Durable Jewel Carbon Steel Spear=Haltbarer Juwelenkarbonstahlspeer Durable Jewel Carbon Steel Spear=Haltbarer Juwelenkarbonstahlspeer
Ranged Jewel Bronze Spear=Langer Juwelenbronzespeer Extended Jewel Bronze Spear=Verlängerter Juwelenbronzespeer
Harming Jewel Bronze Spear=Mächtiger Juwelenbronzespeer Harming Jewel Bronze Spear=Mächtiger Juwelenbronzespeer
Durable Jewel Bronze Spear=Haltbarer Juwelenbronzespeer Durable Jewel Bronze Spear=Haltbarer Juwelenbronzespeer
Swift Jewel Steel Shears=Schnelle Juwelenstahlschere Swift Jewel Steel Shears=Schnelle Juwelenstahlschere

View File

@ -42,13 +42,13 @@ Durable Jewel Carbon Steel Axe=
Swift Jewel Bronze Axe= Swift Jewel Bronze Axe=
Harming Jewel Bronze Axe= Harming Jewel Bronze Axe=
Durable Jewel Bronze Axe= Durable Jewel Bronze Axe=
Ranged Jewel Steel Spear= Extended Jewel Steel Spear=
Harming Jewel Steel Spear= Harming Jewel Steel Spear=
Durable Jewel Steel Spear= Durable Jewel Steel Spear=
Ranged Jewel Carbon Steel Spear= Extended Jewel Carbon Steel Spear=
Harming Jewel Carbon Steel Spear= Harming Jewel Carbon Steel Spear=
Durable Jewel Carbon Steel Spear= Durable Jewel Carbon Steel Spear=
Ranged Jewel Bronze Spear= Extended Jewel Bronze Spear=
Harming Jewel Bronze Spear= Harming Jewel Bronze Spear=
Durable Jewel Bronze Spear= Durable Jewel Bronze Spear=
Swift Jewel Steel Shears= Swift Jewel Steel Shears=

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B