Crafter/mods/main/items.lua

56 lines
1.2 KiB
Lua
Raw Normal View History

2020-02-12 18:01:40 -05:00
--item definition
minetest.register_craftitem("main:apple", {
2020-03-10 23:56:27 -07:00
description = "Apple",
inventory_image = "apple.png",
groups = {satiation=1,hunger=2},
2020-02-12 18:01:40 -05:00
})
minetest.register_craftitem("main:sugar", {
description = "Sugar",
inventory_image = "sugar.png",
2020-05-05 01:07:02 -04:00
groups = {satiation=1,hunger=1},
})
2020-02-12 18:01:40 -05:00
minetest.register_craftitem("main:stick", {
2020-03-10 23:56:27 -07:00
description = "Stick",
inventory_image = "stick.png",
2020-04-18 01:44:57 +10:00
groups = {stick = 1}
2020-02-12 18:01:40 -05:00
})
minetest.register_craftitem("main:paper", {
description = "Paper",
inventory_image = "paper.png",
groups = {paper = 1}
})
2020-02-12 18:01:40 -05:00
2020-02-13 02:14:35 -05:00
minetest.register_craftitem("main:coal", {
2020-03-10 23:56:27 -07:00
description = "Coal",
inventory_image = "coal.png",
2020-04-18 01:44:57 +10:00
groups = {coal = 1}
2020-02-13 02:14:35 -05:00
})
2020-02-17 09:08:13 -05:00
minetest.register_craftitem("main:charcoal", {
2020-03-10 23:56:27 -07:00
description = "Charcoal",
inventory_image = "charcoal.png",
2020-04-18 01:44:57 +10:00
groups = {coal = 1}
2020-02-17 09:08:13 -05:00
})
2020-02-12 18:01:40 -05:00
minetest.register_craftitem("main:iron", {
2020-03-10 23:56:27 -07:00
description = "Iron",
inventory_image = "iron.png",
2020-02-12 18:01:40 -05:00
})
minetest.register_craftitem("main:gold", {
2020-03-10 23:56:27 -07:00
description = "Gold",
inventory_image = "gold.png",
2020-02-12 18:01:40 -05:00
})
minetest.register_craftitem("main:diamond", {
2020-03-10 23:56:27 -07:00
description = "Diamond",
inventory_image = "diamond.png",
2020-02-12 18:01:40 -05:00
})
minetest.register_craftitem("main:flint", {
description = "Flint",
inventory_image = "flint.png",
})