Commit 029137fd authored by Milan's avatar Milan
Browse files

easter egg enhancements

parent da2d3ee5
Loading
Loading
Loading
Loading
+9 −7
Original line number Diff line number Diff line
@@ -65,8 +65,8 @@ mobs:register_mob("illuna:event_egg", {
	type = "animal",
	passive = true,
	reach = 1,
	hp_min = 50,
	hp_max = 130,
	hp_min = 80,
	hp_max = 170,
	armor = 600,
	collisionbox = {-0.1, -0.12, -0.1, 0.1, 0.12, 0.1},
    visual = "mesh",
@@ -79,14 +79,17 @@ mobs:register_mob("illuna:event_egg", {
	makes_footstep_sound = false,
	runaway = true,
	jump = true,
    walk_chance = 0,
    walk_velocity = 2,
    walk_chance = 20,
    walk_velocity = .4,
    run_velocity = 2,
    runaway_from = "player",
    glow = 4,
    stepheight = 0.6,
    jump_chance = 5,
    jump_chance = 18,
	water_damage = 0,
	lava_damage = 50,
	light_damage = 0,
	fear_height = 5,
	fear_height = 8,
	view_range = 8,
    drops = {
        {name = "bows:arrow_rainbow", chance = 1, min = 2, max = 15},
@@ -95,6 +98,5 @@ mobs:register_mob("illuna:event_egg", {
    },
})

-- TODO: doublecheck the spawnchance 
mobs:register_spawn("illuna:event_egg", {"default:grass_5"}, 20, 10, 700, 2, 31000, true)
mobs:register_egg("illuna:event_egg", "Event Egg", "event_egg_item.png", 0)