mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
/datum/round_event_control/mice_migration
|
|
name = "Mice Migration"
|
|
typepath = /datum/round_event/mice_migration
|
|
weight = 10
|
|
category = EVENT_CATEGORY_ENTITIES
|
|
description = "A horde of mice arrives, and perhaps even the Rat King themselves."
|
|
|
|
/datum/round_event/mice_migration
|
|
var/minimum_mice = 5
|
|
var/maximum_mice = 15
|
|
|
|
/datum/round_event/mice_migration/announce(fake)
|
|
var/cause = pick("space-winter", "budget-cuts", "Ragnarok",
|
|
"space being cold", "\[REDACTED\]", "climate change",
|
|
"bad luck")
|
|
var/plural = pick("a number of", "a horde of", "a pack of", "a swarm of",
|
|
"a whoop of", "not more than [maximum_mice]")
|
|
var/name = pick("rodents", "mice", "squeaking things",
|
|
"wire eating mammals", "\[REDACTED\]", "energy draining parasites")
|
|
var/movement = pick("migrated", "swarmed", "stampeded", "descended")
|
|
var/location = pick("maintenance tunnels", "maintenance areas",
|
|
"\[REDACTED\]", "place with all those juicy wires")
|
|
if(prob(50))
|
|
priority_announce("Due to [cause], [plural] [name] have [movement] \
|
|
into the [location].", "Migration Alert",
|
|
'sound/effects/mousesqueek.ogg')
|
|
else
|
|
print_command_report("Due to [cause], [plural] [name] have [movement] into the [location].", "Rodent Migration")
|
|
|
|
/datum/round_event/mice_migration/start()
|
|
SSminor_mapping.trigger_migration(rand(minimum_mice, maximum_mice))
|