Makes surgery steps have names. Exclusive Steps.

This commit is contained in:
C.L
2022-10-03 04:44:49 -04:00
parent 366533390e
commit 47230cac4f
13 changed files with 112 additions and 14 deletions
+6 -1
View File
@@ -8,6 +8,7 @@
///////////////////////////////////////////////////////////////
/datum/surgery_step/glue_bone
surgery_name = "Glue Bone"
allowed_tools = list(
/obj/item/weapon/surgical/bonegel = 100
)
@@ -52,6 +53,7 @@
///////////////////////////////////////////////////////////////
/datum/surgery_step/set_bone
surgery_name = "Set Bone"
allowed_tools = list(
/obj/item/weapon/surgical/bonesetter = 100
)
@@ -98,6 +100,7 @@
///////////////////////////////////////////////////////////////
/datum/surgery_step/mend_skull
surgery_name = "Mend Skull"
allowed_tools = list(
/obj/item/weapon/surgical/bonesetter = 100
)
@@ -139,6 +142,7 @@
///////////////////////////////////////////////////////////////
/datum/surgery_step/finish_bone
surgery_name = "Finish Mending Bone"
allowed_tools = list(
/obj/item/weapon/surgical/bonegel = 100
)
@@ -182,6 +186,7 @@
///////////////////////////////////////////////////////////////
/datum/surgery_step/clamp_bone
surgery_name = "Clamp Bone"
allowed_tools = list(
/obj/item/weapon/surgical/bone_clamp = 100
)
@@ -218,4 +223,4 @@
var/obj/item/organ/external/affected = target.get_organ(target_zone)
user.visible_message("<span class='danger'>[user]'s hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!</span>" , \
"<span class='danger'>Your hand slips, damaging the bone in [target]'s [affected.name] with \the [tool]!</span>")
affected.createwound(BRUISE, 5)
affected.createwound(BRUISE, 5)