Add moth week as a holiday (#39377)

* Add moth week as a holiday

* Station prefixes

* Dynamic date
This commit is contained in:
Jared-Fogle
2018-07-29 13:49:10 +12:00
committed by oranges
parent 19e2cfe0e1
commit baa1e2cc1b
+10 -1
View File
@@ -205,7 +205,7 @@
name = "UFO Day"
begin_day = 2
begin_month = JULY
drone_hat = /obj/item/clothing/mask/facehugger/dead
drone_hat = /obj/item/clothing/mask/facehugger/dead
/datum/holiday/UFO/getStationPrefix() //Is such a thing even possible?
return pick("Ayy","Truth","Tsoukalos","Mulder") //Yes it is!
@@ -366,6 +366,15 @@
begin_month = JUNE
begin_weekday = SUNDAY
/datum/holiday/moth
name = "Moth Week"
/datum/holiday/moth/shouldCelebrate(dd, mm, yy, ww, ddd) //National Moth Week falls on the last full week of July
return mm == JULY && (ww == 4 || (ww == 5 && ddd == SUNDAY))
/datum/holiday/moth/getStationPrefix()
return pick("Mothball","Lepidopteran","Lightbulb","Moth","Giant Atlas","Twin-spotted Sphynx","Madagascan Sunset","Luna","Death's Head","Emperor Gum","Polyphenus","Oleander Hawk","Io","Rosy Maple","Cecropia","Noctuidae","Giant Leopard","Dysphania Militaris","Garden Tiger")
/datum/holiday/ramadan
name = "Start of Ramadan"