egg drops for spiders and oerkki

master
Juraj Vajda 2017-08-02 23:07:29 +02:00
parent 5f1aa43bf3
commit 06605ed20e
8 changed files with 53 additions and 2 deletions

View File

@ -21,5 +21,6 @@ dofile(path .. "/tree_monster.lua")
dofile(path .. "/lava_flan.lua") -- Zeg9
dofile(path .. "/mese_monster.lua")
dofile(path .. "/spider.lua") -- AspireMint
-- dofile(path .. "/shark.lua")
print ("[MOD] Mobs Redo 'Monsters' loaded")

BIN
models/mobs_shark.b3d Normal file

Binary file not shown.

BIN
models/mobs_shark.blend Normal file

Binary file not shown.

View File

@ -31,7 +31,7 @@ mobs:register_mob("mobs_monster:oerkki", {
drops = {
{name = "default:obsidian_shard", chance = 5, min = 1, max = 2},
{name = "mobs:lava_orb", chance = 15, min = 1, max = 1},
{name = "mobs_monster:oerkki", chance = 30, min = 1, max = 1},
{name = "mobs_monster:oerkki", chance = 15, min = 1, max = 1},
},
water_damage = 2,
lava_damage = 4,

50
shark.lua Normal file
View File

@ -0,0 +1,50 @@
-- Shark Monster
mobs:register_mob("mobs_monster:shark", {
type = "monster",
attack_type = "dogfight",
damage = 6,
reach = 2,
hp_min = 25,
hp_max = 50,
armor = 100,
collisionbox = {-0.38, -0.25, -0.38, 0.38, 0.25, 0.38},
visual = "mesh",
visual_size = {x = 1, y = 1},
mesh = "mobs_shark.b3d",
textures = {
{"mobs_shark_shark_mesh.png"},
},
makes_footstep_sound = false,
walk_velocity = 2,
run_velocity = 3,
jump = false,
fly = true,
fly_in = "default:water_source",
fall_speed = -9,
stepheight = 0.1,
rotate = 270,
view_range = 10,
water_damage = 0,
lava_damage = 10,
light_damage = 0,
drops = {
{name = "default:mese_crystal", chance = 15, min = 1, max = 3},
{name = "default:clay_lump", chance = 15, min = 1, max = 3},
},
animation = {
speed_normal =24,
speed_run = 24,
stand_start = 1,
stand_end = 80,
walk_start = 80,
walk_end = 160,
run_start = 80,
run_end = 160
}
})
mobs:register_egg("mobs_monster:shark", "Shark", "mobs_shark_shark_item.png", 0)
mobs:spawn_specific("mobs_monster:shark",
{"default:water_source"}, {"default:water_source"}, 4, 20, 30, 9000, 1, -30, -3)

View File

@ -37,7 +37,7 @@ mobs:register_mob("mobs_monster:spider", {
drops = {
{name = "farming:string", chance = 2, min = 1, max = 2},
{name = "ethereal:crystal_spike", chance = 15, min = 1, max = 2},
{name = "mobs_monster:spider", chance = 30, min = 1, max = 1},
{name = "mobs_monster:spider", chance = 15, min = 1, max = 1},
},
water_damage = 5,
lava_damage = 5,

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB