Merge pull request #4069 from Anewbe/costumes

Halloween Costume Outfits
This commit is contained in:
Neerti
2017-10-16 19:01:25 -04:00
committed by GitHub
4 changed files with 127 additions and 6 deletions

View File

@@ -0,0 +1,115 @@
/decl/hierarchy/outfit/h_masked_killer
name = "Costume - Masked Killer"
uniform = /obj/item/clothing/under/overalls
shoes = /obj/item/clothing/shoes/white
gloves = /obj/item/clothing/gloves/sterile/latex
mask = /obj/item/clothing/mask/surgical
head = /obj/item/clothing/head/welding
suit = /obj/item/clothing/suit/storage/apron
r_hand = /obj/item/weapon/material/twohanded/fireaxe/foam
/decl/hierarchy/outfit/masked_killer/post_equip(var/mob/living/carbon/human/H)
var/victim = get_mannequin(H.ckey)
for(var/obj/item/carried_item in H.get_equipped_items(TRUE))
carried_item.add_blood(victim) //Oh yes, there will be blood.. just not blood from the killer because that's odd. //If I knew how to make fake blood, I would
/decl/hierarchy/outfit/h_professional
name = "Costume - Professional"
uniform = /obj/item/clothing/under/suit_jacket{ starting_accessories=list(/obj/item/clothing/accessory/wcoat) }
shoes = /obj/item/clothing/shoes/black
gloves = /obj/item/clothing/gloves/black
glasses = /obj/item/clothing/glasses/fakesunglasses
l_pocket = /obj/item/toy/sword
/decl/hierarchy/outfit/h_professional/post_equip(var/mob/living/carbon/human/H)
var/obj/item/weapon/storage/briefcase/new_briefcase = new(H)
for(var/obj/item/briefcase_item in new_briefcase)
qdel(briefcase_item)
new_briefcase.contents += new /obj/item/toy/crossbow
new_briefcase.contents += new /obj/item/weapon/gun/projectile/revolver/capgun
new_briefcase.contents += new /obj/item/clothing/mask/gas/clown_hat
H.equip_to_slot_or_del(new_briefcase, slot_l_hand)
/decl/hierarchy/outfit/h_horrorcop
name = "Costume - Slasher Movie Cop"
uniform = /obj/item/clothing/under/pcrc{ starting_accessories=list(/obj/item/clothing/accessory/holster) }
shoes = /obj/item/clothing/shoes/black
gloves = /obj/item/clothing/gloves/black
glasses = /obj/item/clothing/glasses/fakesunglasses
mask = /obj/item/clothing/mask/fakemoustache
head = /obj/item/clothing/head/beret
r_hand = /obj/item/weapon/gun/projectile/revolver/capgun
/decl/hierarchy/outfit/h_horrorcop/post_equip(var/mob/living/carbon/human/H)
var/obj/item/clothing/under/U = H.w_uniform
if(U.accessories.len)
for(var/obj/item/clothing/accessory/A in U.accessories)
if(istype(A, /obj/item/clothing/accessory/holster))
var/obj/item/clothing/accessory/holster/O = A
O.holster_verb()
/decl/hierarchy/outfit/h_cowboy
name = "Costume - Cowboy"
uniform = /obj/item/clothing/under/pants{ starting_accessories=list(/obj/item/clothing/accessory/holster) }
shoes = /obj/item/clothing/shoes/boots/cowboy
head = /obj/item/clothing/head/cowboy_hat
gloves = /obj/item/clothing/gloves/fingerless
suit = /obj/item/clothing/accessory/poncho
r_hand = /obj/item/weapon/gun/projectile/revolver/capgun
/decl/hierarchy/outfit/h_cowboy/post_equip(var/mob/living/carbon/human/H)
var/obj/item/clothing/under/U = H.w_uniform
if(U.accessories.len)
for(var/obj/item/clothing/accessory/A in U.accessories)
if(istype(A, /obj/item/clothing/accessory/holster))
var/obj/item/clothing/accessory/holster/O = A
O.holster_verb()
/decl/hierarchy/outfit/h_lumberjack
name = "Costume - Lumberjack"
uniform = /obj/item/clothing/under/pants{ starting_accessories=list(/obj/item/clothing/accessory/sweater/blackneck) }
shoes = /obj/item/clothing/shoes/boots/workboots
head = /obj/item/clothing/head/beanie
gloves = /obj/item/clothing/gloves/fingerless
suit = /obj/item/clothing/suit/storage/flannel/red
r_hand = /obj/item/weapon/material/twohanded/fireaxe/foam
/decl/hierarchy/outfit/h_firefighter
name = "Costume - Firefighter"
uniform = /obj/item/clothing/under/pants
shoes = /obj/item/clothing/shoes/boots/workboots
head = /obj/item/clothing/head/hardhat/red
gloves = /obj/item/clothing/gloves/black
suit = /obj/item/clothing/suit/fire/firefighter
mask = /obj/item/clothing/mask/gas
/decl/hierarchy/outfit/h_highlander
name = "Costume - Highlander"
uniform = /obj/item/clothing/under/kilt
shoes = /obj/item/clothing/shoes/boots/jackboots
head = /obj/item/clothing/head/beret
r_hand = /obj/item/weapon/material/sword/foam
/decl/hierarchy/outfit/h_vampire
name = "Costume - Vampire"
uniform = /obj/item/clothing/under/suit_jacket/really_black
shoes = /obj/item/clothing/shoes/dress
gloves = /obj/item/clothing/gloves/white
r_hand = /obj/item/weapon/bedsheet/red
/decl/hierarchy/outfit/h_vampire_hunter
name = "Costume - Vampire Hunter"
uniform = /obj/item/clothing/under/pants/tan
suit = /obj/item/clothing/suit/storage/toggle/brown_jacket/sleeveless
shoes = /obj/item/clothing/shoes/boots/jackboots
gloves = /obj/item/clothing/gloves/fingerless
l_pocket = /obj/item/toy/crossbow
r_pocket = /obj/item/device/flashlight/color/red
/decl/hierarchy/outfit/h_pirate
name = "Costume - Pirate"
uniform = /obj/item/clothing/under/pirate
shoes = /obj/item/clothing/shoes/brown
head = /obj/item/clothing/head/helmet/space
suit = /obj/item/clothing/suit/pirate
glasses = /obj/item/clothing/glasses/eyepatch

