From 94f257028e8e2ecabac19a68d8de6bb9c6be99b0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 7 Feb 2017 02:54:17 +0100 Subject: [PATCH] Add stick group --- API.md | 1 + mods/mcl_core/craftitems.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index dd5068d1..a44ff19e 100644 --- a/API.md +++ b/API.md @@ -43,6 +43,7 @@ This section explains all the used groups in this subgame. * `coal=1`: Coal of any kind (lumps only, not blocks) * `wool=1`: Wool (only full blocks) * `carpet=1:` (Wool) carpet +* `stick=1`: Stick ### Declarative groups These groups are used mostly for informational purposes diff --git a/mods/mcl_core/craftitems.lua b/mods/mcl_core/craftitems.lua index 64596f5a..fd7bcb1a 100644 --- a/mods/mcl_core/craftitems.lua +++ b/mods/mcl_core/craftitems.lua @@ -8,7 +8,7 @@ minetest.register_craftitem("mcl_core:stick", { description = "Stick", inventory_image = "default_stick.png", stack_max = 64, - groups = { craftitem=1 }, + groups = { craftitem=1, stick=1 }, }) minetest.register_craftitem("mcl_core:paper", {