From c51bae1b991dfd5898b1706186abd7365c262243 Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 7 Jun 2023 16:28:33 -0500 Subject: [PATCH] Add apple juice item registration --- init.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.lua b/init.lua index e69de29..04b9098 100644 --- a/init.lua +++ b/init.lua @@ -0,0 +1,7 @@ + +minetest.register_craftitem("applejuice:apple_juice", { + description = "Apple Juice", + inventory_image = "applejuice.png", + + on_use = minetest.item_eat(6) +})