changed inhibitor so that it can be dug by rainbow tool, changed rainbow tool name from bludgeon, moved inhibitor to tools
This commit is contained in:
parent
63973f7b18
commit
eaa50c524b
2
init.lua
2
init.lua
@ -31,4 +31,4 @@ nssm:load("tools/rainbow_staff.lua")
|
||||
nssm:load("tools/armor.lua")
|
||||
|
||||
-- Server
|
||||
nssm:load("materials/mob_inhibitor.lua")
|
||||
nssm:load("tools/mob_inhibitor.lua")
|
||||
|
@ -18,7 +18,7 @@ minetest.register_node("nssm:mob_inhibitor", {
|
||||
"default_obsidian.png^phoenix_fire_bomb.png", --side
|
||||
"default_obsidian.png^phoenix_fire_bomb.png", --front
|
||||
},
|
||||
groups = {unbreakable = 1, not_in_creative_inventory = 1},
|
||||
groups = {cracky = 1, level = 4, not_in_creative_inventory = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
drop = "",
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
@ -56,7 +56,7 @@ if nssm.classic_rainbow_staff then
|
||||
|
||||
else
|
||||
minetest.register_tool("nssm:rainbow_staff", {
|
||||
description = "Rainbow Bludgeon",
|
||||
description = "Rainbow Tool",
|
||||
inventory_image = "rainbow_staff.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user