Files
FluffyandGitHub a3a4d46fa7 Hitby refactor (#19624)
Refactored hitby to be in line with TG's version.
Refactored item weight defines to a more clear naming scheme, also in
line with TG's version.
Refactored how the movement bumps are handled, ported signals to handle
them, in preparation for the movement update.
Fixed disposal hit bouncing the hitting atom on the wall.
Items do not push other items anymore if they are tiny.
2024-07-28 20:52:08 +00:00

534 lines
19 KiB
Plaintext

//Main suit parts
/obj/item/clothing/suit/dog_costume
name = "dog onesie"
desc = "An onesie, looking like a german shepard, a bit like Lt. Columbo, actually. Soft and comfy as well."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "dog_costume"
item_state = "dog_costume"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|HEAD|ARMS|LEGS
flags_inv = HIDEJUMPSUIT|HIDESHOES|HIDEGLOVES|HIDEEARS|HIDETAIL|HIDEWRISTS|BLOCKHAIR
/obj/item/clothing/suit/carp_costume
name = "carp costume"
desc = "A cheap, textile costume, looking like a cartoon version of a dangerous space carp. Tail movement included."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "carp_costume"
item_state = "carp_costume"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|HEAD|ARMS
flags_inv = HIDETAIL|HIDEWRISTS|HIDEEARS|BLOCKHAIR
/obj/item/clothing/suit/zombie_costume
name = "zombie apparel"
desc = "A zombie costume, together with an extensive fake make-up, making you look like the real deal."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "zombie_costume"
item_state = "zombie_costume"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|HEAD|ARMS|HANDS|LEGS|FEET
flags_inv = HIDEEARS|HIDEGLOVES|HIDEWRISTS|HIDESHOES|HIDEJUMPSUIT|HIDEMASK|HIDETAIL
/obj/item/clothing/suit/dark_witch_costume
name = "dark witch costume"
desc = "A dark and sinister looking dress, fit for an evil witch."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "dark_witch"
item_state = "dark_witch"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT|HIDEWRISTS
/obj/item/clothing/suit/lobster_costume
name = "lobster costume"
desc = "A bright red, rubber costume depicting a lobster."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "lobster"
item_state = "lobster"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/knight_costume
name = "knight armour"
desc = "A textile and plastic replica of the armour of a medieval knight."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "knight"
item_state = "knight"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
flags_inv = HIDEJUMPSUIT|HIDEWRISTS|HIDEGLOVES|HIDETAIL
/obj/item/clothing/suit/marisa_costume
name = "quirky witch dress"
desc = "A black and white dress for anyone wanting to lob some fireballs."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "marisa"
item_state = "marisa"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT|HIDEWRISTS
/obj/item/clothing/suit/skeleton_costume
name = "skeleton bodysuit"
desc = "A thin textile bodysuit with a cheap imprint depicting a skeleton on it."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "skeleton"
item_state = "skeleton"
contained_sprite = TRUE
body_parts_covered = HEAD|UPPER_TORSO|LOWER_TORSO|ARMS|HANDS|LEGS|FEET
flags_inv = HIDEJUMPSUIT|HIDEWRISTS|HIDEFACE|HIDEEARS|BLOCKHAIR
/obj/item/clothing/suit/upburger
name = "\improper UP!Burger mascot costume"
desc = "A costume of Norinori the Onigiri, popular mascot of Up!Burger. Some poor high school student's worst part time job."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "upburger"
item_state = "upburger"
contained_sprite = TRUE
body_parts_covered = FULL_BODY
flags_inv = HIDEJUMPSUIT|HIDEWRISTS|HIDEFACE|HIDEEARS|BLOCKHAIR|HIDEEYES|HIDEEARS|HIDESHOES|ALWAYSDRAW|HIDETAIL
/obj/item/clothing/suit/sumo_costume
name = "sumo costume"
desc = "A rubber costume, making you appear very overweight, just like asian sumo ringers are supposed to look like."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "sumo"
item_state = "sumo"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT|HIDEWRISTS|HIDESHOES
/obj/item/clothing/suit/hacker_costume
name = "hacker apparel"
desc = "A long leather coat, black gloves, pants and boots to make you look like a early 21st century hacker. Or rather as one thought they look like."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "hackerman"
item_state = "hackerman"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS|FEET|FACE
flags_inv = HIDEMASK|HIDEGLOVES|HIDESHOES
/obj/item/clothing/suit/snowman_costume
name = "snowman costume"
desc = "A bright white plastic suit, making you look like a snowman."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "snowman"
item_state = "snowman"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO
/obj/item/clothing/suit/witch_hunter_costume
name = "witch hunter cloak"
desc = "A red and black coat and oversuit, together with a plastic crucifix to protect you from evil spells."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "witch_hunter"
item_state = "witch_hunter"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/pharaoh_costume
name = "egypt leader costume"
desc = "A costume which looks like what an egyptian pharaoh would have worn. Very royal, in a way."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "pharaoh"
item_state = "pharaoh"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/bunny_costume
name = "bunny costume"
desc = "A full body costume which resembles a bunny."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "bunnysuit"
item_state = "bunnysuit"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT|HIDEWRISTS|HIDEGLOVES|HIDESHOES
/obj/item/clothing/suit/roman_costume
name = "legionaire costume"
desc = "A piece of tunic and plastic armour, making you look like a legionaire. A roman one, not one from the TCFL."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "roman"
item_state = "roman"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/bee_costume
name = "bee costume"
desc = "A fluffy costume out of fabric, looking like a honeybee. Bzzz, bzz."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "bee"
item_state = "bee"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/flash_costume
name = "flash costume"
desc = "Made from cardboard and painted afterwards this costume makes you look like a man-sized flash. Flash functionality not included."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "flashsuit"
item_state = "flashsuit"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO
/obj/item/clothing/suit/cheap_ghost_costume
name = "\"ghost\" costume"
desc = "The lowest effort costume imaginable. A big bedsheet with two holes in it. Spooky."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "low_effort_ghost"
item_state = "low_effort_ghost"
contained_sprite = TRUE
body_parts_covered = HEAD|UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEEARS|HIDEEYES|HIDEFACE|HIDEJUMPSUIT|HIDEGLOVES|HIDEMASK|HIDESHOES|HIDEWRISTS|BLOCKHAIR
/obj/item/clothing/suit/mummy_costume
name = "mummy costume"
desc = "A suit with a lot of bandages attached to it, covering your entire body."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "mummy"
item_state = "mummy"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/owl_costume
name = "owl suit"
desc = "A full body suit, resembling an owl. Hoot, hoot."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "owl"
item_state = "owl"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/griffin_suit
name = "griffin suit"
desc = "A full body suit, making you look like a griffin. Without the claws and feathers, though."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "griffin"
item_state = "griffin"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/scarecrow
name = "scarecrow costume"
desc = "Some rags and hay, all put together to make you look like a scarecrow."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "scarecrow"
item_state = "scarecrow"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/schoolgirl_costume
name = "schoolgirl costume"
desc = "A costume, resembling a rather cliché school uniform for girls."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "schoolgirl"
item_state = "schoolgirl"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/jester_costume
name = "jester costume"
desc = "A cheap costume made of fabric, resembling what a medieval jester would have worn, probably."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "jester"
item_state = "jester"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS|LEGS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/cult_leader
name = "cult leader costume"
desc = "A long robe and undershirt, making you look like the religious leader of your own personal cult."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "chaplain_hoodie_leader"
item_state = "chaplain_hoodie_leader"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/wizard_costume
name = "wizard costume"
desc = "Bright blue robes, making you look like a level 30 wizard."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "wizard"
item_state = "wizard"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/suit/zombiedoc_apron
name = "zombie doctor apron"
desc = "A brown leather apron with some worrying stains on it."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "zombiedoc_apron"
item_state = "zombiedoc_apron"
contained_sprite = TRUE
/obj/item/clothing/suit/maid_costume
name = "maid costume"
desc = "A detailed replica of the dress of a french maid, from the old times."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "maid"
item_state = "maid"
contained_sprite = TRUE
body_parts_covered = UPPER_TORSO
flags_inv = HIDEJUMPSUIT
/obj/item/clothing/under/ice_fairy_dress
name = "ice fairy dress"
desc = "A cold blue dress with a white rolled up button-up shirt underneath."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "ice_fairy_dress"
item_state = "ice_fairy_dress"
contained_sprite = TRUE
/obj/item/clothing/suit/storage/target_costume
name = "aiming target"
desc = "Sometimes you really feel like the entire universe is after you. With this costume at least you acknowledge it."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "target_costume"
item_state = "target_costume"
contained_sprite = TRUE
/obj/item/clothing/suit/storage/target_costume/Initialize()
. = ..()
pockets.storage_slots = 2
pockets.max_w_class = WEIGHT_CLASS_NORMAL
pockets.max_storage_space = 8
/obj/item/clothing/suit/storage/target_costume/attack_hand(mob/user)
. = ..()
var/len = length(pockets.contents)
if(!len)
item_state = "target_costume"
if(len == 1)
item_state = "target_costume_one"
if(len == 2)
item_state = "target_costume_two"
/obj/item/clothing/suit/storage/target_costume/attackby(obj/item/attacking_item, mob/user)
. = ..()
var/len = length(pockets.contents)
if(!len)
item_state = "target_costume"
if(len == 1)
item_state = "target_costume_one"
if(len == 2)
item_state = "target_costume_two"
// Hats
/obj/item/clothing/head/judge_wig
name = "judge wig"
desc = "A cheaply made wig, making you look like a judge or philosopher."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "judge_wig"
item_state = "judge_wig"
contained_sprite = TRUE
flags_inv = BLOCKHAIR
/obj/item/clothing/head/dark_witch_hat
name = "dark witch hat"
desc = "A sinister looking piece of headware, perfect for a witch."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "dark_witch_hat"
item_state = "dark_witch_hat"
contained_sprite = TRUE
/obj/item/clothing/head/bunny_hat
name = "bunny ears"
desc = "A piece of plastic, with some bunny ears attached to them."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "bunny_hat"
item_state = "bunny_hat"
contained_sprite = TRUE
/obj/item/clothing/head/bunny_hat2
name = "bunny mask"
desc = "A full head mask, depicting a friendly looking bunny."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "bunny_hat2"
item_state = "bunny_hat2"
contained_sprite = TRUE
body_parts_covered = HEAD|FACE|EYES
flags_inv = BLOCKHAIR
/obj/item/clothing/head/witch_hunter_hat
name = "witch hunter hat"
desc = "A wide brimmed, black and red hat, donning a crucifix on the front to shield you from evil demons and witches."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "witch_hunter_hat"
item_state = "witch_hunter_hat"
contained_sprite = TRUE
/obj/item/clothing/head/pharaoh_hat
name = "pharaoh headpiece"
desc = "A piece of headgear, marking you as the great egyptian leader you always wanted to be."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "pharaoh_hat"
item_state = "pharaoh_hat"
contained_sprite = TRUE
/obj/item/clothing/head/marisa_hat
name = "quirky witch hat"
desc = "A black and white hat, to complete your look as the very dangerous witch absolutely are."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "marisa_hat"
item_state = "marisa_hat"
contained_sprite = TRUE
/obj/item/clothing/head/knight_hat
name = "knight helmet"
desc = "A plastic replica of a knight helmet minus the actual protection."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "knight_hat"
item_state = "knight_hat"
contained_sprite = TRUE
body_parts_covered = HEAD|FACE|EYES
flags_inv = BLOCKHAIR
/obj/item/clothing/head/snowman_hat
name = "snowman headpiece"
desc = "The headpiece for the snowman costume. It looks a bit strange to you."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "snowman_hat"
item_state = "snowman_hat"
contained_sprite = TRUE
body_parts_covered = HEAD|FACE
flags_inv = BLOCKHAIR
/obj/item/clothing/head/flashsuit_hat
name = "flashsuit hat"
desc = "The headpiece for the flash suit. Maybe if someone hits you on your head the flash will actually go off."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "flashsuit_hat"
item_state = "flashsuit_hat"
contained_sprite = TRUE
/obj/item/clothing/head/jester_hat
name = "jester hat"
desc = "A cheaply hat like one of a medieval jester, so you look like a proper fool."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "jester_hat"
item_state = "jester_hat"
contained_sprite = TRUE
flags_inv = BLOCKHAIR
/obj/item/clothing/head/bee_hat
name = "bee antennae"
desc = "A pair of antennas, to complete your honeybee look."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "bee_hat"
item_state = "bee_hat"
contained_sprite = TRUE
/obj/item/clothing/head/roman_hat
name = "legionaire helmet"
desc = "The plastic helmet of a roman legionaire. Dying for Rome is a great honour, you were told."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "roman_hat"
item_state = "roman_hat"
contained_sprite = TRUE
flags_inv = BLOCKHAIR
/obj/item/clothing/head/roman_centurion_helmet
name = "legionaire centurion helmet"
desc = "The plastic helmet of a roman legionaire officer. Roma Invicta!"
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "roman_centurion_hat"
item_state = "roman_centurion_hat"
contained_sprite = TRUE
flags_inv = BLOCKHAIR
/obj/item/clothing/head/griffin_hat
name = "griffin costume headpiece"
desc = "The headpiece for the griffin costume. The beak is thankfully not sharpened."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "griffin_hat"
item_state = "griffin_hat"
contained_sprite = TRUE
body_parts_covered = HEAD|FACE|EYES
flags_inv = BLOCKHAIR
/obj/item/clothing/head/scarecrow_hat
name = "scarecrow hat"
desc = "A rugged, brown hat to complete your scary scarecrow look."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "scarecrow_hat"
item_state = "scarecrow_hat"
contained_sprite = TRUE
/obj/item/clothing/head/lobster_hat
name = "lobster costume headpiece"
desc = "The rubber headpiece to the lobster costume."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "lobster_hat"
item_state = "lobster_hat"
contained_sprite = TRUE
body_parts_covered = HEAD|EYES|FACE
flags_inv = BLOCKHAIR
/obj/item/clothing/head/mummy_hat
name = "mummy mask"
desc = "A full head mask for the real mummy look. Real bandages, real spooks."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "mummy_mask"
item_state = "mummy_mask"
contained_sprite = TRUE
body_parts_covered = HEAD|EYES
flags_inv = BLOCKHAIR
/obj/item/clothing/head/ice_fairy_bow
name = "ice fairy bow"
desc = "A cold blue ribbon tied into a bow, with a clip on the back to attach to hair."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "ice_fairy_hairbow"
item_state = "ice_fairy_hairbow"
contained_sprite = TRUE
//Masks
/obj/item/clothing/head/maid_hat
name = "maid dress headpiece"
desc = "The white headpiece, intended to be worn together with the maid dress."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "maid_hat"
item_state = "maid_hat"
contained_sprite = TRUE
// Accessory ⑨
/obj/item/clothing/accessory/ice_fairy_wings
name = "ice fairy wings"
desc = "A set of translucent ice crystal wings. Ice cold."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "ice_fairy_wings"
item_state = "ice_fairy_wings"
contained_sprite = TRUE
/obj/item/clothing/ears/maid_ears
name = "konyang shell antennae"
desc = "A pair of specialized antennae for shells, resembling mechanical ears. For cuteness factors, you assume."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "chobits_ears"
item_state = "chobits_ears"
contained_sprite = TRUE
// Gloves
/obj/item/clothing/gloves/zombiedoctor_gloves
name = "zombie doctor gloves"
desc = "A pair of rugged leather gloves, perfect for all your \"surgeries\" and experiments."
icon = 'icons/holidays/halloween/costumes.dmi'
icon_state = "zombiedoc_gloves"
item_state = "zombiedoc_gloves"
contained_sprite = TRUE