Files
vgstation13/code/modules/clothing/suits/bio.dm
13spacemen 2754c2fd14 Cosmetic Tail Organs [NO WAGGING] (#36060)
* mob part bitflags in proper format, added tail part bitflag, hidetail clothing cover flag, reordered tail layer, added tail_underlimbs_layer for overlapping tails, limbs_layer for limbs placed under, tail_wagging + has_icon_skin_tone + tail_overlapped species anatomical flags, mutable_appearance() helper, made many suits cover tail, added tail wagging emote for species that can wag, made a species folder for species files, rewrote update_tail_showing(), character preview can show tails, vox tails are now separate from the body instead of being baked into the chest, vox tails will show slightly in north dir instead of being invisible

* added color defines, undid bitfield format change, wag emote is shorter and doesnt show text on stopping wag, vox tails have their own file and have better names, removed icon manipulation from tail updating, species can have own tail icon, made vox tail north sprites full/complete sprites

* wag emote no longer displays runechat, custom emotes can choose to not show runechat, restores old husk overlays

* limb_tail tail define, moved 2 tail species flags to organ level, added span define, tail is on organ level, added support for cosmetic organs, tail preview icon shows better, added tail support to common surgeries

* fix double tail organ, tail organ item only uses east sprite and is shifted to center it more

* removes tail wagging

* rename tail define, minor tweaks

* more checks, fix char preview issues, remove unused proc, frankensteins spawn with random kind of tail, repaired tajaran and unathi tails credit to falcon2346, robotail support, rambler will not spawn with tail, gibbing drops tails

* Update species.dm
2024-02-28 20:26:34 +00:00

133 lines
4.4 KiB
Plaintext

//Biosuit complete with shoes (in the item sprite)
/obj/item/clothing/head/bio_hood
name = "bio hood"
icon_state = "bio"
desc = "A hood that protects the head and face from biological comtaminants."
permeability_coefficient = 0.01
flags = FPRINT
clothing_flags = PLASMAGUARD
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 20)
body_parts_covered = HEAD|EARS|EYES|MOUTH|HIDEHAIR
body_parts_visible_override = EYES|BEARD
siemens_coefficient = 0.9
sterility = 100
species_fit = list(VOX_SHAPED, GREY_SHAPED, INSECT_SHAPED)
autoignition_temperature = AUTOIGNITION_PROTECTIVE
/obj/item/clothing/suit/bio_suit
name = "bio suit"
desc = "A suit that protects against biological contamination."
icon_state = "bio"
item_state = "bio_suit"
species_fit = list(VOX_SHAPED, INSECT_SHAPED, GREY_SHAPED)
w_class = W_CLASS_LARGE//bulky item
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
flags = FPRINT
clothing_flags = PLASMAGUARD
body_parts_covered = ARMS|LEGS|FULL_TORSO|FEET|HANDS|TAIL
slowdown = HARDSUIT_SLOWDOWN_LOW
allowed = list(/obj/item/weapon/tank/emergency_oxygen,/obj/item/weapon/tank/emergency_nitrogen,/obj/item/weapon/pen,/obj/item/device/flashlight/pen)
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 100, rad = 20)
siemens_coefficient = 0.9
sterility = 100
autoignition_temperature = AUTOIGNITION_PROTECTIVE
//Standard biosuit, orange stripe
/obj/item/clothing/head/bio_hood/general
icon_state = "bio_general"
/obj/item/clothing/suit/bio_suit/general
icon_state = "bio_general"
//Virology biosuit, green stripe
/obj/item/clothing/head/bio_hood/virology
icon_state = "bio_virology"
/obj/item/clothing/suit/bio_suit/virology
icon_state = "bio_virology"
//Security biosuit, grey with red stripe across the chest
/obj/item/clothing/head/bio_hood/security
name = "security bio hood"
desc = "A hood that protects the head and face from biological comtaminants. It has a reinforced synthetic lining to protect against tearing."
icon_state = "bio_security"
armor = list(melee = 25, bullet = 10, laser = 15, energy = 5, bomb = 5, bio = 100, rad = 20)
/obj/item/clothing/suit/bio_suit/security
name = "security bio suit"
desc = "A suit that protects against biological contamination. It has a reinforced synthetic lining to protect against tearing."
icon_state = "bio_security"
species_fit = list(INSECT_SHAPED)
allowed = list(
/obj/item/weapon/gun/energy,
/obj/item/weapon/reagent_containers/spray/pepper,
/obj/item/weapon/gun/projectile,
/obj/item/ammo_storage,
/obj/item/ammo_casing,
/obj/item/weapon/melee/baton,
/obj/item/weapon/handcuffs,
/obj/item/weapon/gun/lawgiver,
/obj/item/weapon/gun/siren,
/obj/item/weapon/gun/mahoguny,
/obj/item/weapon/gun/grenadelauncher,
/obj/item/weapon/bikehorn/baton,
/obj/item/weapon/blunderbuss,
/obj/item/weapon/legcuffs/bolas,
/obj/item/device/hailer)
armor = list(melee = 25, bullet = 10, laser = 15, energy = 5, bomb = 5, bio = 100, rad = 20)
//Janitor's biosuit, grey with purple arms
/obj/item/clothing/head/bio_hood/janitor
icon_state = "bio_janitor"
/obj/item/clothing/suit/bio_suit/janitor
icon_state = "bio_janitor"
//Scientist's biosuit, white with a pink-ish hue
/obj/item/clothing/head/bio_hood/scientist
icon_state = "bio_scientist"
/obj/item/clothing/suit/bio_suit/scientist
icon_state = "bio_scientist"
//CMO's biosuit, blue stripe
/obj/item/clothing/suit/bio_suit/cmo
icon_state = "bio_cmo"
/obj/item/clothing/head/bio_hood/cmo
icon_state = "bio_cmo"
//Beekeeper's biosuit, white with a bee on its back
/obj/item/clothing/suit/bio_suit/beekeeping
name = "beekeeping suit"
icon_state = "bio_beekeeping"
species_fit = list(INSECT_SHAPED)
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 70, rad = 0)
sterility = 50
/obj/item/clothing/head/bio_hood/beekeeping
name = "beekeeping hood"
icon_state = "bio_beekeeping"
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 30, rad = 0)
sterility = 50
body_parts_visible_override = FACE
//Plague Dr mask can be found in clothing/masks/gasmask.dm
/obj/item/clothing/suit/bio_suit/plaguedoctorsuit
name = "Plague doctor suit"
desc = "It protected doctors from the Black Death, back then. You bet your arse it's gonna help you against viruses."
icon_state = "plaguedoctor"
item_state = "bio_suit"
species_fit = list(INSECT_SHAPED)