MineClone5/mods/mcl_core/craftitems.lua

207 lines
5.0 KiB
Lua
Raw Normal View History

2015-06-29 19:55:56 +02:00
-- mods/default/craftitems.lua
--
-- Crafting items
--
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:stick", {
2015-06-29 19:55:56 +02:00
description = "Stick",
inventory_image = "default_stick.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:paper", {
2015-06-29 19:55:56 +02:00
description = "Paper",
inventory_image = "default_paper.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:book", {
2015-06-29 19:55:56 +02:00
description = "Book",
inventory_image = "default_book.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:coal_lump", {
description = "Coal",
2017-01-07 23:56:52 +01:00
groups = { coal=1 },
2015-06-29 19:55:56 +02:00
inventory_image = "default_coal_lump.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:charcoal_lump", {
description = "Charcoal",
2017-01-07 23:56:52 +01:00
groups = { coal=1 },
2015-06-29 19:55:56 +02:00
inventory_image = "default_charcoal_lump.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:iron_nugget", {
2017-01-04 10:56:38 +01:00
description = "Iron Nugget",
inventory_image = "default_iron_nugget.png",
stack_max = 64,
groups = { craftitem=1 },
2017-01-04 10:56:38 +01:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:gold_nugget", {
2015-06-29 19:55:56 +02:00
description = "Gold Nugget",
inventory_image = "default_gold_nugget.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:diamond", {
2015-06-29 19:55:56 +02:00
description = "Diamond",
inventory_image = "default_diamond.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:clay_lump", {
2017-01-10 03:43:31 +01:00
description = "Clay",
2015-06-29 19:55:56 +02:00
inventory_image = "default_clay_lump.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:steel_ingot", {
2017-01-04 05:29:55 +01:00
description = "Iron Ingot",
2015-06-29 19:55:56 +02:00
inventory_image = "default_steel_ingot.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:gold_ingot", {
2015-06-29 19:55:56 +02:00
description = "Gold Ingot",
inventory_image = "default_gold_ingot.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:emerald", {
2015-06-29 19:55:56 +02:00
description = "Emerald",
inventory_image = "default_emerald.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:clay_brick", {
description = "Brick",
2015-06-29 19:55:56 +02:00
inventory_image = "default_clay_brick.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:flint", {
2015-06-29 19:55:56 +02:00
description = "Flint",
inventory_image = "default_flint.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:gunpowder", {
2015-06-29 19:55:56 +02:00
description = "Gunpowder",
inventory_image = "default_gunpowder.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:bone", {
2015-06-29 19:55:56 +02:00
description = "Bone",
inventory_image = "default_bone.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:glowstone_dust", {
2015-06-29 19:55:56 +02:00
description = "Glowstone Dust",
inventory_image = "default_glowstone_dust.png",
stack_max = 64,
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:fish_raw", {
2015-06-29 19:55:56 +02:00
description = "Raw Fish",
inventory_image = "default_fish.png",
2015-06-29 19:55:56 +02:00
on_use = minetest.item_eat(2),
stack_max = 64,
groups = { food=1, eatable = 2 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:fish", {
2015-06-29 19:55:56 +02:00
description = "Cooked Fish",
inventory_image = "default_fish_cooked.png",
2015-06-29 19:55:56 +02:00
on_use = minetest.item_eat(4),
stack_max = 64,
groups = { food=1, eatable=4 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:sugar", {
2015-06-29 19:55:56 +02:00
description = "Sugar",
inventory_image = "default_sugar.png",
stack_max = 64,
groups = { craftitem = 1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:string",{
2015-06-29 19:55:56 +02:00
description = "String",
inventory_image = "default_string.png",
stack_max = 64,
groups = { craftitem = 1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:bowl",{
2017-01-12 00:43:35 +01:00
description = "Bowl",
inventory_image = "default_bowl.png",
stack_max = 64,
groups = { craftitem = 1 },
2017-01-12 00:43:35 +01:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:prismarine_cry", {
2015-06-29 19:55:56 +02:00
description = "Prismarine Crystals",
inventory_image = "default_prismarine_crystals.png",
stack_max = 64,
groups = { craftitem = 1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:prismarine_shard", {
2015-06-29 19:55:56 +02:00
description = "Prismarine Shard",
inventory_image = "default_prismarine_shard.png",
stack_max = 64,
groups = { craftitem = 1 },
groups = { craftitem=1 },
2015-06-29 19:55:56 +02:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:quartz_crystal", {
2017-01-04 08:01:40 +01:00
description = "Nether Quartz",
2015-06-29 19:55:56 +02:00
inventory_image = "default_quartz_crystal.png",
stack_max = 64,
groups = { craftitem = 1 },
groups = { craftitem=1 },
2017-01-04 05:29:55 +01:00
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:apple", {
description = "Apple",
wield_image = "default_apple.png",
inventory_image = "default_apple.png",
stack_max = 64,
on_use = minetest.item_eat(4),
groups = { food = 2 },
})
2017-01-31 23:32:56 +01:00
minetest.register_craftitem("mcl_core:apple_gold", {
2017-01-12 06:36:44 +01:00
description = core.colorize("#55FFFF", "Golden Apple"),
wield_image = "default_apple_gold.png",
inventory_image = "default_apple_gold.png",
stack_max = 64,
on_use = minetest.item_eat(8),
groups = { food = 2 },
})
2017-01-31 23:32:56 +01:00
minetest.register_alias("mcl_core:iron_ingot", "mcl_core:steel_ingot")