forked from Mineclonia/Mineclonia
Add stick group
This commit is contained in:
parent
bb7543923f
commit
94f257028e
1
API.md
1
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
|
||||
|
|
|
@ -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", {
|
||||
|
|
Loading…
Reference in New Issue