mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 12:01:06 +01:00
Add stick group
This commit is contained in:
parent
bb7543923f
commit
94f257028e
2 changed files with 2 additions and 1 deletions
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)
|
* `coal=1`: Coal of any kind (lumps only, not blocks)
|
||||||
* `wool=1`: Wool (only full blocks)
|
* `wool=1`: Wool (only full blocks)
|
||||||
* `carpet=1:` (Wool) carpet
|
* `carpet=1:` (Wool) carpet
|
||||||
|
* `stick=1`: Stick
|
||||||
|
|
||||||
### Declarative groups
|
### Declarative groups
|
||||||
These groups are used mostly for informational purposes
|
These groups are used mostly for informational purposes
|
||||||
|
|
|
@ -8,7 +8,7 @@ minetest.register_craftitem("mcl_core:stick", {
|
||||||
description = "Stick",
|
description = "Stick",
|
||||||
inventory_image = "default_stick.png",
|
inventory_image = "default_stick.png",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
groups = { craftitem=1 },
|
groups = { craftitem=1, stick=1 },
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mcl_core:paper", {
|
minetest.register_craftitem("mcl_core:paper", {
|
||||||
|
|
Loading…
Reference in a new issue