Makes the santa event properly poll ghosts (#31437)

* Makes the santa event properly poll ghosts

* Update xmas.dm

* Update xmas.dm

* Create event.dm

* Update tgstation.dme

* Update xmas.dm

* Update event.dm

* Update event.dm

* Update event.dm

* Update event.dm

* Update event.dm

* Update event.dm
This commit is contained in:
MoreRobustThanYou
2017-10-10 04:15:44 -04:00
committed by CitadelStationBot
parent eb9737912c
commit b05a4ebb29
3 changed files with 50 additions and 52 deletions
+31
View File
@@ -0,0 +1,31 @@
/datum/outfit/santa //ho ho ho!
name = "Santa Claus"
uniform = /obj/item/clothing/under/color/red
shoes = /obj/item/clothing/shoes/sneakers/red
suit = /obj/item/clothing/suit/space/santa
head = /obj/item/clothing/head/santa
back = /obj/item/storage/backpack/santabag
mask = /obj/item/clothing/mask/breath
r_pocket = /obj/item/device/flashlight
gloves = /obj/item/clothing/gloves/color/red
belt = /obj/item/tank/internals/emergency_oxygen/double
id = /obj/item/card/id/gold
/datum/outfit/santa/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
if(visualsOnly)
return
H.fully_replace_character_name(H.real_name, "Santa Claus")
H.mind.assigned_role = "Santa"
H.mind.special_role = "Santa"
H.hair_style = "Long Hair"
H.facial_hair_style = "Full Beard"
H.hair_color = "FFF"
H.facial_hair_color = "FFF"
var/obj/item/storage/backpack/bag = H.back
var/obj/item/a_gift/gift = new(H)
while(bag.can_be_inserted(gift, 1))
bag.handle_item_insertion(gift, 1)
gift = new(H)