2015-06-29 20:55:56 +03:00
|
|
|
-- mods/default/craftitems.lua
|
|
|
|
|
|
|
|
--
|
|
|
|
-- Crafting items
|
|
|
|
--
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:stick", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Stick",
|
|
|
|
inventory_image = "default_stick.png",
|
|
|
|
stack_max = 64,
|
2017-02-07 04:54:17 +03:00
|
|
|
groups = { craftitem=1, stick=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:paper", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Paper",
|
|
|
|
inventory_image = "default_paper.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:coal_lump", {
|
2017-01-04 08:20:13 +03:00
|
|
|
description = "Coal",
|
2017-01-08 01:56:52 +03:00
|
|
|
groups = { coal=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
inventory_image = "default_coal_lump.png",
|
|
|
|
stack_max = 64,
|
2017-02-07 08:07:13 +03:00
|
|
|
groups = { craftitem=1, coal=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:charcoal_lump", {
|
2017-01-04 08:20:13 +03:00
|
|
|
description = "Charcoal",
|
2017-01-08 01:56:52 +03:00
|
|
|
groups = { coal=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
inventory_image = "default_charcoal_lump.png",
|
|
|
|
stack_max = 64,
|
2017-02-07 08:07:13 +03:00
|
|
|
groups = { craftitem=1, coal=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:iron_nugget", {
|
2017-01-04 12:56:38 +03:00
|
|
|
description = "Iron Nugget",
|
|
|
|
inventory_image = "default_iron_nugget.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2017-01-04 12:56:38 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:gold_nugget", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Gold Nugget",
|
|
|
|
inventory_image = "default_gold_nugget.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:diamond", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Diamond",
|
|
|
|
inventory_image = "default_diamond.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:clay_lump", {
|
2017-01-10 05:43:31 +03:00
|
|
|
description = "Clay",
|
2015-06-29 20:55:56 +03:00
|
|
|
inventory_image = "default_clay_lump.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-11 23:14:40 +03:00
|
|
|
minetest.register_craftitem("mcl_core:iron_ingot", {
|
2017-01-04 07:29:55 +03:00
|
|
|
description = "Iron Ingot",
|
2015-06-29 20:55:56 +03:00
|
|
|
inventory_image = "default_steel_ingot.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:gold_ingot", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Gold Ingot",
|
|
|
|
inventory_image = "default_gold_ingot.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:emerald", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Emerald",
|
|
|
|
inventory_image = "default_emerald.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 20:51:26 +03:00
|
|
|
minetest.register_craftitem("mcl_core:brick", {
|
2017-01-04 08:20:13 +03:00
|
|
|
description = "Brick",
|
2015-06-29 20:55:56 +03:00
|
|
|
inventory_image = "default_clay_brick.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:flint", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Flint",
|
|
|
|
inventory_image = "default_flint.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem=1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:sugar", {
|
2015-06-29 20:55:56 +03:00
|
|
|
description = "Sugar",
|
|
|
|
inventory_image = "default_sugar.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2015-06-29 20:55:56 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:bowl",{
|
2017-01-12 02:43:35 +03:00
|
|
|
description = "Bowl",
|
|
|
|
inventory_image = "default_bowl.png",
|
|
|
|
stack_max = 64,
|
2017-01-20 06:54:09 +03:00
|
|
|
groups = { craftitem = 1 },
|
2017-01-12 02:43:35 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:apple", {
|
2017-01-05 00:45:10 +03:00
|
|
|
description = "Apple",
|
|
|
|
wield_image = "default_apple.png",
|
|
|
|
inventory_image = "default_apple.png",
|
|
|
|
stack_max = 64,
|
2017-02-16 19:45:33 +03:00
|
|
|
on_place = minetest.item_eat(4),
|
|
|
|
on_secondary_use = minetest.item_eat(4),
|
2017-01-16 16:29:41 +03:00
|
|
|
groups = { food = 2 },
|
2017-01-05 00:45:10 +03:00
|
|
|
})
|
|
|
|
|
2017-02-01 01:32:56 +03:00
|
|
|
minetest.register_craftitem("mcl_core:apple_gold", {
|
2017-01-12 08:36:44 +03:00
|
|
|
description = core.colorize("#55FFFF", "Golden Apple"),
|
2017-01-05 00:45:10 +03:00
|
|
|
wield_image = "default_apple_gold.png",
|
|
|
|
inventory_image = "default_apple_gold.png",
|
|
|
|
stack_max = 64,
|
2017-02-16 19:45:33 +03:00
|
|
|
on_place = minetest.item_eat(8),
|
|
|
|
on_secondary_use = minetest.item_eat(8),
|
2017-01-16 16:29:41 +03:00
|
|
|
groups = { food = 2 },
|
2017-01-05 00:45:10 +03:00
|
|
|
})
|