Camas/mods/jewels/jewels.lua

369 lines
5.6 KiB
Lua

--
-- Jeweled tool defs
--
-- Pickaxes
jewels.register_jewel(
"default:pick_stone",
"jewels:pick_stone_digspeed",
{
stats = {
digspeed = -0.1,
}
})
jewels.register_jewel(
"default:pick_steel",
"jewels:pick_steel_digspeed",
{
stats = {
digspeed = -0.13,
}
})
jewels.register_jewel(
"default:pick_carbonsteel",
"jewels:pick_carbonsteel_digspeed",
{
stats = {
digspeed = -0.16,
}
})
jewels.register_jewel(
"default:pick_stone",
"jewels:pick_stone_damage",
{
stats = {
fleshy = 1,
}
})
jewels.register_jewel(
"default:pick_steel",
"jewels:pick_steel_damage",
{
stats = {
fleshy = 2,
}
})
jewels.register_jewel(
"default:pick_carbonsteel",
"jewels:pick_carbonsteel_damage",
{
stats = {
fleshy = 3,
}
})
jewels.register_jewel(
"default:pick_stone",
"jewels:pick_stone_uses",
{
stats = {
uses = 3,
}
})
jewels.register_jewel(
"default:pick_steel",
"jewels:pick_steel_uses",
{
stats = {
uses = 5,
}
})
jewels.register_jewel(
"default:pick_carbonsteel",
"jewels:pick_carbonsteel_uses",
{
stats = {
uses = 7,
}
})
-- Shovels
jewels.register_jewel(
"default:shovel_stone",
"jewels:shovel_stone_digspeed",
{
stats = {
digspeed = -0.12,
}
})
jewels.register_jewel(
"default:shovel_steel",
"jewels:shovel_steel_digspeed",
{
stats = {
digspeed = -0.15,
}
})
jewels.register_jewel(
"default:shovel_carbonsteel",
"jewels:shovel_carbonsteel_digspeed",
{
stats = {
digspeed = -0.17,
}
})
jewels.register_jewel(
"default:shovel_stone",
"jewels:shovel_stone_damage",
{
stats = {
fleshy = 1,
}
})
jewels.register_jewel(
"default:shovel_steel",
"jewels:shovel_steel_damage",
{
stats = {
fleshy = 2,
}
})
jewels.register_jewel(
"default:shovel_carbonsteel",
"jewels:shovel_carbonsteel_damage",
{
stats = {
fleshy = 3,
}
})
jewels.register_jewel(
"default:shovel_stone",
"jewels:shovel_stone_uses",
{
stats = {
uses = 3,
}
})
jewels.register_jewel(
"default:shovel_steel",
"jewels:shovel_steel_uses",
{
stats = {
uses = 5,
}
})
jewels.register_jewel(
"default:shovel_carbonsteel",
"jewels:shovel_carbonsteel_uses",
{
stats = {
uses = 7,
}
})
-- Axes
jewels.register_jewel(
"default:axe_stone",
"jewels:axe_stone_digspeed",
{
stats = {
digspeed = -0.1,
}
})
jewels.register_jewel(
"default:axe_steel",
"jewels:axe_steel_digspeed",
{
stats = {
digspeed = -0.13,
}
})
jewels.register_jewel(
"default:axe_carbonsteel",
"jewels:axe_carbonsteel_digspeed",
{
stats = {
digspeed = -0.16,
}
})
jewels.register_jewel(
"default:axe_stone",
"jewels:axe_stone_damage",
{
stats = {
fleshy = 2,
}
})
jewels.register_jewel(
"default:axe_steel",
"jewels:axe_steel_damage",
{
stats = {
fleshy = 3,
}
})
jewels.register_jewel(
"default:axe_carbonsteel",
"jewels:axe_carbonsteel_damage",
{
stats = {
fleshy = 4,
}
})
jewels.register_jewel(
"default:axe_stone",
"jewels:axe_stone_uses",
{
stats = {
uses = 3,
}
})
jewels.register_jewel(
"default:axe_steel",
"jewels:axe_steel_uses",
{
stats = {
uses = 5,
}
})
jewels.register_jewel(
"default:axe_carbonsteel",
"jewels:axe_carbonsteel_uses",
{
stats = {
uses = 7,
}
})
-- Spears
jewels.register_jewel(
"default:spear_stone",
"jewels:spear_stone_digspeed",
{
stats = {
digspeed = -0.1,
}
})
jewels.register_jewel(
"default:spear_steel",
"jewels:spear_steel_digspeed",
{
stats = {
digspeed = -0.13,
}
})
jewels.register_jewel(
"default:spear_carbonsteel",
"jewels:spear_carbonsteel_digspeed",
{
stats = {
digspeed = -0.16,
}
})
jewels.register_jewel(
"default:spear_stone",
"jewels:spear_stone_damage",
{
stats = {
fleshy = 3,
}
})
jewels.register_jewel(
"default:spear_steel",
"jewels:spear_steel_damage",
{
stats = {
fleshy = 5,
}
})
jewels.register_jewel(
"default:spear_carbonsteel",
"jewels:spear_carbonsteel_damage",
{
stats = {
fleshy = 7,
}
})
jewels.register_jewel(
"default:spear_stone",
"jewels:spear_stone_uses",
{
stats = {
uses = 3,
}
})
jewels.register_jewel(
"default:spear_steel",
"jewels:spear_steel_uses",
{
stats = {
uses = 5,
}
})
jewels.register_jewel(
"default:spear_carbonsteel",
"jewels:spear_carbonsteel_uses",
{
stats = {
uses = 7,
}
})
-- 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")