mirror of
https://github.com/LoneWolfHT/grenades.git
synced 2024-11-25 00:03:46 +01:00
Remove notices from creative inven
This commit is contained in:
parent
c7f6b6eec3
commit
e18b6c24d5
3
init.lua
3
init.lua
@ -151,6 +151,7 @@ minetest.register_craftitem("grenades:notice_flashbang", {
|
|||||||
"Once the mod is added you can punch the air with this notice to turn it into the grenade it was before",
|
"Once the mod is added you can punch the air with this notice to turn it into the grenade it was before",
|
||||||
range = 0,
|
range = 0,
|
||||||
inventory_image = "grenades_notice.png",
|
inventory_image = "grenades_notice.png",
|
||||||
|
groups = {not_in_creative_inventory = 1},
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
on_use = function()
|
on_use = function()
|
||||||
if minetest.get_modpath("grenades_basic") then
|
if minetest.get_modpath("grenades_basic") then
|
||||||
@ -166,6 +167,7 @@ minetest.register_craftitem("grenades:notice_regular", {
|
|||||||
"your items\n"..
|
"your items\n"..
|
||||||
"Once the mod is added you can punch the air with this notice to turn it into the grenade it was before",
|
"Once the mod is added you can punch the air with this notice to turn it into the grenade it was before",
|
||||||
inventory_image = "grenades_notice.png",
|
inventory_image = "grenades_notice.png",
|
||||||
|
groups = {not_in_creative_inventory = 1},
|
||||||
range = 0,
|
range = 0,
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
on_use = function()
|
on_use = function()
|
||||||
@ -182,6 +184,7 @@ minetest.register_craftitem("grenades:notice_smoke", {
|
|||||||
"Once the mod is added you can punch the air with this notice to turn it into the grenade it was before",
|
"Once the mod is added you can punch the air with this notice to turn it into the grenade it was before",
|
||||||
range = 0,
|
range = 0,
|
||||||
inventory_image = "grenades_notice.png",
|
inventory_image = "grenades_notice.png",
|
||||||
|
groups = {not_in_creative_inventory = 1},
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
on_use = function()
|
on_use = function()
|
||||||
if minetest.get_modpath("grenades_basic") then
|
if minetest.get_modpath("grenades_basic") then
|
||||||
|
Loading…
Reference in New Issue
Block a user