Plasmen bogfix

Conflicts:
	code/ZAS/Plasma.dm
This commit is contained in:
Rob Nelson
2014-07-30 21:09:04 -07:00
committed by ZomgPonies
parent 7832e1c26f
commit 8fd4346dc3
3 changed files with 35 additions and 26 deletions
@@ -282,11 +282,13 @@
flags_inv = HIDEGLOVES|HIDESHOES|HIDEJUMPSUIT
max_heat_protection_temperature = SPACE_SUIT_MAX_HEAT_PROTECITON_TEMPERATURE
species_restricted = list("Plasmaman")
flags = FPRINT | TABLEPASS | STOPSPRESSUREDMAGE | PLASMAGUARD
icon_state = "plasmaman_suit"
item_state = "plasmaman_suit"
/obj/item/clothing/head/helmet/space/plasmaman
flags = FPRINT | TABLEPASS | HEADCOVERSEYES | BLOCKHAIR | STOPSPRESSUREDMAGE | PLASMAGUARD
species_restricted = list("Plasmaman")
icon_state = "plasmaman_helmet0"
+2 -3
View File
@@ -443,9 +443,8 @@ var/global/list/brutefireloss_overlays = list("1" = image("icon" = 'icons/mob/sc
if(species.name=="Plasmaman")
// Check if we're wearing our biosuit and mask.
var/cover_flags = get_covered_bodyparts()
if ((cover_flags & FULL_BODY) != FULL_BODY) // We check to see if ALL flags are set.
testing("Plasmaman [src] leakin'. coverflags=[cover_flags]")
if (!istype(wear_suit,/obj/item/clothing/suit/space/plasmaman) || !istype(head,/obj/item/clothing/head/helmet/space/plasmaman))
//testing("Plasmaman [src] leakin'. coverflags=[cover_flags]")
// OH FUCK HE LEAKIN'.
environment.adjust(tx = environment.total_moles()*BREATH_PERCENTAGE) // About one breath's worth. (I know we aren't breathing it out, but this should be about the right amount)