Move slimeball to mcl_mobitems

This commit is contained in:
Wuzzy 2017-02-11 22:05:14 +01:00
parent 3cbb39b1fb
commit 296520c06c
10 changed files with 27 additions and 26 deletions

@ -228,6 +228,12 @@ minetest.register_craftitem("mcl_mobitems:shulker_shell", {
groups = { craftitem = 1 }, groups = { craftitem = 1 },
}) })
minetest.register_craftitem("mcl_mobitems:slimeball", {
description = "Slimeball",
inventory_image = "mcl_mobitems_slimeball.png",
groups = { craftitem = 1 },
})
minetest.register_tool("mcl_mobitems:carrot_on_a_stick", { minetest.register_tool("mcl_mobitems:carrot_on_a_stick", {
description = "Carrot on a Stick", description = "Carrot on a Stick",
wield_image = "mcl_mobitems_carrot_on_a_stick.png", wield_image = "mcl_mobitems_carrot_on_a_stick.png",
@ -235,6 +241,7 @@ minetest.register_tool("mcl_mobitems:carrot_on_a_stick", {
groups = { transport = 1 }, groups = { transport = 1 },
}) })
----------- -----------
-- Crafting -- Crafting
----------- -----------
@ -289,7 +296,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
type = "shapeless", type = "shapeless",
output = "mcl_mobitems:magma_cream", output = "mcl_mobitems:magma_cream",
recipe = {"mcl_mobitems:blaze_powder", "mesecons_materials:glue"}, recipe = {"mcl_mobitems:blaze_powder", "mcl_mobitems:slimeball"},
}) })
minetest.register_craft({ minetest.register_craft({
@ -326,4 +333,15 @@ minetest.register_craft({
burntime = 120, burntime = 120,
}) })
minetest.register_craft({
output = 'mcl_mobitems:slimeball 9',
recipe = {{"mcl_core:slimeblock"}},
})
minetest.register_craft({
output = "mcl_core:slimeblock",
recipe = {{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",},
{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",},
{"mcl_mobitems:slimeball","mcl_mobitems:slimeball","mcl_mobitems:slimeball",}},
})

Before

Width:  |  Height:  |  Size: 310 B

After

Width:  |  Height:  |  Size: 310 B

@ -123,7 +123,7 @@ minetest.register_craft({
}) })
minetest.register_craft({ minetest.register_craft({
output = 'mesecons_materials:slimeball', output = 'mcl_mobitems:slimeball',
type = "cooking", type = "cooking",
recipe = "mcl_core:sapling", recipe = "mcl_core:sapling",
cooktime = 10, cooktime = 10,

@ -146,7 +146,7 @@ Details
Green slimes: Green slimes:
> spawn in jungle grass or in temples mossy cobble (default:mossycobble). > spawn in jungle grass or in temples mossy cobble (default:mossycobble).
> on die, they drop a randomish amount of glue (from mesecon mod) > on die, they drop a randomish amount of slimeballs
> Lava hurts them. > Lava hurts them.
Lava slimes: Lava slimes:

@ -32,7 +32,7 @@ mobs:register_mob("mobs_mc:greensmall", {
damage = 0, damage = 0,
armor = 100, armor = 100,
drops = { drops = {
{name = "mesecons_materials:glue", {name = "mcl_mobitems:slimeball",
chance = 1, chance = 1,
min = 0, min = 0,
max = 2,}, max = 2,},

@ -36,3 +36,6 @@ minetest.register_alias("mesecons_pistons:piston_up_normal", "mesecons_pistons:p
minetest.register_alias("mesecons_pistons:piston_down_normal", "mesecons_pistons:piston_down_normal_on") minetest.register_alias("mesecons_pistons:piston_down_normal", "mesecons_pistons:piston_down_normal_on")
minetest.register_alias("mesecons_pistons:piston_up_sticky", "mesecons_pistons:piston_up_sticky_on") minetest.register_alias("mesecons_pistons:piston_up_sticky", "mesecons_pistons:piston_up_sticky_on")
minetest.register_alias("mesecons_pistons:piston_down_sticky", "mesecons_pistons:piston_down_sticky_on") minetest.register_alias("mesecons_pistons:piston_down_sticky", "mesecons_pistons:piston_down_sticky_on")
--MineClone 2 specials
minetest.register_alias("mesecons_materials:glue", "mcl_mobitems:slimeball")

@ -1,20 +0,0 @@
minetest.register_craftitem("mesecons_materials:slimeball", {
image = "jeija_glue.png",
on_place_on_ground = minetest.craftitem_place_item,
description="Slimeball",
groups = { craftitem = 1 },
})
minetest.register_craft({
output = 'mesecons_materials:slimeball 9',
recipe = {{"mcl_core:slimeblock"}},
})
minetest.register_craft({
output = "mcl_core:slimeblock",
recipe = {{"mesecons_materials:slimeball","mesecons_materials:slimeball","mesecons_materials:slimeball",},
{"mesecons_materials:slimeball","mesecons_materials:slimeball","mesecons_materials:slimeball",},
{"mesecons_materials:slimeball","mesecons_materials:slimeball","mesecons_materials:slimeball",}},
})
minetest.register_alias("mesecons_materials:glue", "mesecons_materials:slimeball")

@ -1,2 +1,3 @@
mesecons mesecons
mesecons_mvps mesecons_mvps
mcl_mobitems

@ -758,7 +758,7 @@ minetest.register_craft({
minetest.register_craft({ minetest.register_craft({
output = "mesecons_pistons:piston_sticky_off", output = "mesecons_pistons:piston_sticky_off",
recipe = { recipe = {
{"mesecons_materials:slimeball"}, {"mcl_mobitems:slimeball"},
{"mesecons_pistons:piston_normal_off"}, {"mesecons_pistons:piston_normal_off"},
} }
}) })

@ -1,2 +1 @@
mesecons mesecons
mesecons_materials