mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Fixing up vox and vox armalis gear
This commit is contained in:
@@ -48,7 +48,7 @@ var/global/vox_tick = 1
|
||||
equip_to_slot_or_del(new /obj/item/weapon/circular_saw(src), slot_l_store)
|
||||
equip_to_slot_or_del(new /obj/item/weapon/gun/dartgun/vox/medical, slot_r_hand)
|
||||
|
||||
equip_to_slot_or_del(new /obj/item/clothing/mask/breath/vox(src), slot_wear_mask)
|
||||
equip_to_slot_or_del(new /obj/item/clothing/mask/breath(src), slot_wear_mask)
|
||||
equip_to_slot_or_del(new /obj/item/weapon/tank/nitrogen(src), slot_back)
|
||||
equip_to_slot_or_del(new /obj/item/device/flashlight(src), slot_r_store)
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
gas_transfer_coefficient = 0.10
|
||||
permeability_coefficient = 0.50
|
||||
var/hanging = 0
|
||||
species_fit = list("Vox")
|
||||
|
||||
verb/toggle()
|
||||
set category = "Object"
|
||||
@@ -36,18 +37,4 @@
|
||||
icon_state = "medical"
|
||||
item_state = "medical"
|
||||
permeability_coefficient = 0.01
|
||||
|
||||
/obj/item/clothing/mask/breath/vox
|
||||
desc = "A weirdly-shaped breath mask."
|
||||
name = "vox breath mask"
|
||||
icon_state = "voxmask"
|
||||
item_state = "voxmask"
|
||||
permeability_coefficient = 0.01
|
||||
species_restricted = ("Vox")
|
||||
|
||||
toggle()
|
||||
set category = "Object"
|
||||
set name = "Adjust mask"
|
||||
set src in usr
|
||||
|
||||
usr << "You can't really adjust this mask - it's moulded to your beak!"
|
||||
species_fit = list()
|
||||
@@ -144,7 +144,9 @@
|
||||
siemens_coefficient = 0
|
||||
permeability_coefficient = 0.05
|
||||
_color="gloves-vox"
|
||||
species_restricted = list("Vox")
|
||||
species_restricted = list("Vox","Vox Armalis")
|
||||
species_fit = list("Vox Armalis")
|
||||
|
||||
|
||||
/obj/item/clothing/shoes/magboots/vox
|
||||
|
||||
@@ -152,7 +154,8 @@
|
||||
name = "vox magclaws"
|
||||
item_state = "boots-vox"
|
||||
icon_state = "boots-vox"
|
||||
species_restricted = list("Vox")
|
||||
species_restricted = list("Vox","Vox Armalis")
|
||||
species_fit = list("Vox Armalis")
|
||||
action_button_name = "Toggle the magclaws"
|
||||
|
||||
/obj/item/clothing/shoes/magboots/vox/attack_self(mob/user)
|
||||
@@ -191,27 +194,6 @@
|
||||
|
||||
|
||||
//Vox Armalis gear.
|
||||
/obj/item/clothing/shoes/magboots/vox/armalis
|
||||
name = "large vox magclaws"
|
||||
item_state = "boots-armalis"
|
||||
icon_state = "boots-armalis"
|
||||
icon_override = 'icons/mob/vox.dmi'
|
||||
species_restricted = list("Vox Armalis")
|
||||
|
||||
/obj/item/clothing/gloves/yellow/vox/armalis
|
||||
name = "large insulated gauntlets"
|
||||
item_state = "gloves-armalis"
|
||||
icon_state = "gloves-armalis"
|
||||
icon_override = 'icons/mob/vox.dmi'
|
||||
species_restricted = list("Vox Armalis")
|
||||
|
||||
/obj/item/clothing/mask/breath/vox/armalis
|
||||
name = "large vox mask"
|
||||
item_state = "mask-armalis"
|
||||
icon_state = "mask-armalis"
|
||||
icon_override = 'icons/mob/vox.dmi'
|
||||
species_restricted = list("Vox Armalis")
|
||||
|
||||
/obj/item/clothing/suit/space/vox/carapace/armalis
|
||||
name = "large alien carapace armour"
|
||||
item_state = "armour-armalis"
|
||||
@@ -219,7 +201,6 @@
|
||||
icon_override = 'icons/mob/vox.dmi'
|
||||
species_restricted = list("Vox Armalis")
|
||||
|
||||
|
||||
//Species-specific Syndicate rigs.
|
||||
/obj/item/clothing/head/helmet/space/rig/syndi/tajara
|
||||
icon_state = "rig0-syndie-taj"
|
||||
|
||||
@@ -1,23 +1,14 @@
|
||||
/proc/EquipRacialItems(mob/living/carbon/human/M)
|
||||
if(M.species.name=="Vox")
|
||||
if(istype(M,/mob/living/carbon/human/vox))
|
||||
M.equip_to_slot_or_del(new /obj/item/clothing/shoes/magboots/vox(M), slot_shoes) // REPLACE THESE WITH CODED VOX ALTERNATIVES.
|
||||
M.equip_to_slot_or_del(new /obj/item/clothing/mask/breath/vox(M), slot_wear_mask)
|
||||
M.equip_to_slot_or_del(new /obj/item/clothing/mask/breath(M), slot_wear_mask)
|
||||
M.equip_to_slot_or_del(new /obj/item/weapon/tank/nitrogen(M), slot_back)
|
||||
M << "\blue You are now running on nitrogen internals from the [M.back] in your suit storage. Your species finds oxygen toxic, so you must breathe nitrogen only."
|
||||
M.internal = M.back
|
||||
if (M.internals)
|
||||
M.internals.icon_state = "internal1"
|
||||
|
||||
var/sounds = rand(2,10)
|
||||
var/i = 0
|
||||
var/newname = ""
|
||||
|
||||
while(i<=sounds)
|
||||
i++
|
||||
newname += pick(list("ti","hi","ki","ya","ta","ha","ka","ya","chi","cha","kah"))
|
||||
|
||||
M.real_name = capitalize(newname)
|
||||
M.name = M.real_name
|
||||
M.generate_name()
|
||||
|
||||
if( M.species.name=="Tajaran" || M.species.name=="Unathi" )
|
||||
M.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(M), slot_shoes)
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
h_style = "Short Vox Quills"
|
||||
..(new_loc, "Vox")
|
||||
|
||||
/mob/living/carbon/human/voxarmalis/New(var/new_loc)
|
||||
/mob/living/carbon/human/vox/armalis/New(var/new_loc)
|
||||
h_style = "Bald"
|
||||
..(new_loc, "Vox Armalis")
|
||||
|
||||
|
||||
@@ -488,7 +488,7 @@
|
||||
// Nitrogen, for Vox.
|
||||
var/Nitrogen_pp = (breath.nitrogen/breath.total_moles())*breath_pressure
|
||||
|
||||
if(O2_pp < safe_oxygen_min && species.name != "Vox") // Too little oxygen
|
||||
if(O2_pp < safe_oxygen_min && !istype(src,/mob/living/carbon/human/vox)) // Too little oxygen
|
||||
if(prob(20))
|
||||
spawn(0) emote("gasp")
|
||||
if(O2_pp > 0)
|
||||
@@ -506,7 +506,7 @@
|
||||
oxyloss += 5*ratio
|
||||
oxygen_used = breath.oxygen*ratio/6
|
||||
oxygen_alert = max(oxygen_alert, 1)*/
|
||||
else if(Nitrogen_pp < safe_oxygen_min && species.name == "Vox") //Vox breathe nitrogen, not oxygen.
|
||||
else if(Nitrogen_pp < safe_oxygen_min && istype(src,/mob/living/carbon/human/vox)) //Vox breathe nitrogen, not oxygen.
|
||||
|
||||
if(prob(20))
|
||||
spawn(0) emote("gasp")
|
||||
@@ -551,7 +551,7 @@
|
||||
if(reagents)
|
||||
reagents.add_reagent("plasma", Clamp(ratio, MIN_PLASMA_DAMAGE, MAX_PLASMA_DAMAGE))
|
||||
toxins_alert = max(toxins_alert, 1)
|
||||
else if(O2_pp > vox_oxygen_max && species.name == "Vox") //Oxygen is toxic to vox.
|
||||
else if(O2_pp > vox_oxygen_max && istype(src,/mob/living/carbon/human/vox)) //Oxygen is toxic to vox.
|
||||
var/ratio = (breath.oxygen/vox_oxygen_max) * 1000
|
||||
adjustToxLoss(Clamp(ratio, MIN_PLASMA_DAMAGE, MAX_PLASMA_DAMAGE))
|
||||
toxins_alert = max(toxins_alert, 1)
|
||||
|
||||
@@ -209,6 +209,7 @@
|
||||
|
||||
uniform_icons = 'icons/mob/species/vox/uniform.dmi'
|
||||
shoes_icons = 'icons/mob/species/vox/shoes.dmi'
|
||||
wear_mask_icons = 'icons/mob/species/vox/mask.dmi'
|
||||
|
||||
flags = NO_SCAN | IS_WHITELISTED | NO_BLOOD
|
||||
|
||||
@@ -242,6 +243,10 @@
|
||||
|
||||
tail = "armalis_tail"
|
||||
|
||||
wear_mask_icons = 'icons/mob/species/vox/armalis/mask.dmi'
|
||||
shoes_icons = 'icons/mob/species/vox/armalis/shoes.dmi'
|
||||
gloves_icons = 'icons/mob/species/vox/armalis/hands.dmi'
|
||||
|
||||
/datum/species/vox/armalis/handle_post_spawn(var/mob/living/carbon/human/H)
|
||||
H.verbs += /mob/living/carbon/human/proc/gut
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user