Add several craftitems
|
@ -634,10 +634,16 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- TODO: Remove helper recipe
|
||||||
|
minetest.register_craft({
|
||||||
|
type = 'shapeless',
|
||||||
|
output = 'default:book',
|
||||||
|
recipe = { 'default:paper', 'default:paper', 'default:paper', 'mobs:leather',
|
||||||
|
}
|
||||||
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = 'shapeless',
|
type = 'shapeless',
|
||||||
output = 'default:book',
|
output = 'default:book',
|
||||||
-- FIXME: Update recipe. 3 paper 1 lether
|
|
||||||
recipe = { 'default:paper', 'default:paper', 'default:paper', 'default:paper',
|
recipe = { 'default:paper', 'default:paper', 'default:paper', 'default:paper',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -668,6 +674,7 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- TODO: Remove recipe when mobs are working
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "default:gunpowder",
|
output = "default:gunpowder",
|
||||||
|
|
|
@ -130,7 +130,15 @@ minetest.register_node("itemframes:frame",{
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- FIXME: Replace paper with leather
|
minetest.register_craft({
|
||||||
|
output = 'itemframes:frame',
|
||||||
|
recipe = {
|
||||||
|
{'default:stick', 'default:stick', 'default:stick'},
|
||||||
|
{'default:stick', 'mobs:leather', 'default:stick'},
|
||||||
|
{'default:stick', 'default:stick', 'default:stick'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
-- FIXME: Remove helper recipe
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'itemframes:frame',
|
output = 'itemframes:frame',
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|
|
@ -41,3 +41,17 @@ minetest.register_craft({
|
||||||
{"mcl_end:end_stone", "mcl_end:end_stone"},
|
{"mcl_end:end_stone", "mcl_end:end_stone"},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mcl_end:ender_eye", {
|
||||||
|
description = "Eye of Ender",
|
||||||
|
wield_image = "mcl_end_ender_eye.png",
|
||||||
|
inventory_image = "mcl_end_ender_eye.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "mcl_end:ender_eye",
|
||||||
|
recipe = {"mobs:blaze_powder", "mcl_ender_pearl:ender_pearl"},
|
||||||
|
})
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 804 B |
|
@ -0,0 +1,22 @@
|
||||||
|
minetest.register_craftitem("mcl_potions:fermented_spider_eye", {
|
||||||
|
description = "Fermented Spider Eye",
|
||||||
|
wield_image = "mcl_potions_spider_eye_fermented.png",
|
||||||
|
inventory_image = "mcl_potions_spider_eye_fermented.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "mcl_potions:fermented_spider_eye",
|
||||||
|
recipe = { "farming:mushroom_brown", "default:sugar", "mobs:spider_eye" },
|
||||||
|
})
|
||||||
|
|
||||||
|
-- TODO: Get texture
|
||||||
|
--[[
|
||||||
|
minetest.register_craftitem("mcl_potions:dragon_breath", {
|
||||||
|
description = "Dragon's Breath",
|
||||||
|
wield_image = "mcl_potions_dragon_breath.png",
|
||||||
|
inventory_image = "mcl_potions_dragon_breath.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
]]
|
After Width: | Height: | Size: 455 B |
|
@ -17,8 +17,8 @@ mobs:register_mob("mobs:creeper", {
|
||||||
drops = {
|
drops = {
|
||||||
{name = "default:gunpowder",
|
{name = "default:gunpowder",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 1,
|
min = 0,
|
||||||
max = 3,},
|
max = 2,},
|
||||||
},
|
},
|
||||||
armor = 70,
|
armor = 70,
|
||||||
drawtype = "front",
|
drawtype = "front",
|
||||||
|
|
|
@ -49,7 +49,6 @@ minetest.register_craftitem("mobs:zombie", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craftitem("mobs:spider", {
|
minetest.register_craftitem("mobs:spider", {
|
||||||
description = "Spawn Spider",
|
description = "Spawn Spider",
|
||||||
inventory_image = "spawn_spider.png",
|
inventory_image = "spawn_spider.png",
|
||||||
|
@ -90,25 +89,105 @@ minetest.register_craftitem("mobs:creeper", {
|
||||||
minetest.register_craftitem("mobs:rotten_flesh", {
|
minetest.register_craftitem("mobs:rotten_flesh", {
|
||||||
description = "Rotten Flesh",
|
description = "Rotten Flesh",
|
||||||
inventory_image = "rotten_flesh.png",
|
inventory_image = "rotten_flesh.png",
|
||||||
|
wield_image = "rotten_flesh.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mobs:meat_raw_sheep", {
|
minetest.register_craftitem("mobs:meat_raw_sheep", {
|
||||||
description = "Raw Mutton",
|
description = "Raw Mutton",
|
||||||
inventory_image = "mutton_raw.png",
|
inventory_image = "mutton_raw.png",
|
||||||
|
wield_image = "mutton_raw.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mobs:meat_cooked_sheep", {
|
minetest.register_craftitem("mobs:meat_cooked_sheep", {
|
||||||
description = "Cooked Mutton",
|
description = "Cooked Mutton",
|
||||||
inventory_image = "mutton_cooked.png",
|
inventory_image = "mutton_cooked.png",
|
||||||
|
wield_image = "mutton_cooked.png",
|
||||||
on_use = minetest.item_eat(4),
|
on_use = minetest.item_eat(4),
|
||||||
|
stack_max = 64,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("mobs:spider_eye", {
|
minetest.register_craftitem("mobs:spider_eye", {
|
||||||
description = "Spider Eye",
|
description = "Spider Eye",
|
||||||
inventory_image = "spider_eye.png",
|
inventory_image = "spider_eye.png",
|
||||||
|
wield_image = "spider_eye.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:blaze_rod", {
|
||||||
|
description = "Blaze Rod",
|
||||||
|
wield_image = "mobs_blaze_rod.png",
|
||||||
|
inventory_image = "mobs_blaze_rod.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:blaze_powder", {
|
||||||
|
description = "Blaze Powder",
|
||||||
|
wield_image = "mobs_blaze_powder.png",
|
||||||
|
inventory_image = "mobs_blaze_powder.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:magma_cream", {
|
||||||
|
description = "Magma Cream",
|
||||||
|
wield_image = "mobs_magma_cream.png",
|
||||||
|
inventory_image = "mobs_magma_cream.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:ghast_tear", {
|
||||||
|
description = "Ghast Tear",
|
||||||
|
wield_image = "mobs_ghast_tear.png",
|
||||||
|
inventory_image = "mobs_ghast_tear.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:nether_star", {
|
||||||
|
description = "Nether Star",
|
||||||
|
wield_image = "mobs_nether_star.png",
|
||||||
|
inventory_image = "mobs_nether_star.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:leather", {
|
||||||
|
description = "Leather",
|
||||||
|
wield_image = "mobs_leather.png",
|
||||||
|
inventory_image = "mobs_leather.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("mobs:rabbit_hide", {
|
||||||
|
description = "Rabbit Hide",
|
||||||
|
wield_image = "mobs_rabbit_hide.png",
|
||||||
|
inventory_image = "mobs_rabbit_hide.png",
|
||||||
|
stack_max = 64,
|
||||||
|
})
|
||||||
|
|
||||||
|
-----------
|
||||||
|
-- Crafting
|
||||||
|
-----------
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mobs:leather",
|
||||||
|
recipe = {
|
||||||
|
{ "mobs:rabbit_hide", "mobs:rabbit_hide" },
|
||||||
|
{ "mobs:rabbit_hide", "mobs:rabbit_hide" },
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "mobs:blaze_powder 2",
|
||||||
|
recipe = {{"mobs:blaze_rod"}},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "shapeless",
|
||||||
|
output = "mobs:magma_cream",
|
||||||
|
recipe = {"mobs:blaze_powder", "mesecons_materials:glue"},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -12,7 +12,7 @@ mobs:register_mob("mobs:sheep", {
|
||||||
armor = 100,
|
armor = 100,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mobs:meat_raw_sheep",
|
{name = "mobs:meat_raw_sheep",
|
||||||
chance = 2,
|
chance = 1,
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 2,},
|
max = 2,},
|
||||||
},
|
},
|
||||||
|
|
|
@ -29,8 +29,8 @@ mobs:register_mob("mobs:slime", {
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mesecons_materials:glue",
|
{name = "mesecons_materials:glue",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 1,
|
min = 0,
|
||||||
max = 4,},
|
max = 2,},
|
||||||
},
|
},
|
||||||
armor = 100,
|
armor = 100,
|
||||||
drawtype = "front",
|
drawtype = "front",
|
||||||
|
|
After Width: | Height: | Size: 516 B |
After Width: | Height: | Size: 314 B |
After Width: | Height: | Size: 255 B |
After Width: | Height: | Size: 207 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 762 B |
After Width: | Height: | Size: 314 B |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.1 KiB |
|
@ -80,7 +80,15 @@ end
|
||||||
|
|
||||||
minetest.register_entity("throwing:arrow_entity", THROWING_ARROW_ENTITY)
|
minetest.register_entity("throwing:arrow_entity", THROWING_ARROW_ENTITY)
|
||||||
|
|
||||||
-- FIXME: Replace paper with feather
|
minetest.register_craft({
|
||||||
|
output = 'throwing:arrow 4',
|
||||||
|
recipe = {
|
||||||
|
{'default:flint'},
|
||||||
|
{'default:stick'},
|
||||||
|
{'mobs:feather'}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
-- FIXME: Helper recipe
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = 'throwing:arrow 4',
|
output = 'throwing:arrow 4',
|
||||||
recipe = {
|
recipe = {
|
||||||
|
|