mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-20 20:37:34 +01:00
Ports the radiation subsystem and cleans up damage flags. (#15715)
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(SPAN_WARNING("[user]'s hand slips, smearing some of [tool] in the incision in [target]'s [affected.name]!") , \
|
||||
SPAN_WARNING("Your hand slips, smearing some of [tool] in the incision in [target]'s [affected.name]!"))
|
||||
target.apply_damage(15, PAIN)
|
||||
target.apply_damage(15, DAMAGE_PAIN)
|
||||
|
||||
/singleton/surgery_step/set_bone
|
||||
name = "Set Broken Bone"
|
||||
@@ -79,7 +79,7 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(SPAN_WARNING("[user]'s hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!") , \
|
||||
SPAN_WARNING("Your hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!"))
|
||||
target.apply_damage(5, BRUTE, target_zone, 0, tool, damage_flags = tool.damage_flags())
|
||||
target.apply_damage(5, DAMAGE_BRUTE, target_zone, 0, tool, damage_flags = tool.damage_flags())
|
||||
|
||||
/singleton/surgery_step/mend_skull
|
||||
name = "Repair Broken Skull"
|
||||
@@ -113,7 +113,7 @@
|
||||
user.visible_message(SPAN_WARNING("[user]'s hand slips, damaging [target]'s face with \the [tool]!") , \
|
||||
SPAN_WARNING("Your hand slips, damaging [target]'s face with \the [tool]!"))
|
||||
var/obj/item/organ/external/head/h = affected
|
||||
target.apply_damage(10, BRUTE, target_zone, 0, tool, damage_flags = tool.damage_flags())
|
||||
target.apply_damage(10, DAMAGE_BRUTE, target_zone, 0, tool, damage_flags = tool.damage_flags())
|
||||
h.disfigured = 1
|
||||
|
||||
/singleton/surgery_step/finish_bone
|
||||
@@ -153,4 +153,4 @@
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(SPAN_WARNING("[user]'s hand slips, smearing [tool] in the incision in [target]'s [affected.name]!") , \
|
||||
SPAN_WARNING("Your hand slips, smearing [tool] in the incision in [target]'s [affected.name]!"))
|
||||
target.apply_damage(15, PAIN)
|
||||
target.apply_damage(15, DAMAGE_PAIN)
|
||||
Reference in New Issue
Block a user