mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-22 16:09:33 +01:00
Make apples non-craftitems
This commit is contained in:
parent
65f3798076
commit
356bca4fd7
1 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ minetest.register_craftitem("default:quartz_crystal", {
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("default:apple", {
|
minetest.register_craftitem("default:apple", {
|
||||||
description = "Apple",
|
description = "Apple",
|
||||||
wield_image = "default_apple.png",
|
wield_image = "default_apple.png",
|
||||||
inventory_image = "default_apple.png",
|
inventory_image = "default_apple.png",
|
||||||
|
@ -162,7 +162,7 @@ minetest.register_node("default:apple", {
|
||||||
on_use = minetest.item_eat(4),
|
on_use = minetest.item_eat(4),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_node("default:apple_gold", {
|
minetest.register_craftitem("default:apple_gold", {
|
||||||
description = "Golden Apple",
|
description = "Golden Apple",
|
||||||
wield_image = "default_apple_gold.png",
|
wield_image = "default_apple_gold.png",
|
||||||
inventory_image = "default_apple_gold.png",
|
inventory_image = "default_apple_gold.png",
|
||||||
|
|
Loading…
Reference in a new issue