Merge pull request #2166 from Neopatra/Neopatra-Taursuits

Neopatra's taursuits
This commit is contained in:
Spades
2017-09-16 18:56:45 -04:00
committed by GitHub
9 changed files with 471 additions and 2 deletions
@@ -134,7 +134,37 @@
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/obj/item/clothing/suit/space/void/medical/alt/taur
name = "taur specific streamlined medical voidsuit"
desc = "A more recent model of Vey-Med voidsuit, featuring the latest in radiation shielding technology. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
species_restricted = null
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "medicalalt-horse"
item_state = "medicalalt-horse"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "medicalalt-wolf"
item_state = "medicalalt-wolf"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "medicalalt-naga"
item_state = "medicalalt-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/obj/item/clothing/suit/space/void/engineering/taur
name = "taur specific engineering voidsuit"
@@ -201,6 +231,75 @@
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/obj/item/clothing/suit/space/void/security/alt/taur
name = "taur specific riot security voidsuit"
desc = "A heavily armored voidsuit. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
armor = list(melee = 70, bullet = 20, laser = 30, energy = 5, bomb = 35, bio = 100, rad = 10)
species_restricted = null
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "securityalt-horse"
item_state = "securityalt-horse"
pixel_x = -16
update_icon()
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "securityalt-wolf"
item_state = "securityalt-wolf"
pixel_x = -16
update_icon()
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "securityalt-naga"
item_state = "securityalt-naga"
pixel_x = -16
update_icon()
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/obj/item/clothing/suit/space/void/security/riot/taur
name = "taur specific crowd control voidsuit"
desc = "A high-tech space suit. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
species_restricted = null
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "securityriot-horse"
item_state = "securityriot-horse"
pixel_x = -16
update_icon()
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "securityriot-wolf"
item_state = "securityriot-wolf"
pixel_x = -16
update_icon()
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "securityriot-naga"
item_state = "securityriot-naga"
pixel_x = -16
update_icon()
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/obj/item/clothing/suit/space/void/atmos/taur
name = "taur specific atmospherics voidsuit"
+101
View File
@@ -0,0 +1,101 @@
//Biosuits for use with taurs (Currently only nagas)
//Virology biosuit, green stripe
/obj/item/clothing/suit/bio_suit/virology/taur
name = "taur specific bio suit"
desc = "A suit that protects against biological contamination. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS
flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
species_restricted = null //Species restricted since all it cares about is a taur half
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bioviro-naga"
item_state = "bioviro-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
//Security biosuit, grey with red stripe across the chest
/obj/item/clothing/suit/bio_suit/security/taur
name = "taur specific bio suit"
desc = "A suit that protects against biological contamination. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS
flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
species_restricted = null //Species restricted since all it cares about is a taur half
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "biosec-naga"
item_state = "biosec-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
//Janitor's biosuit, grey with purple arms
/obj/item/clothing/suit/bio_suit/janitor/taur
name = "taur specific bio suit"
desc = "A suit that protects against biological contamination. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS
flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
species_restricted = null //Species restricted since all it cares about is a taur half
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "biojan-naga"
item_state = "biojan-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
//Scientist's biosuit, white with a pink-ish hue
/obj/item/clothing/suit/bio_suit/scientist/taur
name = "taur specific bio suit"
desc = "A suit that protects against biological contamination. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS
flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
species_restricted = null //Species restricted since all it cares about is a taur half
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "biosci-naga"
item_state = "biosci-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
//CMO's biosuit, blue stripe
/obj/item/clothing/suit/bio_suit/cmo/taur
name = "taur specific bio suit"
desc = "A suit that protects against biological contamination. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS
flags_inv = HIDEGLOVES|HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
species_restricted = null //Species restricted since all it cares about is a taur half
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "biocmo-naga"
item_state = "biocmo-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
+130
View File
@@ -0,0 +1,130 @@
/*
* Contains:
* Bomb protection
* Radiation protection
*/
/*
* Bomb protection
*/
/obj/item/clothing/suit/bomb_suit/taur
name = "taur specific bomb suit"
desc = "A suit designed for safety when handling explosives. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
w_class = ITEMSIZE_LARGE//bulky item
gas_transfer_coefficient = 0.01
permeability_coefficient = 0.01
slowdown = 2
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 100, bio = 0, rad = 0)
flags_inv = HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
heat_protection = UPPER_TORSO|LOWER_TORSO
max_heat_protection_temperature = ARMOR_MAX_HEAT_PROTECTION_TEMPERATURE
siemens_coefficient = 0
species_restricted = null
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bombsuit-horse"
item_state = "bombsuit-horse"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bombsuit-wolf"
item_state = "bombsuit-wolf"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bombsuit-naga"
item_state = "bombsuit-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/obj/item/clothing/head/bomb_hood/security
icon_state = "bombsuitsec"
body_parts_covered = HEAD
/obj/item/clothing/suit/bomb_suit/taur/security
allowed = list(/obj/item/weapon/gun/energy,/obj/item/weapon/melee/baton,/obj/item/weapon/handcuffs)
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|FEET|ARMS|HANDS
species_restricted = null
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bombsuit-horse"
item_state = "bombsuit-horse"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bombsuit-wolf"
item_state = "bombsuit-wolf"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "bombsuit-naga"
item_state = "bombsuit-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0
/*
* Radiation protection
*/
/obj/item/clothing/suit/radiation/taur
name = "taur specific radiation suit"
desc = "A suit that protects against radiation. Label: Made with lead, do not eat insulation. It has a sticker saying one size fits all taurs on it. Below the sticker, it states that it only fits horses, wolves, and naga taurs."
w_class = ITEMSIZE_LARGE//bulky item
gas_transfer_coefficient = 0.90
permeability_coefficient = 0.50
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS|HANDS|FEET
allowed = list(/obj/item/device/flashlight,/obj/item/weapon/tank/emergency/oxygen,/obj/item/clothing/head/radiation,/obj/item/clothing/mask/gas)
slowdown = 1.5
armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 60, rad = 100)
flags_inv = HIDEJUMPSUIT|HIDETAIL|HIDETIE|HIDEHOLSTER
species_restricted = null
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
if(..())
if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/horse))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "radsuit-horse"
item_state = "radsuit-horse"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/wolf))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "radsuit-wolf"
item_state = "radsuit-wolf"
pixel_x = -16
return 1
else if(istype(H) && istype(H.tail_style, /datum/sprite_accessory/tail/taur/naga))
icon = 'icons/mob/taursuits_vr.dmi'
icon_override = 'icons/mob/taursuits_vr.dmi'
icon_state = "radsuit-naga"
item_state = "radsuit-naga"
pixel_x = -16
return 1
else
H << "<span class='warning'>You need to have a horse, wolf, or naga half to wear this.</span>"
return 0