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
65 lines
2.4 KiB
Plaintext
65 lines
2.4 KiB
Plaintext
/datum/round_event_control/spooky
|
|
name = "2 SPOOKY! (Halloween)"
|
|
holidayID = HALLOWEEN
|
|
typepath = /datum/round_event/spooky
|
|
weight = -1 //forces it to be called, regardless of weight
|
|
max_occurrences = 1
|
|
earliest_start = 0 MINUTES
|
|
category = EVENT_CATEGORY_HOLIDAY
|
|
description = "Gives everyone treats, and turns Ian and Polly into their festive versions."
|
|
|
|
/datum/round_event/spooky/start()
|
|
..()
|
|
for(var/mob/living/carbon/human/H in GLOB.carbon_list)
|
|
var/obj/item/storage/backpack/b = locate() in H.contents
|
|
if(b)
|
|
new /obj/item/storage/spooky(b)
|
|
|
|
for(var/mob/living/simple_animal/pet/dog/corgi/Ian/Ian in GLOB.mob_living_list)
|
|
Ian.place_on_head(new /obj/item/bedsheet(Ian))
|
|
for(var/mob/living/simple_animal/parrot/Polly/Polly in GLOB.mob_living_list)
|
|
new /mob/living/simple_animal/parrot/Polly/ghost(Polly.loc)
|
|
qdel(Polly)
|
|
|
|
|
|
/datum/round_event/spooky/announce(fake)
|
|
priority_announce(pick("RATTLE ME BONES!","THE RIDE NEVER ENDS!", "A SKELETON POPS OUT!", "SPOOKY SCARY SKELETONS!", "CREWMEMBERS BEWARE, YOU'RE IN FOR A SCARE!") , "THE CALL IS COMING FROM INSIDE THE HOUSE")
|
|
|
|
//spooky foods (you can't actually make these when it's not halloween)
|
|
/obj/item/reagent_containers/food/snacks/sugarcookie/spookyskull
|
|
name = "skull cookie"
|
|
desc = "Spooky! It's got delicious calcium flavouring!"
|
|
icon = 'icons/obj/halloween_items.dmi'
|
|
icon_state = "skeletoncookie"
|
|
|
|
/obj/item/reagent_containers/food/snacks/sugarcookie/spookycoffin
|
|
name = "coffin cookie"
|
|
desc = "Spooky! It's got delicious coffee flavouring!"
|
|
icon = 'icons/obj/halloween_items.dmi'
|
|
icon_state = "coffincookie"
|
|
|
|
//spooky items
|
|
|
|
/obj/item/storage/spooky
|
|
name = "trick-o-treat bag"
|
|
desc = "A pumpkin-shaped bag that holds all sorts of goodies!"
|
|
icon = 'icons/obj/halloween_items.dmi'
|
|
icon_state = "treatbag"
|
|
|
|
/obj/item/storage/spooky/New()
|
|
..()
|
|
for(var/distrobuteinbag=0 to 5)
|
|
var/type = pick(/obj/item/reagent_containers/food/snacks/sugarcookie/spookyskull,
|
|
/obj/item/reagent_containers/food/snacks/sugarcookie/spookycoffin,
|
|
/obj/item/reagent_containers/food/snacks/candy_corn,
|
|
/obj/item/reagent_containers/food/snacks/candy,
|
|
/obj/item/reagent_containers/food/snacks/candiedapple,
|
|
/obj/item/reagent_containers/food/snacks/chocolatebar,
|
|
/obj/item/organ/brain ) // OH GOD THIS ISN'T CANDY!
|
|
new type(src)
|
|
|
|
/obj/item/card/emag/halloween
|
|
name = "hack-o'-lantern"
|
|
desc = "It's a pumpkin with a cryptographic sequencer sticking out."
|
|
icon_state = "hack_o_lantern"
|