From fa892e880e2cfcb5eb75774409b91b77db8f08f6 Mon Sep 17 00:00:00 2001 From: chmodsayshello Date: Sat, 1 Jan 2022 12:23:13 +0000 Subject: [PATCH] removed the code I used during debugging Now, suspicious stews are no longer in the creative inventory, and have to be crafted or obtained using /giveme --- mods/ITEMS/mcl_mushrooms/suspicious_stew.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/ITEMS/mcl_mushrooms/suspicious_stew.lua b/mods/ITEMS/mcl_mushrooms/suspicious_stew.lua index 87e52be26..eb4246467 100644 --- a/mods/ITEMS/mcl_mushrooms/suspicious_stew.lua +++ b/mods/ITEMS/mcl_mushrooms/suspicious_stew.lua @@ -53,7 +53,7 @@ minetest.register_craftitem("mcl_mushrooms:poison_stew",{ inventory_image = "suspicious_stew.png", stack_max = 1, on_place = poison, - groups = { food = 2, eatable = 4, not_in_creative_inventory=0,}, + groups = { food = 2, eatable = 4, not_in_creative_inventory=1,}, _mcl_saturation = 7.2, }) @@ -62,7 +62,7 @@ minetest.register_craftitem("mcl_mushrooms:hunger_stew",{ inventory_image = "suspicious_stew.png", stack_max = 1, on_place = hunger, - groups = { food = 2, eatable = 4, not_in_creative_inventory=0,}, + groups = { food = 2, eatable = 4, not_in_creative_inventory=1,}, _mcl_saturation = 7.2, }) @@ -71,7 +71,7 @@ minetest.register_craftitem("mcl_mushrooms:jump_boost_stew",{ inventory_image = "suspicious_stew.png", stack_max = 1, on_place = jump_boost, - groups = { food = 2, eatable = 4, not_in_creative_inventory=0,}, + groups = { food = 2, eatable = 4, not_in_creative_inventory=1,}, _mcl_saturation = 7.2, }) @@ -80,7 +80,7 @@ minetest.register_craftitem("mcl_mushrooms:regneration_stew",{ inventory_image = "suspicious_stew.png", stack_max = 1, on_place = regeneration, - groups = { food = 2, eatable = 4, not_in_creative_inventory=0,}, + groups = { food = 2, eatable = 4, not_in_creative_inventory=1,}, _mcl_saturation = 7.2, }) @@ -89,7 +89,7 @@ minetest.register_craftitem("mcl_mushrooms:night_vision_stew",{ inventory_image = "suspicious_stew.png", stack_max = 1, on_place = night_vision, - groups = { food = 2, eatable = 4, not_in_creative_inventory=0,}, + groups = { food = 2, eatable = 4, not_in_creative_inventory=1,}, _mcl_saturation = 7.2, })