Pumpkin meteors

This commit is contained in:
Remie Richards
2014-10-05 13:10:31 +01:00
parent 902974022e
commit 4fd3b7c80b
3 changed files with 23 additions and 0 deletions
+21
View File
@@ -8,6 +8,8 @@
/var/list/meteorsC = list(/obj/effect/meteor/dust) //for space dust event
/var/list/meteorsSPOOKY = list(/obj/effect/meteor/pumpkin)
/proc/spawn_meteors(var/number = 10, var/list/meteortypes)
for(var/i = 0; i < number; i++)
spawn_meteor(meteortypes)
@@ -132,6 +134,25 @@
heavy = 1
meteordrop = /obj/item/weapon/ore/uranium
/obj/effect/meteor/pumpkin
name = "PUMPKING"
desc = "THE PUMPKING'S COMING!"
icon = 'icons/obj/meteor_spooky.dmi'
icon_state = "pumpkin"
hits = 10
heavy = 1
meteordrop = /obj/item/clothing/head/hardhat/pumpkinhead
meteorsound = 'sound/hallucinations/im_here1.ogg'
dropamt = 1
bound_width = 96
bound_height = 96
/obj/effect/meteor/pumpkin/New()
..()
if(prob(50))
meteordrop = /obj/item/weapon/reagent_containers/food/snacks/grown/pumpkin
meteorsound = 'sound/hallucinations/im_here2.ogg'
/obj/effect/meteor/meaty
name = "meaty ore"
icon_state = "meateor"
+2
View File
@@ -16,5 +16,7 @@
for(var/mob/living/simple_animal/corgi/Ian/Ian in mob_list)
Ian.place_on_head(new /obj/item/weapon/bedsheet(Ian))
spawn_meteors(5, meteorsSPOOKY)
/datum/round_event/spooky/announce()
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")
Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B