]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/mob/init.lua
Make hostile mobs only spawn if area is really dark
[Crafter.git] / mods / mob / init.lua
index 934f65a882e66a29fd09392bed36b56bb3cf2441..53f4fd5721a7694324462b7a24904126d030205f 100644 (file)
@@ -284,7 +284,8 @@ mobs.register_mob(
         die_sound = "wool",
         
         
-        hostile = true,
+        hostile = false,
+        attacked_hostile = true,
         attack_type = "projectile",
         projectile_type = "weather:snowball",
         projectile_timer_cooldown = 1,
@@ -743,7 +744,7 @@ mobs.register_mob(
         hp = 40,
         gravity = {x = 0, y = -9.81, z = 0},
         movement_type = "walk",
-        max_speed = 9,
+        max_speed = 6,
         hostile = true,
         hostile_cooldown = false,
         state = 0,
@@ -782,7 +783,7 @@ mobs.register_mob(
         --projectile_type = "tnt:tnt",
         
         explosion_radius = 6, -- how far away the mob has to be to initialize the explosion
-        explosion_power = 14, -- how big the explosion is (radius)
+        explosion_power = 6, -- how big the explosion is (radius)
         explosion_time = 3, -- how long it takes for a mob to explode
         explosion_blink_timer = 0.1, -- how fast the blinking happens