Fixes #1418
Fixes #1420
Fixes #1431
This commit is contained in:
LordFowl
2017-01-07 16:50:33 -05:00
committed by skull132
parent eeb0aa4a4e
commit 83a688ca4e
7 changed files with 8 additions and 9 deletions
-1
View File
@@ -351,7 +351,6 @@
if ("phoron")
if(t.air_contents.gas["phoron"] && !t.air_contents.gas["nitrogen"])
contents.Add(t.air_contents.gas["phoron"])
world << "Phoron check."
else
contents.Add(0)
+3 -3
View File
@@ -82,7 +82,7 @@
flick("e_flash", M.flash)
//Vaurca damage 15/01/16
var/mob/living/carbon/human/H = M
if(H.species.name == "Vaurca")
if(H.species.get_bodytype() == "Vaurca")
var/obj/item/organ/eyes/E = H.internal_organs_by_name["eyes"]
if(!E)
return
@@ -154,9 +154,9 @@
/obj/item/device/flash/attack_self(mob/living/carbon/user as mob, flag = 0, emp = 0)
if(!user || !clown_check(user)) return
user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN)
if(broken)
user.show_message("<span class='warning'>The [src.name] is broken</span>", 2)
return
@@ -55,7 +55,7 @@
M.Weaken(10)
//Vaurca damage 15/01/16
var/mob/living/carbon/human/H = M
if(H.species.name == "Vaurca")
if(H.species.get_bodytype() == "Vaurca")
var/obj/item/organ/eyes/E = H.internal_organs_by_name["eyes"]
if(!E)
return
@@ -282,7 +282,7 @@
for(var/obj/item/organ/I in H.internal_organs)
I.robotize()
if(H.species && H.species.name == "Vaurca")
if(H.species && H.species.get_bodytype() == "Vaurca")
for (var/obj/item/organ/external/E in H.organs)
if ((E.status & ORGAN_CUT_AWAY) || (E.status & ORGAN_DESTROYED))
continue
+2 -2
View File
@@ -936,8 +936,8 @@ Note that amputating the affected organ does in fact remove the infection from t
if(company)
model = company
var/datum/robolimb/R = all_robolimbs[company]
if(species && !(species.name in R.species_can_use))
R = basic_robolimb
/*if(species && !(species.name in R.species_can_use && species.get_bodytype() != "Machine"))
R = basic_robolimb*/
if(R)
force_icon = R.icon
name = "[R.company] [initial(name)]"
+1 -1
View File
@@ -322,7 +322,7 @@
var/mob/living/carbon/human/H = null
if (ishuman(M))
H = M //20/1/16 Insulation (vaurca)
if(H.species.name == "Vaurca") return 0
if(H.species.get_bodytype() == "Vaurca") return 0
var/area/source_area
if(istype(power_source,/area))
source_area = power_source
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB