Use tabs in rp_supertools
This commit is contained in:
parent
e250afd0d7
commit
6032df3e64
@ -18,9 +18,7 @@ local grow_tall = function(pos, y_dir, nodename)
|
||||
return false
|
||||
end
|
||||
|
||||
minetest.register_craftitem(
|
||||
"rp_supertools:growth_tool",
|
||||
{
|
||||
minetest.register_craftitem("rp_supertools:growth_tool", {
|
||||
description = S("Growth Tool"),
|
||||
_tt_help = S("Make plants and mobs grow instantly"),
|
||||
inventory_image = "rp_supertools_growth_tool.png",
|
||||
@ -135,7 +133,6 @@ minetest.register_craftitem(
|
||||
used = true
|
||||
end
|
||||
end
|
||||
|
||||
if used then
|
||||
minetest.sound_play({name="rp_farming_place_nonseed", gain=0.75}, {pos=pointed_thing.under}, true)
|
||||
if not minetest.is_creative_enabled(placer:get_player_name()) then
|
||||
@ -149,9 +146,7 @@ minetest.register_craftitem(
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_craftitem(
|
||||
"rp_supertools:degrowth_tool",
|
||||
{
|
||||
minetest.register_craftitem("rp_supertools:degrowth_tool", {
|
||||
description = S("Degrowth Tool"),
|
||||
_tt_help = S("Turn mobs into children"),
|
||||
inventory_image = "rp_supertools_degrowth_tool.png",
|
||||
|
Loading…
x
Reference in New Issue
Block a user