mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Cauterize surgery checks for lit implements, tweak lighter/flamethrowers/cautery so they deal burn when appropriate (#28141)
* stay cool * Cautery is also weird like that too
This commit is contained in:
@@ -180,6 +180,12 @@
|
||||
failure_sound = 'sound/items/welder.ogg'
|
||||
time = 2.4 SECONDS
|
||||
|
||||
/datum/surgery_step/generic/cauterize/tool_check(mob/user, obj/item/tool)
|
||||
if(tool.damtype != BURN)
|
||||
to_chat(user, "<span class='warning'>[tool] is too cold to cauterize!</span>")
|
||||
return FALSE
|
||||
return TRUE
|
||||
|
||||
/datum/surgery_step/generic/cauterize/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
|
||||
var/obj/item/organ/external/affected = target.get_organ(target_zone)
|
||||
user.visible_message(
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
materials = list(MAT_METAL=2500, MAT_GLASS=750)
|
||||
flags = CONDUCT
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
damtype = BURN
|
||||
origin_tech = "materials=1;biotech=1"
|
||||
attack_verb = list("burnt")
|
||||
tool_behaviour = TOOL_CAUTERY
|
||||
|
||||
Reference in New Issue
Block a user