Fixes mouse spawners

This commit is contained in:
Cyantime
2017-09-12 18:14:15 -04:00
parent cf344dd480
commit 6ee2ec7c81
2 changed files with 9 additions and 3 deletions
+8 -2
View File
@@ -268,9 +268,11 @@
spawn_types = list(/mob/living/simple_animal/mouse)
simultaneous_spawns = 1
destructible = 1
spawn_delay = 1 HOUR
/obj/structure/mob_spawner/mouse_nest/initialize()
/obj/structure/mob_spawner/mouse_nest/New()
..()
last_spawn = rand(world.time - spawn_delay, world.time)
icon_state = pick(
"pile1",
"pile2",
@@ -287,4 +289,8 @@
/obj/structure/mob_spawner/mouse_nest/do_spawn(var/mob_path)
. = ..()
var/atom/A = get_holder_at_turf_level(src)
A.visible_message("[.] crawls out of \the [src].")
A.visible_message("[.] crawls out of \the [src].")
/obj/structure/mob_spawner/mouse_nest/get_death_report(var/mob/living/L)
..()
last_spawn = rand(world.time - spawn_delay, world.time)