mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-21 19:19:12 +01:00
Fixes mouse spawners
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user