forked from VoxeLibre/VoxeLibre
obs: loot table updates
fix table being defined twice for hoglin enable looting enchantment effects wheee missing use int 1 in N chances correct some values to those from mc wiki
This commit is contained in:
parent
348c96a9e0
commit
f92a0154ed
|
@ -67,7 +67,8 @@ local cod = {
|
|||
{name = "mcl_bone_meal:bone_meal",
|
||||
chance = 20,
|
||||
min = 1,
|
||||
max = 1,},
|
||||
max = 1,
|
||||
looting = rare},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = false,
|
||||
|
|
|
@ -41,7 +41,7 @@ mcl_mobs.register_mob("mobs_mc:ghast", {
|
|||
run_velocity = 3.2,
|
||||
drops = {
|
||||
{name = "mcl_mobitems:gunpowder", chance = 1, min = 0, max = 2, looting = "common"},
|
||||
{name = "mcl_mobitems:ghast_tear", chance = 10/6, min = 0, max = 1, looting = "common", looting_ignore_chance = true},
|
||||
{name = "mcl_mobitems:ghast_tear", chance = 1, min = 0, max = 1, looting = "common",},
|
||||
},
|
||||
animation = {
|
||||
stand_speed = 50, walk_speed = 50, run_speed = 50,
|
||||
|
|
|
@ -80,25 +80,25 @@ mcl_mobs.register_mob("mobs_mc:guardian_elder", {
|
|||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",
|
||||
looting_factor = 0.01 / 4,},
|
||||
looting_factor = 0.0025,},
|
||||
{name = "mcl_fishing:salmon_raw",
|
||||
chance = 160,
|
||||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",
|
||||
looting_factor = 0.01 / 4,},
|
||||
looting_factor = 0.0025,},
|
||||
{name = "mcl_fishing:clownfish_raw",
|
||||
chance = 160,
|
||||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",
|
||||
looting_factor = 0.01 / 4,},
|
||||
looting_factor = 0.0025,},
|
||||
{name = "mcl_fishing:pufferfish_raw",
|
||||
chance = 160,
|
||||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",
|
||||
looting_factor = 0.01 / 4,},
|
||||
looting_factor = 0.0025,},
|
||||
},
|
||||
fly = true,
|
||||
makes_footstep_sound = false,
|
||||
|
|
|
@ -43,13 +43,13 @@ local hoglin = {
|
|||
{name = "mobs_mcitems:leather",
|
||||
chance = 1,
|
||||
min = 0,
|
||||
max = 1,},
|
||||
},
|
||||
drops = {
|
||||
max = 2,
|
||||
looting = "common",},
|
||||
{name = "mcl_mobitems:porkchop",
|
||||
chance = 1,
|
||||
min = 2,
|
||||
max = 4,},
|
||||
max = 4,
|
||||
looting = "common",},
|
||||
},
|
||||
animation = {
|
||||
stand_speed = 7,
|
||||
|
|
|
@ -71,7 +71,7 @@ local piglin = {
|
|||
run_velocity = 2.8,
|
||||
drops = {
|
||||
{name = "mcl_bows:crossbow",
|
||||
chance = 10,
|
||||
chance = 11, -- 8.5% approximated
|
||||
min = 1,
|
||||
max = 1,},
|
||||
},
|
||||
|
|
|
@ -71,10 +71,11 @@ pillager = {
|
|||
},
|
||||
{
|
||||
name = "mcl_bows:crossbow",
|
||||
chance = 100 / 8.5,
|
||||
chance = 11, -- 8.5% approximated
|
||||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",
|
||||
looting_factor = 0.012,
|
||||
},
|
||||
},
|
||||
animation = {
|
||||
|
@ -122,4 +123,4 @@ pillager = {
|
|||
|
||||
mcl_mobs.register_mob("mobs_mc:pillager", pillager)
|
||||
mcl_mobs.register_egg("mobs_mc:pillager", S("Pillager"), "#532f36", "#959b9b", 0)
|
||||
mcl_mobs:non_spawn_specific("mobs_mc:pillager","overworld",0,7)
|
||||
mcl_mobs:non_spawn_specific("mobs_mc:pillager","overworld",0,7)
|
||||
|
|
|
@ -47,9 +47,9 @@ local rabbit = {
|
|||
runaway = true,
|
||||
jump = true,
|
||||
drops = {
|
||||
{name = "mcl_mobitems:rabbit", chance = 1, min = 0, max = 1, looting = "common",},
|
||||
{name = "mcl_mobitems:rabbit", chance = 1, min = 1, max = 1, looting = "common",},
|
||||
{name = "mcl_mobitems:rabbit_hide", chance = 1, min = 0, max = 1, looting = "common",},
|
||||
{name = "mcl_mobitems:rabbit_foot", chance = 10, min = 0, max = 1, looting = "rare", looting_factor = 0.03,},
|
||||
{name = "mcl_mobitems:rabbit_foot", chance = 10, min = 1, max = 1, looting = "rare", looting_factor = 0.03,},
|
||||
},
|
||||
fear_height = 4,
|
||||
animation = {
|
||||
|
|
|
@ -45,7 +45,8 @@ local salmon = {
|
|||
{name = "mcl_bone_meal:bone_meal",
|
||||
chance = 20,
|
||||
min = 1,
|
||||
max = 1,},
|
||||
max = 1,
|
||||
looting = "rare",},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = false,
|
||||
|
|
|
@ -59,7 +59,7 @@ mcl_mobs.register_mob("mobs_mc:shulker", {
|
|||
drops = {
|
||||
{name = "mcl_mobitems:shulker_shell",
|
||||
chance = 2,
|
||||
min = 1,
|
||||
min = 0,
|
||||
max = 1,
|
||||
looting = "rare",
|
||||
looting_factor = 0.0625},
|
||||
|
|
|
@ -55,7 +55,7 @@ local skeleton = {
|
|||
max = 2,
|
||||
looting = "common",},
|
||||
{name = "mcl_bows:bow",
|
||||
chance = 100 / 8.5,
|
||||
chance = 11, -- 8.5%
|
||||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",},
|
||||
|
|
|
@ -422,8 +422,8 @@ local magma_cube_big = {
|
|||
armor = 53,
|
||||
drops = {
|
||||
{name = "mcl_mobitems:magma_cream",
|
||||
chance = 4,
|
||||
min = 1,
|
||||
chance = 1,
|
||||
min = 0,
|
||||
max = 1,},
|
||||
},
|
||||
-- TODO: Fix animations
|
||||
|
|
|
@ -90,9 +90,7 @@ local spider = {
|
|||
floats = 1,
|
||||
drops = {
|
||||
{name = "mcl_mobitems:string", chance = 1, min = 0, max = 2, looting = "common"},
|
||||
{name = "mcl_mobitems:spider_eye", chance = 3, min = 1, max = 1, looting = "common", looting_chance_function = function(lvl)
|
||||
return 1 - 2 / (lvl + 3)
|
||||
end},
|
||||
{name = "mcl_mobitems:spider_eye", chance = 1, min = 0, max = 1, looting = "common",},
|
||||
},
|
||||
specific_attack = { "player", "mobs_mc:iron_golem" },
|
||||
fear_height = 4,
|
||||
|
|
|
@ -39,7 +39,7 @@ local strider = {
|
|||
drops = {
|
||||
{name = "mcl_mobsitems:string",
|
||||
chance = 1,
|
||||
min = 2,
|
||||
min = 0,
|
||||
max = 5,},
|
||||
},
|
||||
animation = {
|
||||
|
|
|
@ -90,7 +90,8 @@ local tropical_fish = {
|
|||
{name = "mcl_bone_meal:bone_meal",
|
||||
chance = 20,
|
||||
min = 1,
|
||||
max = 1,},
|
||||
max = 1,
|
||||
looting = "rare",},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = false,
|
||||
|
|
|
@ -50,7 +50,7 @@ mcl_mobs.register_mob("mobs_mc:vindicator", {
|
|||
max = 1,
|
||||
looting = "common",},
|
||||
{name = "mcl_tools:axe_iron",
|
||||
chance = 100 / 8.5,
|
||||
chance = 11, --8.5% approximated
|
||||
min = 1,
|
||||
max = 1,
|
||||
looting = "rare",},
|
||||
|
|
Loading…
Reference in New Issue