mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Add to moth week holiday: teleporter accidents make you moths (#60284)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#define GARBAGEDAY "Garbage Day"
|
||||
#define MONKEYDAY "Monkey Day"
|
||||
#define PRIDE_WEEK "Pride Week"
|
||||
#define MOTH_WEEK "Moth Week"
|
||||
/*
|
||||
|
||||
Days of the week to make it easier to reference them.
|
||||
|
||||
@@ -79,10 +79,13 @@
|
||||
if(ishuman(M))//don't remove people from the round randomly you jerks
|
||||
var/mob/living/carbon/human/human = M
|
||||
if(!(human.mob_biotypes & (MOB_ROBOTIC|MOB_MINERAL|MOB_UNDEAD|MOB_SPIRIT)))
|
||||
if(human.dna && human.dna.species.id != SPECIES_FLY)
|
||||
var/datum/species/species_to_transform = /datum/species/fly
|
||||
if(SSevents.holidays && SSevents.holidays[MOTH_WEEK])
|
||||
species_to_transform = /datum/species/moth
|
||||
if(human.dna && human.dna.species.id != initial(species_to_transform.id))
|
||||
to_chat(M, span_hear("You hear a buzzing in your ears."))
|
||||
human.set_species(/datum/species/fly)
|
||||
log_game("[human] ([key_name(human)]) was turned into a fly person")
|
||||
human.set_species(species_to_transform)
|
||||
log_game("[human] ([key_name(human)]) was turned into a [initial(species_to_transform.name)] through [src].")
|
||||
|
||||
human.apply_effect((rand(120 - accuracy * 40, 180 - accuracy * 60)), EFFECT_IRRADIATE, 0)
|
||||
calibrated = FALSE
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
return pick("Stout","Porter","Lager","Ale","Malt","Bock","Doppelbock","Hefeweizen","Pilsner","IPA","Lite") //I'm sorry for the last one
|
||||
|
||||
/datum/holiday/nth_week/moth
|
||||
name = "Moth Week"
|
||||
name = MOTH_WEEK
|
||||
begin_week = 3
|
||||
end_week = 4
|
||||
begin_month = JULY
|
||||
|
||||
Reference in New Issue
Block a user