View File

@@ -42,6 +42,7 @@
l_ear = /obj/item/device/radio/headset l_ear = /obj/item/device/radio/headset
glasses = /obj/item/clothing/glasses/sunglasses glasses = /obj/item/clothing/glasses/sunglasses
l_pocket = /obj/item/weapon/melee/energy/sword l_pocket = /obj/item/weapon/melee/energy/sword
mask = /obj/item/clothing/mask/gas/clown_hat
id_slot = slot_wear_id id_slot = slot_wear_id
id_type = /obj/item/weapon/card/id/syndicate/station_access id_type = /obj/item/weapon/card/id/syndicate/station_access

View File

@@ -385,26 +385,30 @@
for(var/areatype in areas_without_camera) for(var/areatype in areas_without_camera)
world << "* [areatype]" world << "* [areatype]"
/datum/admins/proc/cmd_admin_dress() /datum/admins/proc/cmd_admin_dress(input in getmobs())
set category = "Fun" set category = "Fun"
set name = "Select equipment" set name = "Select equipment"
if(!check_rights(R_FUN)) if(!check_rights(R_FUN))
return return
var/mob/living/carbon/human/H = input("Select mob.", "Select equipment.") as null|anything in human_mob_list var/target = getmobs()[input]
if(!H) if(!target)
return return
if(!ishuman(target))
return
var/mob/living/carbon/human/H = target
var/decl/hierarchy/outfit/outfit = input("Select outfit.", "Select equipment.") as null|anything in outfits() var/decl/hierarchy/outfit/outfit = input("Select outfit.", "Select equipment.") as null|anything in outfits()
if(!outfit) if(!outfit)
return return
feedback_add_details("admin_verb","SEQ") feedback_add_details("admin_verb","SEQ")
dressup_human(H, outfit, TRUE) dressup_human(H, outfit, 1)
/proc/dressup_human(var/mob/living/carbon/human/H, var/decl/hierarchy/outfit/outfit, var/undress = TRUE) /proc/dressup_human(var/mob/living/carbon/human/H, var/decl/hierarchy/outfit/outfit, var/undress = 1)
world << "dressup_human"
if(!H || !outfit) if(!H || !outfit)
return return
if(undress) if(undress)

View File

@@ -234,6 +234,7 @@
#include "code\datums\outfits\spec_op.dm" #include "code\datums\outfits\spec_op.dm"
#include "code\datums\outfits\tournament.dm" #include "code\datums\outfits\tournament.dm"
#include "code\datums\outfits\wizardry.dm" #include "code\datums\outfits\wizardry.dm"
#include "code\datums\outfits\costumes\halloween.dm"
#include "code\datums\outfits\jobs\_defines.dm" #include "code\datums\outfits\jobs\_defines.dm"
#include "code\datums\outfits\jobs\cargo.dm" #include "code\datums\outfits\jobs\cargo.dm"
#include "code\datums\outfits\jobs\civilian.dm" #include "code\datums\outfits\jobs\civilian.dm"