From 029137fdb93347a52c45423f210eb37f8e36028a Mon Sep 17 00:00:00 2001 From: tchncs Date: Sat, 13 Apr 2019 17:11:40 +0200 Subject: [PATCH] easter egg enhancements --- entities.lua | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/entities.lua b/entities.lua index f381de3..572f382 100644 --- a/entities.lua +++ b/entities.lua @@ -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)