Merge pull request #9032 from Ghommie/Ghommie-cit178
Ports plasmaman departmental envirosuits and tweaks.
This commit is contained in:
164
code/modules/clothing/outfits/plasmaman.dm
Normal file
164
code/modules/clothing/outfits/plasmaman.dm
Normal file
@@ -0,0 +1,164 @@
|
||||
/datum/outfit/plasmaman/bar
|
||||
name = "Bartender Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/white
|
||||
uniform = /obj/item/clothing/under/plasmaman/enviroslacks
|
||||
|
||||
/datum/outfit/plasmaman/chef
|
||||
name = "Chef Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/white
|
||||
uniform = /obj/item/clothing/under/plasmaman/chef
|
||||
|
||||
/datum/outfit/plasmaman/botany
|
||||
name = "Botany Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/botany
|
||||
uniform = /obj/item/clothing/under/plasmaman/botany
|
||||
|
||||
/datum/outfit/plasmaman/curator
|
||||
name = "Curator Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/curator
|
||||
uniform = /obj/item/clothing/under/plasmaman/curator
|
||||
|
||||
/datum/outfit/plasmaman/chaplain
|
||||
name = "Chaplain Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/chaplain
|
||||
uniform = /obj/item/clothing/under/plasmaman/chaplain
|
||||
|
||||
/datum/outfit/plasmaman/janitor
|
||||
name = "Janitor Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/janitor
|
||||
uniform = /obj/item/clothing/under/plasmaman/janitor
|
||||
|
||||
/datum/outfit/plasmaman/hop
|
||||
name = "Head of Personell Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/hop
|
||||
uniform = /obj/item/clothing/under/plasmaman/hop
|
||||
|
||||
/datum/outfit/plasmaman/captain
|
||||
name = "Captain Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/captain
|
||||
uniform = /obj/item/clothing/under/plasmaman/captain
|
||||
|
||||
/datum/outfit/plasmaman/security
|
||||
name = "Security Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/security
|
||||
uniform = /obj/item/clothing/under/plasmaman/security
|
||||
ears = /obj/item/radio/headset/headset_sec
|
||||
|
||||
/datum/outfit/plasmaman/detective
|
||||
name = "Detective Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/white
|
||||
uniform = /obj/item/clothing/under/plasmaman/enviroslacks
|
||||
|
||||
/datum/outfit/plasmaman/warden
|
||||
name = "Warden Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/security/warden
|
||||
uniform = /obj/item/clothing/under/plasmaman/security/warden
|
||||
|
||||
/datum/outfit/plasmaman/hos
|
||||
name = "Head of Security Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/security/hos
|
||||
uniform = /obj/item/clothing/under/plasmaman/security/hos
|
||||
|
||||
/datum/outfit/plasmaman/cargo
|
||||
name = "Cargo Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/cargo
|
||||
uniform = /obj/item/clothing/under/plasmaman/cargo
|
||||
|
||||
/datum/outfit/plasmaman/mining
|
||||
name = "Mining Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/mining
|
||||
uniform = /obj/item/clothing/under/plasmaman/mining
|
||||
|
||||
/datum/outfit/plasmaman/medical
|
||||
name = "Medical Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/medical
|
||||
uniform = /obj/item/clothing/under/plasmaman/medical
|
||||
|
||||
/datum/outfit/plasmaman/cmo
|
||||
name = "Chief Medical Officer Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/cmo
|
||||
uniform = /obj/item/clothing/under/plasmaman/cmo
|
||||
|
||||
/datum/outfit/plasmaman/viro
|
||||
name = "Virology Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/viro
|
||||
uniform = /obj/item/clothing/under/plasmaman/viro
|
||||
|
||||
/datum/outfit/plasmaman/chemist
|
||||
name = "Chemist Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/chemist
|
||||
uniform = /obj/item/clothing/under/plasmaman/chemist
|
||||
|
||||
/datum/outfit/plasmaman/genetics
|
||||
name = "Genetics Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/genetics
|
||||
uniform = /obj/item/clothing/under/plasmaman/genetics
|
||||
|
||||
/datum/outfit/plasmaman/science
|
||||
name = "Science Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/science
|
||||
uniform = /obj/item/clothing/under/plasmaman/science
|
||||
|
||||
/datum/outfit/plasmaman/rd
|
||||
name = "Research Director Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/rd
|
||||
uniform = /obj/item/clothing/under/plasmaman/rd
|
||||
|
||||
/datum/outfit/plasmaman/robotics
|
||||
name = "Robotics Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/robotics
|
||||
uniform = /obj/item/clothing/under/plasmaman/robotics
|
||||
|
||||
/datum/outfit/plasmaman/engineering
|
||||
name = "Engineering Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/engineering
|
||||
uniform = /obj/item/clothing/under/plasmaman/engineering
|
||||
|
||||
/datum/outfit/plasmaman/ce
|
||||
name = "Chief Engineer Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/engineering/ce
|
||||
uniform = /obj/item/clothing/under/plasmaman/engineering/ce
|
||||
|
||||
/datum/outfit/plasmaman/atmospherics
|
||||
name = "Atmospherics Plasmaman"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/atmospherics
|
||||
uniform = /obj/item/clothing/under/plasmaman/atmospherics
|
||||
|
||||
/datum/outfit/plasmaman/mime
|
||||
name = "Plasmamime"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/mime
|
||||
uniform = /obj/item/clothing/under/plasmaman/mime
|
||||
mask = /obj/item/clothing/mask/gas/mime
|
||||
|
||||
/datum/outfit/plasmaman/clown
|
||||
name = "Plasmaclown"
|
||||
|
||||
head = /obj/item/clothing/head/helmet/space/plasmaman/clown
|
||||
uniform = /obj/item/clothing/under/plasmaman/clown
|
||||
mask = /obj/item/clothing/mask/gas/clown_hat
|
||||
@@ -12,7 +12,7 @@
|
||||
var/next_extinguish = 0
|
||||
var/extinguish_cooldown = 100
|
||||
var/extinguishes_left = 10
|
||||
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
|
||||
/obj/item/clothing/suit/space/eva/plasmaman/examine(mob/user)
|
||||
..()
|
||||
@@ -45,12 +45,18 @@
|
||||
resistance_flags = FIRE_PROOF
|
||||
var/brightness_on = 4 //luminosity when the light is on
|
||||
var/on = FALSE
|
||||
var/light_overlay = "envirohelm-light"
|
||||
actions_types = list(/datum/action/item_action/toggle_helmet_light)
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/attack_self(mob/user)
|
||||
if(!light_overlay)
|
||||
return
|
||||
on = !on
|
||||
icon_state = "[initial(icon_state)][on ? "-light":""]"
|
||||
item_state = icon_state
|
||||
if(!on)
|
||||
cut_overlay(light_overlay)
|
||||
else
|
||||
add_overlay(light_overlay)
|
||||
user.update_inv_head() //So the mob overlay updates
|
||||
|
||||
if(on)
|
||||
@@ -61,3 +67,166 @@
|
||||
for(var/X in actions)
|
||||
var/datum/action/A=X
|
||||
A.UpdateButtonIcon()
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/worn_overlays(isinhands, icon_file)
|
||||
. = ..()
|
||||
if(!isinhands && on)
|
||||
. += mutable_appearance(icon_file, light_overlay)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/security
|
||||
name = "security plasma envirosuit helmet"
|
||||
desc = "A plasmaman containment helmet designed for security officers, protecting them from being flashed and burning alive, along-side other undesirables."
|
||||
icon_state = "security_envirohelm"
|
||||
item_state = "security_envirohelm"
|
||||
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 100, "acid" = 75)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/security/warden
|
||||
name = "warden's plasma envirosuit helmet"
|
||||
desc = "A plasmaman containment helmet designed for the warden, a pair of white stripes being added to differeciate them from other members of security."
|
||||
icon_state = "warden_envirohelm"
|
||||
item_state = "warden_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/security/hos
|
||||
name = "head of security's plasma envirosuit helmet"
|
||||
desc = "A plasmaman containment helmet designed for the head of security, manacing black with red stripes, to differenciate them from other members of security."
|
||||
icon_state = "hos_envirohelm"
|
||||
item_state = "hos_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/medical
|
||||
name = "medical's plasma envirosuit helmet"
|
||||
desc = "An envriohelmet designed for plasmaman medical doctors, having two stripes down it's length to denote as much."
|
||||
icon_state = "doctor_envirohelm"
|
||||
item_state = "doctor_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/cmo
|
||||
name = "chief medical officer's plasma envirosuit helmet"
|
||||
desc = "A blue and white envriohelmet designed for the chief medical officer."
|
||||
icon_state = "cmo_envirohelm"
|
||||
item_state = "cmo_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/genetics
|
||||
name = "geneticist's plasma envirosuit helmet"
|
||||
desc = "A plasmaman envirohelmet designed for geneticists."
|
||||
icon_state = "geneticist_envirohelm"
|
||||
item_state = "geneticist_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/viro
|
||||
name = "virology plasma envirosuit helmet"
|
||||
desc = "The helmet worn by the safest people on the station, those who are completely immune to the monstrosities they create."
|
||||
icon_state = "virologist_envirohelm"
|
||||
item_state = "virologist_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/chemist
|
||||
name = "chemistry plasma envirosuit helmet"
|
||||
desc = "A plasmaman envirosuit designed for chemists, two orange stripes going down it's face."
|
||||
icon_state = "chemist_envirohelm"
|
||||
item_state = "chemist_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/science
|
||||
name = "science plasma envirosuit helmet"
|
||||
desc = "A plasmaman envirohelmet designed for scientists."
|
||||
icon_state = "scientist_envirohelm"
|
||||
item_state = "scientist_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/rd
|
||||
name = "research director's plasma envirosuit helmet"
|
||||
desc = "A sturdier plasmaman envirohelmet designed for research directors."
|
||||
icon_state = "rd_envirohelm"
|
||||
item_state = "rd_envirohelm"
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 10, "bio" = 100, "rad" = 0, "fire" = 100, "acid" = 75)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/robotics
|
||||
name = "robotics plasma envirosuit helmet"
|
||||
desc = "A plasmaman envirohelmet designed for roboticists."
|
||||
icon_state = "roboticist_envirohelm"
|
||||
item_state = "roboticist_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/engineering
|
||||
name = "engineering plasma envirosuit helmet"
|
||||
desc = "A space-worthy helmet specially designed for engineer plasmamen, the usual purple stripes being replaced by engineering's orange."
|
||||
icon_state = "engineer_envirohelm"
|
||||
item_state = "engineer_envirohelm"
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 10, "fire" = 100, "acid" = 75)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/engineering/ce
|
||||
name = "chief engineer's plasma envirosuit helmet"
|
||||
desc = "A space-worthy helmet specially designed for the chief engineer, white with gold stripes designed for high visibility."
|
||||
icon_state = "ce_envirohelm"
|
||||
item_state = "ce_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/atmospherics
|
||||
name = "atmospherics plasma envirosuit helmet"
|
||||
desc = "A space-worthy helmet specially designed for atmos technician plasmamen, the usual purple stripes being replaced by engineering's blue."
|
||||
icon_state = "atmos_envirohelm"
|
||||
item_state = "atmos_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/cargo
|
||||
name = "cargo plasma envirosuit helmet"
|
||||
desc = "An plasmaman envirohelmet designed for cargo techs and quartermasters."
|
||||
icon_state = "cargo_envirohelm"
|
||||
item_state = "cargo_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/mining
|
||||
name = "mining plasma envirosuit helmet"
|
||||
desc = "A khaki helmet given to plasmamen miners operating on lavaland."
|
||||
icon_state = "explorer_envirohelm"
|
||||
item_state = "explorer_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/chaplain
|
||||
name = "chaplain's plasma envirosuit helmet"
|
||||
desc = "An envirohelmet specially designed for only the most pious of plasmamen."
|
||||
icon_state = "chap_envirohelm"
|
||||
item_state = "chap_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/white
|
||||
name = "white plasma envirosuit helmet"
|
||||
desc = "A generic white envirohelm."
|
||||
icon_state = "white_envirohelm"
|
||||
item_state = "white_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/hop
|
||||
name = "head of personell's plasma envirosuit helmet"
|
||||
desc = "A finely tailored azure envirohelm designed for head of personell."
|
||||
icon_state = "hop_envirohelm"
|
||||
item_state = "hop_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/captain
|
||||
name = "captain's plasma envirosuit helmet"
|
||||
desc = "A blue and gold envirohelm designed for the station's captain, nonetheless. Made of superior materials to protect them from the station hazards and more."
|
||||
icon_state = "captain_envirohelm"
|
||||
item_state = "captain_envirohelm"
|
||||
armor = list("melee" = 10, "bullet" = 10, "laser" = 10, "energy" = 10, "bomb" = 10, "bio" = 100, "rad" = 10, "fire" = 100, "acid" = 85)
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/curator
|
||||
name = "curator's plasma envirosuit helmet"
|
||||
desc = "A slight modification on a tradiational voidsuit helmet, this helmet was Nano-Trasen's first solution to the *logistical problems* that come with employing plasmamen. Despite their limitations, these helmets still see use by historian and old-styled plasmamen alike."
|
||||
icon_state = "prototype_envirohelm"
|
||||
item_state = "prototype_envirohelm"
|
||||
light_overlay = null
|
||||
actions_types = list()
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/botany
|
||||
name = "botany plasma envirosuit helmet"
|
||||
desc = "A green and blue envirohelmet designating it's wearer as a botanist. While not specially designed for it, it would protect against minor planet-related injuries."
|
||||
icon_state = "botany_envirohelm"
|
||||
item_state = "botany_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/janitor
|
||||
name = "janitor's plasma envirosuit helmet"
|
||||
desc = "A grey helmet bearing a pair of purple stripes, designating the wearer as a janitor."
|
||||
icon_state = "janitor_envirohelm"
|
||||
item_state = "janitor_envirohelm"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/mime
|
||||
name = "mime envirosuit helmet"
|
||||
desc = "The make-up is painted on, it's a miracle it doesn't chip. It's not very colourful."
|
||||
icon_state = "mime_envirohelm"
|
||||
item_state = "mime_envirohelm"
|
||||
light_overlay = "mime_envirohelm-light"
|
||||
|
||||
/obj/item/clothing/head/helmet/space/plasmaman/clown
|
||||
name = "clown envirosuit helmet"
|
||||
desc = "The make-up is painted on, it's a miracle it doesn't chip. <i>'HONK!'</i>"
|
||||
icon_state = "clown_envirohelm"
|
||||
item_state = "clown_envirohelm"
|
||||
light_overlay = "clown_envirohelm-light"
|
||||
|
||||
100
code/modules/clothing/under/jobs/Plasmaman/civilian_service.dm
Normal file
100
code/modules/clothing/under/jobs/Plasmaman/civilian_service.dm
Normal file
@@ -0,0 +1,100 @@
|
||||
/obj/item/clothing/under/plasmaman/cargo
|
||||
name = "cargo plasma envirosuit"
|
||||
desc = "A joint envirosuit used by plasmamen quartermasters and cargo techs alike, due to the logistical problems of differenciating the two with the length of their pant legs."
|
||||
icon_state = "cargo_envirosuit"
|
||||
item_state = "cargo_envirosuit"
|
||||
item_color = "cargo_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/mining
|
||||
name = "mining plasma envirosuit"
|
||||
desc = "An air-tight khaki suit designed for operations on lavaland by plasmamen."
|
||||
icon_state = "explorer_envirosuit"
|
||||
item_state = "explorer_envirosuit"
|
||||
item_color = "explorer_envirosuit"
|
||||
|
||||
|
||||
/obj/item/clothing/under/plasmaman/chef
|
||||
name = "chef's plasma envirosuit"
|
||||
desc = "A white plasmaman envirosuit designed for cullinary practices. One might question why a member of a species that doesn't need to eat would become a chef."
|
||||
icon_state = "chef_envirosuit"
|
||||
item_state = "chef_envirosuit"
|
||||
item_color = "chef_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/enviroslacks
|
||||
name = "enviroslacks"
|
||||
desc = "The pet project of a particularly posh plasmaman, this custom suit was quickly appropriated by Nano-Trasen for it's detectives, lawyers, and bar-tenders alike."
|
||||
icon_state = "enviroslacks"
|
||||
item_state = "enviroslacks"
|
||||
item_color = "enviroslacks"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/chaplain
|
||||
name = "chaplain's plasma envirosuit"
|
||||
desc = "An envirosuit specially designed for only the most pious of plasmamen."
|
||||
icon_state = "chap_envirosuit"
|
||||
item_state = "chap_envirosuit"
|
||||
item_color = "chap_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/curator
|
||||
name = "curator's plasma envirosuit"
|
||||
desc = "Made out of a modified voidsuit, this suit was Nano-Trasen's first solution to the *logistical problems* that come with employing plasmamen. Due to the modifications, the suit is no longer space-worthy. Despite their limitations, these suits are still in used by historian and old-styled plasmamen alike."
|
||||
icon_state = "prototype_envirosuit"
|
||||
item_state = "prototype_envirosuit"
|
||||
item_color = "prototype_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/janitor
|
||||
name = "janitor's plasma envirosuit"
|
||||
desc = "A grey and purple envirosuit designated for plasmamen janitors."
|
||||
icon_state = "janitor_envirosuit"
|
||||
item_state = "janitor_envirosuit"
|
||||
item_color = "janitor_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/botany
|
||||
name = "botany envirosuit"
|
||||
desc = "A green and blue envirosuit designed to protect plasmamen from minor plant-related injuries."
|
||||
icon_state = "botany_envirosuit"
|
||||
item_state = "botany_envirosuit"
|
||||
item_color = "botany_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/hop
|
||||
name = "head of personell's envirosuit"
|
||||
desc = "A prestigious azure envirosuit designed for head of personell."
|
||||
icon_state = "hop_envirosuit"
|
||||
item_state = "hop_envirosuit"
|
||||
item_color = "hop_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/captain
|
||||
name = "captain's envirosuit"
|
||||
desc = "An expensive piece of plasmaman envirosuit fashion. guaranteed to keep you cool while the station goes down in fierceful fires."
|
||||
icon_state = "captain_envirosuit"
|
||||
item_state = "captain_envirosuit"
|
||||
item_color = "captain_envirosuit"
|
||||
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
|
||||
|
||||
/obj/item/clothing/under/plasmaman/mime
|
||||
name = "mime envirosuit"
|
||||
desc = "It's not very colourful."
|
||||
icon_state = "mime_envirosuit"
|
||||
item_state = "mime_envirosuit"
|
||||
item_color = "mime_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/clown
|
||||
name = "clown envirosuit"
|
||||
desc = "<i>'HONK!'</i>"
|
||||
icon_state = "clown_envirosuit"
|
||||
item_state = "clown_envirosuit"
|
||||
item_color = "clown_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/clown/Extinguish(mob/living/carbon/human/H)
|
||||
if(!istype(H))
|
||||
return
|
||||
|
||||
if(H.on_fire)
|
||||
if(extinguishes_left)
|
||||
if(next_extinguish > world.time)
|
||||
return
|
||||
next_extinguish = world.time + extinguish_cooldown
|
||||
extinguishes_left--
|
||||
H.visible_message("<span class='warning'>[H]'s suit spews out a tonne of space lube!</span>","<span class='warning'>Your suit spews out a tonne of space lube!</span>")
|
||||
H.ExtinguishMob()
|
||||
new /obj/effect/particle_effect/foam(loc) //Truely terrifying.
|
||||
return FALSE
|
||||
21
code/modules/clothing/under/jobs/Plasmaman/engineering.dm
Normal file
21
code/modules/clothing/under/jobs/Plasmaman/engineering.dm
Normal file
@@ -0,0 +1,21 @@
|
||||
/obj/item/clothing/under/plasmaman/engineering
|
||||
name = "engineering plasma envirosuit"
|
||||
desc = "An air-tight suit designed to be used by plasmamen exployed as engineers, the usual purple stripes being replaced by engineer's orange. It protects the user from fire and acid damage."
|
||||
icon_state = "engineer_envirosuit"
|
||||
item_state = "engineer_envirosuit"
|
||||
item_color = "engineer_envirosuit"
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 10, "fire" = 95, "acid" = 95)
|
||||
|
||||
/obj/item/clothing/under/plasmaman/engineering/ce
|
||||
name = "chief engineer's plasma envirosuit"
|
||||
desc = "An advanced air-tight suit designed to be used by plasmamen chief engineers, complete with ornamental widgets and gizmo. It protects the user from fire and acid damage."
|
||||
icon_state = "ce_envirosuit"
|
||||
item_state = "ce_envirosuit"
|
||||
item_color = "ce_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/atmospherics
|
||||
name = "atmospherics plasma envirosuit"
|
||||
desc = "An air-tight suit designed to be used by plasmamen exployed as atmos technicians, the usual purple stripes being replaced by atmos's blue."
|
||||
icon_state = "atmos_envirosuit"
|
||||
item_state = "atmos_envirosuit"
|
||||
item_color = "atmos_envirosuit"
|
||||
56
code/modules/clothing/under/jobs/Plasmaman/medsci.dm
Normal file
56
code/modules/clothing/under/jobs/Plasmaman/medsci.dm
Normal file
@@ -0,0 +1,56 @@
|
||||
/obj/item/clothing/under/plasmaman/medical
|
||||
name = "medical plasma envirosuit"
|
||||
desc = "A suit designed for the station's more plasma-based doctors."
|
||||
icon_state = "doctor_envirosuit"
|
||||
item_state = "doctor_envirosuit"
|
||||
item_color = "doctor_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/cmo
|
||||
name = "chief medical officer's plasma envirosuit"
|
||||
desc = "A suit designed for the station's most plasma-based chief medical officer, but not for their cat."
|
||||
icon_state = "cmo_envirosuit"
|
||||
item_state = "cmo_envirosuit"
|
||||
item_color = "cmo_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/science
|
||||
name = "science plasma envirosuit"
|
||||
desc = "A plasmaman envirosuit designed for scientists."
|
||||
icon_state = "scientist_envirosuit"
|
||||
item_state = "scientist_envirosuit"
|
||||
item_color = "scientist_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/rd
|
||||
name = "research direactor's plasma envirosuit"
|
||||
desc = "A plasmaman envirosuit designed for the research director to aid them in their job of directing research into the right direction."
|
||||
icon_state = "rd_envirosuit"
|
||||
item_state = "rd_envirosuit"
|
||||
item_color = "rd_envirosuit"
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 10, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
|
||||
|
||||
/obj/item/clothing/under/plasmaman/robotics
|
||||
name = "robotics plasma envirosuit"
|
||||
desc = "A plasmaman envirosuit designed for roboticists."
|
||||
icon_state = "roboticist_envirosuit"
|
||||
item_state = "roboticist_envirosuit"
|
||||
item_color = "roboticist_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/viro
|
||||
name = "virology plasma envirosuit"
|
||||
desc = "The suit worn by the safest people on the station, those who are completely immune to the monstrosities they create."
|
||||
icon_state = "virologist_envirosuit"
|
||||
item_state = "virologist_envirosuit"
|
||||
item_color = "virologist_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/genetics
|
||||
name = "genetics plasma envirosuit"
|
||||
desc = "A plasmaman envirosuit designed for geneticists."
|
||||
icon_state = "geneticist_envirosuit"
|
||||
item_state = "geneticist_envirosuit"
|
||||
item_color = "geneticist_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/chemist
|
||||
name = "chemistry plasma envirosuit"
|
||||
desc = "A plasmaman envirosuit designed for chemists."
|
||||
icon_state = "chemist_envirosuit"
|
||||
item_state = "chemist_envirosuit"
|
||||
item_color = "chemist_envirosuit"
|
||||
21
code/modules/clothing/under/jobs/Plasmaman/security.dm
Normal file
21
code/modules/clothing/under/jobs/Plasmaman/security.dm
Normal file
@@ -0,0 +1,21 @@
|
||||
/obj/item/clothing/under/plasmaman/security
|
||||
name = "security plasma envirosuit"
|
||||
desc = "A plasmaman containment suit designed for security officers, offering a limited amount of extra protection."
|
||||
icon_state = "security_envirosuit"
|
||||
item_state = "security_envirosuit"
|
||||
item_color = "security_envirosuit"
|
||||
armor = list("melee" = 10, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
|
||||
|
||||
/obj/item/clothing/under/plasmaman/security/warden
|
||||
name = "warden plasma envirosuit"
|
||||
desc = "A plasmaman containment suit designed for the warden, white stripes being added to differeciate them from other members of security."
|
||||
icon_state = "warden_envirosuit"
|
||||
item_state = "warden_envirosuit"
|
||||
item_color = "warden_envirosuit"
|
||||
|
||||
/obj/item/clothing/under/plasmaman/security/hos
|
||||
name = "security plasma envirosuit"
|
||||
desc = "A slick black and red plasmaman containment suit designed for the head of security, also called the LAW."
|
||||
icon_state = "hos_envirosuit"
|
||||
item_state = "hos_envirosuit"
|
||||
item_color = "hos_envirosuit"
|
||||
@@ -589,6 +589,7 @@
|
||||
item_state = "b_suit"
|
||||
item_color = "sailor"
|
||||
can_adjust = FALSE
|
||||
|
||||
/obj/item/clothing/under/plasmaman
|
||||
name = "plasma envirosuit"
|
||||
desc = "A special containment suit that allows plasma-based lifeforms to exist safely in an oxygenated environment, and automatically extinguishes them in a crisis. Despite being airtight, it's not spaceworthy."
|
||||
@@ -596,12 +597,14 @@
|
||||
item_state = "plasmaman"
|
||||
item_color = "plasmaman"
|
||||
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 100, "rad" = 0, "fire" = 95, "acid" = 95)
|
||||
slowdown = 1
|
||||
body_parts_covered = CHEST|GROIN|LEGS|FEET|ARMS|HANDS
|
||||
can_adjust = FALSE
|
||||
strip_delay = 80
|
||||
var/next_extinguish = 0
|
||||
var/extinguish_cooldown = 100
|
||||
var/extinguishes_left = 5
|
||||
|
||||
/obj/item/clothing/under/plasmaman/examine(mob/user)
|
||||
..()
|
||||
to_chat(user, "<span class='notice'>There are [extinguishes_left] extinguisher charges left in this suit.</span>")
|
||||
@@ -618,6 +621,7 @@
|
||||
H.ExtinguishMob()
|
||||
new /obj/effect/particle_effect/water(get_turf(H))
|
||||
return 0
|
||||
|
||||
/obj/item/clothing/under/plasmaman/attackby(obj/item/E, mob/user, params)
|
||||
..()
|
||||
if (istype(E, /obj/item/extinguisher_refill))
|
||||
@@ -631,11 +635,13 @@
|
||||
return
|
||||
return
|
||||
return
|
||||
|
||||
/obj/item/extinguisher_refill
|
||||
name = "envirosuit extinguisher cartridge"
|
||||
desc = "A cartridge loaded with a compressed extinguisher mix, used to refill the automatic extinguisher on plasma envirosuits."
|
||||
icon_state = "plasmarefill"
|
||||
icon = 'icons/obj/device.dmi'
|
||||
|
||||
/obj/item/clothing/under/rank/security/navyblue/russian
|
||||
name = "\improper Russian officer's uniform"
|
||||
desc = "The latest in fashionable russian outfits."
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
burnmod = 1.5
|
||||
heatmod = 1.5
|
||||
breathid = "tox"
|
||||
speedmod = 1
|
||||
damage_overlay_type = ""//let's not show bloody wounds or burns over bones.
|
||||
var/internal_fire = FALSE //If the bones themselves are burning clothes won't help you much
|
||||
disliked_food = FRUIT
|
||||
@@ -55,19 +54,95 @@
|
||||
..()
|
||||
|
||||
/datum/species/plasmaman/before_equip_job(datum/job/J, mob/living/carbon/human/H, visualsOnly = FALSE)
|
||||
var/current_job = J.title
|
||||
var/datum/outfit/plasmaman/O = new /datum/outfit/plasmaman
|
||||
switch(current_job)
|
||||
if("Chaplain")
|
||||
O = new /datum/outfit/plasmaman/chaplain
|
||||
|
||||
if("Curator")
|
||||
O = new /datum/outfit/plasmaman/curator
|
||||
|
||||
if("Janitor")
|
||||
O = new /datum/outfit/plasmaman/janitor
|
||||
|
||||
if("Botanist")
|
||||
O = new /datum/outfit/plasmaman/botany
|
||||
|
||||
if("Bartender", "Lawyer")
|
||||
O = new /datum/outfit/plasmaman/bar
|
||||
|
||||
if("Cook")
|
||||
O = new /datum/outfit/plasmaman/chef
|
||||
|
||||
if("Security Officer")
|
||||
O = new /datum/outfit/plasmaman/security
|
||||
|
||||
if("Detective")
|
||||
O = new /datum/outfit/plasmaman/detective
|
||||
|
||||
if("Warden")
|
||||
O = new /datum/outfit/plasmaman/warden
|
||||
|
||||
if("Cargo Technician", "Quartermaster")
|
||||
O = new /datum/outfit/plasmaman/cargo
|
||||
|
||||
if("Shaft Miner")
|
||||
O = new /datum/outfit/plasmaman/mining
|
||||
|
||||
if("Medical Doctor")
|
||||
O = new /datum/outfit/plasmaman/medical
|
||||
|
||||
if("Chemist")
|
||||
O = new /datum/outfit/plasmaman/chemist
|
||||
|
||||
if("Geneticist")
|
||||
O = new /datum/outfit/plasmaman/genetics
|
||||
|
||||
if("Roboticist")
|
||||
O = new /datum/outfit/plasmaman/robotics
|
||||
|
||||
if("Virologist")
|
||||
O = new /datum/outfit/plasmaman/viro
|
||||
|
||||
if("Scientist")
|
||||
O = new /datum/outfit/plasmaman/science
|
||||
|
||||
if("Station Engineer")
|
||||
O = new /datum/outfit/plasmaman/engineering
|
||||
|
||||
if("Atmospheric Technician")
|
||||
O = new /datum/outfit/plasmaman/atmospherics
|
||||
|
||||
if("Captain")
|
||||
O = new /datum/outfit/plasmaman/captain
|
||||
|
||||
if("Head of Personnel")
|
||||
O = new /datum/outfit/plasmaman/hop
|
||||
|
||||
if("Head of Security")
|
||||
O = new /datum/outfit/plasmaman/hos
|
||||
|
||||
if("Chief Engineer")
|
||||
O = new /datum/outfit/plasmaman/ce
|
||||
|
||||
if("Chief Medical Officer")
|
||||
O = new /datum/outfit/plasmaman/cmo
|
||||
|
||||
if("Research Director")
|
||||
O = new /datum/outfit/plasmaman/rd
|
||||
|
||||
if("Mime")
|
||||
O = new /datum/outfit/plasmaman/mime
|
||||
|
||||
if("Clown")
|
||||
O = new /datum/outfit/plasmaman/clown
|
||||
|
||||
H.equipOutfit(O, visualsOnly)
|
||||
H.internal = H.get_item_for_held_index(2)
|
||||
H.update_internals_hud_icon(1)
|
||||
return 0
|
||||
|
||||
/datum/species/plasmaman/qualifies_for_rank(rank, list/features)
|
||||
if(rank in GLOB.security_positions)
|
||||
return 0
|
||||
if(rank == "Clown" || rank == "Mime")//No funny bussiness
|
||||
return 0
|
||||
return ..()
|
||||
|
||||
/datum/species/plasmaman/random_name(gender,unique,lastname)
|
||||
if(unique)
|
||||
return random_unique_plasmaman_name()
|
||||
|
||||
Reference in New Issue
Block a user