Cleaned up a few lines of clothing code.

Rig suits will now properly slow you down (a little less than a regular space suit), hotrod. 
Bio suits will also slow you down, as per fire suits.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@528 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
noisomehollow@lycos.com
2010-12-03 22:07:45 +00:00
parent 05540df7c8
commit a0f35c5c46
2 changed files with 9 additions and 8 deletions

View File

@@ -195,7 +195,6 @@
icon_state = "pwig"
item_state = "pwig"
/obj/item/clothing/head/that
name = "hat"
desc = "An amish looking hat"
@@ -208,7 +207,7 @@
icon_state = "wizard"
/obj/item/clothing/head/wizard/red
name = "wizard hat"
name = "red wizard hat"
desc = "Strange-looking, red, hat-wear that most certainly belongs to a real magic user."
icon_state = "redwizard"
@@ -566,14 +565,10 @@
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
/obj/item/clothing/suit/wizrobe/red
name = "wizard robe"
name = "red wizard robe"
desc = "A magnificant, red, gem-lined robe that seems to radiate power."
icon_state = "redwizard"
item_state = "redwizrobe"
gas_transfer_coefficient = 0.01 // IT'S MAGICAL OKAY JEEZ +1 TO NOT DIE
permeability_coefficient = 0.01
heat_transfer_coefficient = 0.01
body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS
/obj/item/clothing/suit/wizrobe_fake
name = "wizard robe"
@@ -700,7 +695,6 @@
desc = "A special suit that protects against hazardous, low pressure environments."
icon_state = "rig"
item_state = "rig_suit"
w_class = 4//bulky item
/obj/item/clothing/suit/space/syndicate
name = "red space suit"

View File

@@ -131,9 +131,16 @@
tally += 1.3
if(/obj/item/clothing/suit/fire/heavy) // firesuits slow you down a bit
tally += 1.7
if(/obj/item/clothing/suit/bio_suit) // biosuits slow you down a bit
tally += 1.3
if(/obj/item/clothing/suit/bio_suit/plaguedoctorsuit) // biosuits slow you down a bit
tally += 1.3
if(/obj/item/clothing/suit/space)
if(!istype(src.loc, /turf/space)) // space suits slow you down a bit unless in space
tally += 3
if(/obj/item/clothing/suit/space/rig)
if(!istype(src.loc, /turf/space)) // space suits slow you down a bit unless in space
tally += 2
if (istype(src.shoes, /obj/item/clothing/shoes))
if (src.shoes.chained)