Make special tools bronze instead of steel
This commit is contained in:
parent
df171d5534
commit
22b7ee1ce5
3 changed files with 8 additions and 8 deletions
|
@ -11,7 +11,7 @@ ctf_classes.register("knight", {
|
|||
melee_bonus = 1,
|
||||
|
||||
initial_stuff = {
|
||||
"ctf_classes:sword_steel",
|
||||
"ctf_classes:sword_bronze",
|
||||
},
|
||||
|
||||
allowed_guns = {
|
||||
|
@ -81,7 +81,7 @@ ctf_classes.register("medic", {
|
|||
|
||||
initial_stuff = {
|
||||
"ctf_bandages:bandage",
|
||||
"ctf_classes:paxel_steel",
|
||||
"ctf_classes:paxel_bronze",
|
||||
"default:cobble 99"
|
||||
},
|
||||
|
||||
|
|
|
@ -175,11 +175,11 @@ local function remove_pillar(pos, pname)
|
|||
end
|
||||
end
|
||||
|
||||
minetest.register_tool("ctf_classes:paxel_steel", {
|
||||
description = "Steel Paxel\n" ..
|
||||
minetest.register_tool("ctf_classes:paxel_bronze", {
|
||||
description = "Bronze Paxel\n" ..
|
||||
"Rightclick bottom of pillar to start destroying it, hold rightclick to stop\n"..
|
||||
"Can't use during build time",
|
||||
inventory_image = "default_tool_steelpick.png^default_tool_steelshovel.png",
|
||||
inventory_image = "default_tool_bronzepick.png^default_tool_bronzeshovel.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.0,
|
||||
max_drop_level=1,
|
||||
|
|
|
@ -40,9 +40,9 @@ local function sword_special_timer_func(pname, timeleft)
|
|||
end
|
||||
end
|
||||
|
||||
minetest.register_tool("ctf_classes:sword_steel", {
|
||||
minetest.register_tool("ctf_classes:sword_bronze", {
|
||||
description = "Knight's Sword\nSneak+Rightclick items/air to place marker\nRightclick enemies to place marker listing all enemies in area",
|
||||
inventory_image = "default_tool_steelsword.png",
|
||||
inventory_image = "default_tool_bronzesword.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.8,
|
||||
max_drop_level=1,
|
||||
|
@ -109,7 +109,7 @@ minetest.register_tool("ctf_classes:sword_steel", {
|
|||
end,
|
||||
on_secondary_use = function(itemstack, user, pointed_thing)
|
||||
if pointed_thing then
|
||||
minetest.registered_tools["ctf_classes:sword_steel"].on_place(itemstack, user, pointed_thing)
|
||||
minetest.registered_tools["ctf_classes:sword_bronze"].on_place(itemstack, user, pointed_thing)
|
||||
end
|
||||
end,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue