diff --git a/code/game/jobs/job_controller.dm b/code/game/jobs/job_controller.dm index b2af8cb781..8230d4ae71 100644 --- a/code/game/jobs/job_controller.dm +++ b/code/game/jobs/job_controller.dm @@ -429,8 +429,18 @@ var/global/datum/controller/occupations/job_master H.equip_to_slot_or_del(BPK, slot_back,1) //TODO: Generalize this by-species - if(H.species && (H.species.name == "Tajaran" || H.species.name == "Unathi")) - H.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(H),slot_shoes,1) + if(H.species) + if(H.species.name == "Tajaran" || H.species.name == "Unathi") + H.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(H),slot_shoes,1) + else if(H.species.name == "Vox") + H.equip_to_slot_or_del(new /obj/item/clothing/mask/breath/vox(src), slot_wear_mask) + if(!H.r_hand) + H.equip_to_slot_or_del(new /obj/item/weapon/tank/nitrogen(src), slot_r_hand) + H.internal = H.r_hand + else if (!H.l_hand) + H.equip_to_slot_or_del(new /obj/item/weapon/tank/nitrogen(src), slot_l_hand) + H.internal = H.l_hand + H.internals.icon_state = "internal1" H << "You are the [alt_title ? alt_title : rank]." H << "As the [alt_title ? alt_title : rank] you answer directly to [job.supervisors]. Special circumstances may change this." diff --git a/code/modules/admin/verbs/one_click_antag.dm b/code/modules/admin/verbs/one_click_antag.dm index f6dff2157f..fc147e04fd 100644 --- a/code/modules/admin/verbs/one_click_antag.dm +++ b/code/modules/admin/verbs/one_click_antag.dm @@ -517,6 +517,25 @@ client/proc/one_click_antag() new_vox.mind.special_role = "Vox Raider" new_vox.mutations |= NOCLONE //Stops the station crew from messing around with their DNA. + //Now apply cortical stack. + var/datum/organ/external/affected = new_vox.get_organ("head") + + //To avoid duplicates. + for(var/obj/item/weapon/implant/cortical/imp in new_vox.contents) + affected.implants -= imp + del(imp) + + var/obj/item/weapon/implant/cortical/I = new(new_vox) + I.imp_in = new_vox + I.implanted = 1 + affected.implants += I + I.part = affected + + if(ticker.mode && ( istype( ticker.mode,/datum/game_mode/heist ) ) ) + var/datum/game_mode/heist/M = ticker.mode + M.cortical_stacks += I + M.raiders[new_vox.mind] = I + ticker.mode.traitors += new_vox.mind new_vox.equip_vox_raider() diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 76e4bb01d2..80ce70964d 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -104,7 +104,7 @@ var/vision_flags = 0 var/darkness_view = 0//Base human is 2 var/invisa_view = 0 - + sprite_sheets = list("Vox" = 'icons/mob/species/vox/eyes.dmi') /* SEE_SELF // can see self, no matter what SEE_MOBS // can see all mobs, no matter what @@ -130,6 +130,7 @@ BLIND // can't see anything slot_flags = SLOT_GLOVES attack_verb = list("challenged") species_restricted = list("exclude","Unathi","Tajaran") + sprite_sheets = list("Vox" = 'icons/mob/species/vox/gloves.dmi') /obj/item/clothing/gloves/examine() set src in usr @@ -157,6 +158,7 @@ BLIND // can't see anything body_parts_covered = HEAD slot_flags = SLOT_HEAD w_class = 2.0 + sprite_sheets = list("Vox" = 'icons/mob/species/vox/head.dmi') //Mask @@ -165,6 +167,7 @@ BLIND // can't see anything icon = 'icons/obj/clothing/masks.dmi' body_parts_covered = HEAD slot_flags = SLOT_MASK + sprite_sheets = list("Vox" = 'icons/mob/species/vox/masks.dmi') //Shoes /obj/item/clothing/shoes @@ -179,6 +182,7 @@ BLIND // can't see anything permeability_coefficient = 0.50 slowdown = SHOES_SLOWDOWN species_restricted = list("exclude","Unathi","Tajaran") + sprite_sheets = list("Vox" = 'icons/mob/species/vox/shoes.dmi') //Suit /obj/item/clothing/suit @@ -192,6 +196,7 @@ BLIND // can't see anything var/blood_overlay_type = "suit" siemens_coefficient = 0.9 w_class = 3 + sprite_sheets = list("Vox" = 'icons/mob/species/vox/suit.dmi') //Spacesuit //Note: Everything in modules/clothing/spacesuits should have the entire suit grouped together. @@ -209,6 +214,7 @@ BLIND // can't see anything min_cold_protection_temperature = SPACE_HELMET_MIN_COLD_PROTECTION_TEMPERATURE siemens_coefficient = 0.9 species_restricted = list("exclude","Diona","Vox") + sprite_sheets = list("Vox" = 'icons/mob/species/vox/head.dmi') /obj/item/clothing/suit/space name = "Space suit" @@ -250,6 +256,7 @@ BLIND // can't see anything var/displays_id = 1 var/rolled_down = 0 var/basecolor + sprite_sheets = list("Vox" = 'icons/mob/species/vox/uniform.dmi') /obj/item/clothing/under/attackby(obj/item/I, mob/user) if(hastie) @@ -274,10 +281,10 @@ BLIND // can't see anything if(hastie && src.loc == user) hastie.attack_hand(user) return - + if ((ishuman(usr) || ismonkey(usr)) && src.loc == user) //make it harder to accidentally undress yourself return - + ..() /obj/item/clothing/under/MouseDrop(obj/over_object as obj) diff --git a/code/modules/clothing/masks/breath.dm b/code/modules/clothing/masks/breath.dm index 72f0ce03e5..db97e10266 100644 --- a/code/modules/clothing/masks/breath.dm +++ b/code/modules/clothing/masks/breath.dm @@ -45,8 +45,7 @@ permeability_coefficient = 0.01 species_restricted = list("Vox","Vox Armalis") sprite_sheets = list( - "Vox" = 'icons/mob/species/vox/mask.dmi', - "Vox Armalis" = 'icons/mob/species/armalis/mask.dmi', + "Vox Armalis" = 'icons/mob/species/armalis/mask.dmi' ) toggle() diff --git a/code/modules/clothing/spacesuits/alien.dm b/code/modules/clothing/spacesuits/alien.dm index 902d947149..3719f0c7db 100644 --- a/code/modules/clothing/spacesuits/alien.dm +++ b/code/modules/clothing/spacesuits/alien.dm @@ -191,8 +191,7 @@ species_restricted = list("Vox","Vox Armalis") sprite_sheets = list( - "Vox" = 'icons/mob/species/vox/feet.dmi', - "Vox Armalis" = 'icons/mob/species/armalis/feet.dmi', + "Vox Armalis" = 'icons/mob/species/armalis/feet.dmi' ) action_button_name = "Toggle the magclaws" diff --git a/code/modules/mob/living/carbon/species.dm b/code/modules/mob/living/carbon/species.dm index b171bfb884..99c165f3d1 100644 --- a/code/modules/mob/living/carbon/species.dm +++ b/code/modules/mob/living/carbon/species.dm @@ -28,7 +28,7 @@ var/heat_level_1 = 360 // Heat damage level 1 above this point. var/heat_level_2 = 400 // Heat damage level 2 above this point. var/heat_level_3 = 1000 // Heat damage level 2 above this point. - + var/body_temperature = 310.15 //non-IS_SYNTHETIC species will try to stabilize at this temperature. (also affects temperature processing) var/synth_temp_gain = 0 //IS_SYNTHETIC species will gain this much temperature every second @@ -192,7 +192,7 @@ breath_type = "nitrogen" poison_type = "oxygen" - flags = NO_SCAN | NO_BLOOD + flags = NO_SCAN | NO_BLOOD | IS_WHITELISTED blood_color = "#2299FC" flesh_color = "#808D11" @@ -240,29 +240,6 @@ tail = "armalis_tail" icon_template = 'icons/mob/human_races/r_armalis.dmi' -/datum/species/vox/create_organs(var/mob/living/carbon/human/H) - - ..() //create organs first. - - //Now apply cortical stack. - var/datum/organ/external/affected = H.get_organ("head") - - //To avoid duplicates. - for(var/obj/item/weapon/implant/cortical/imp in H.contents) - affected.implants -= imp - del(imp) - - var/obj/item/weapon/implant/cortical/I = new(H) - I.imp_in = H - I.implanted = 1 - affected.implants += I - I.part = affected - - if(ticker.mode && ( istype( ticker.mode,/datum/game_mode/heist ) ) ) - var/datum/game_mode/heist/M = ticker.mode - M.cortical_stacks += I - M.raiders[H.mind] = I - /datum/species/diona name = "Diona" icobase = 'icons/mob/human_races/r_diona.dmi' @@ -331,7 +308,7 @@ heat_level_1 = 500 //gives them about 25 seconds in space before taking damage heat_level_2 = 1000 heat_level_3 = 2000 - + synth_temp_gain = 10 //this should cause IPCs to stabilize at ~80 C in a 20 C environment. flags = IS_WHITELISTED | NO_BREATHE | NO_SCAN | NO_BLOOD | NO_PAIN | IS_SYNTHETIC @@ -348,7 +325,7 @@ var/miss_sound = 'sound/weapons/punchmiss.ogg' var/sharp = 0 var/edge = 0 - + /datum/unarmed_attack/punch attack_verb = list("punch") diff --git a/icons/mob/species/vox/eyes.dmi b/icons/mob/species/vox/eyes.dmi index 8573539167..6e15b3e58c 100644 Binary files a/icons/mob/species/vox/eyes.dmi and b/icons/mob/species/vox/eyes.dmi differ diff --git a/icons/mob/species/vox/gloves.dmi b/icons/mob/species/vox/gloves.dmi index 4f1162ae60..16b4706c4a 100644 Binary files a/icons/mob/species/vox/gloves.dmi and b/icons/mob/species/vox/gloves.dmi differ diff --git a/icons/mob/species/vox/mask.dmi b/icons/mob/species/vox/mask.dmi deleted file mode 100644 index 6071aa5ed7..0000000000 Binary files a/icons/mob/species/vox/mask.dmi and /dev/null differ