0
0
Fork 0

Make music discs pre-obtainable

This commit is contained in:
Wuzzy 2017-02-20 07:34:47 +01:00
parent aa5ef41015
commit 60c6a97de4
3 changed files with 59 additions and 0 deletions

View File

@ -40,6 +40,15 @@ mobs:register_mob("mobs_mc:creeper", {
chance = 1,
min = 0,
max = 2,},
-- TODO: In Minecraft, record discs only drop when a creeper got killed by a skeleton's arrow
{name = "mcl_jukebox:record_6",
chance = 100,
min = 1,
max = 1,},
{name = "mcl_jukebox:record_7",
chance = 125,
min = 1,
max = 1,},
},
animation = {
speed_normal = 24,

View File

@ -61,6 +61,11 @@ mobs:register_mob("mobs_mc:zombie", {
chance = 11,
min = 1,
max = 1,},
-- TODO: Remove this drop when record discs are properly dropped
{name = "mcl_jukebox:record_8",
chance = 150,
min = 1,
max = 1,},
},
animation = {
speed_normal = 24,

View File

@ -201,3 +201,48 @@ minetest.register_craft({
{"mcl_farming:potato_item","mcl_farming:potato_item","mcl_farming:potato_item"},
},
})
minetest.register_craft({
output = "mcl_jukebox:record_1",
recipe = {
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_ocean:sea_lantern", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
}
})
minetest.register_craft({
output = "mcl_jukebox:record_2",
recipe = {
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_fire:fire_charge", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
}
})
minetest.register_craft({
output = "mcl_jukebox:record_3",
recipe = {
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_core:emerald", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
}
})
minetest.register_craft({
output = "mcl_jukebox:record_4",
recipe = {
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_end:ender_eye", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
}
})
minetest.register_craft({
output = "mcl_jukebox:record_5",
recipe = {
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_nether:nether_wart_block", "mcl_core:glass_black", },
{ "mcl_core:glass_black", "mcl_core:glass_black", "mcl_core:glass_black", },
}
})
-- 2 discs are dropped by creeper
-- 1 disc is droppd by zombie
-- TODO: Remove/fix these drops when creeper drops music discs properly