mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
standardization
This commit is contained in:
@@ -28,11 +28,9 @@
|
||||
Stop()
|
||||
|
||||
/obj/item/organ/internal/heart/emp_act(intensity)
|
||||
if(emp_proof)
|
||||
if(!is_robotic() || emp_proof)
|
||||
return
|
||||
if(owner && is_robotic())
|
||||
Stop() // In the name of looooove~!
|
||||
owner.visible_message("<span class='danger'>[owner] clutches [owner.p_their()] chest and gasps!</span>","<span class='userdanger'>You clutch your chest in pain!</span>")
|
||||
Stop()
|
||||
|
||||
/obj/item/organ/internal/heart/attack_self(mob/user)
|
||||
..()
|
||||
@@ -49,7 +47,7 @@
|
||||
/obj/item/organ/internal/heart/proc/Stop()
|
||||
beating = FALSE
|
||||
update_icon()
|
||||
return 1
|
||||
return TRUE
|
||||
|
||||
/obj/item/organ/internal/heart/proc/Restart()
|
||||
beating = TRUE
|
||||
@@ -142,9 +140,4 @@
|
||||
icon_base = "heart-c"
|
||||
dead_icon = "heart-c-off"
|
||||
origin_tech = "biotech=5"
|
||||
status = ORGAN_ROBOT
|
||||
|
||||
/obj/item/organ/internal/heart/cybernetic/emp_act()
|
||||
if(emp_proof)
|
||||
return
|
||||
Stop()
|
||||
status = ORGAN_ROBOT
|
||||
@@ -51,6 +51,12 @@
|
||||
var/heat_level_3_damage = HEAT_GAS_DAMAGE_LEVEL_3
|
||||
var/heat_damage_types = list(BURN = 1)
|
||||
|
||||
/obj/item/organ/internal/lungs/emp_act()
|
||||
if(!is_robotic() || emp_proof)
|
||||
return
|
||||
if(owner)
|
||||
owner.LoseBreath(20)
|
||||
|
||||
/obj/item/organ/internal/lungs/insert(mob/living/carbon/M, special = 0, dont_remove_slot = 0)
|
||||
..()
|
||||
for(var/thing in list("oxy", "tox", "co2", "nitro"))
|
||||
@@ -343,13 +349,6 @@
|
||||
origin_tech = "biotech=4"
|
||||
status = ORGAN_ROBOT
|
||||
|
||||
/obj/item/organ/internal/lungs/cybernetic/emp_act()
|
||||
if(emp_proof)
|
||||
return
|
||||
if(owner)
|
||||
owner.LoseBreath(20)
|
||||
|
||||
|
||||
/obj/item/organ/internal/lungs/cybernetic/upgraded
|
||||
name = "upgraded cybernetic lungs"
|
||||
desc = "A more advanced version of the stock cybernetic lungs. They are capable of filtering out lower levels of toxins and carbon dioxide."
|
||||
|
||||
@@ -264,12 +264,11 @@
|
||||
/obj/item/organ/internal/emp_act(severity)
|
||||
if(!is_robotic() || emp_proof)
|
||||
return
|
||||
if(is_robotic())
|
||||
switch(severity)
|
||||
if(1)
|
||||
receive_damage(20, 1)
|
||||
if(2)
|
||||
receive_damage(7, 1)
|
||||
switch(severity)
|
||||
if(1)
|
||||
receive_damage(20, 1)
|
||||
if(2)
|
||||
receive_damage(7, 1)
|
||||
|
||||
/obj/item/organ/proc/remove(var/mob/living/user,special = 0)
|
||||
if(!istype(owner))
|
||||
|
||||
Reference in New Issue
Block a user