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:
Tai Kedzierski 2018-12-30 13:33:34 +00:00
parent 63973f7b18
commit eaa50c524b
3 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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)

View File

@ -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,