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:
Vi3trice
2025-01-30 05:26:13 +00:00
committed by GitHub
parent 1a2f97c100
commit 9a7aee88bd
4 changed files with 10 additions and 1 deletions
@@ -231,11 +231,13 @@
to_chat(user, "<span class='notice'>You [lit ? "extinguish" : "ignite"] [src]!</span>")
lit = !lit
if(lit)
damtype = BURN
START_PROCESSING(SSobj, src)
if(!warned_admins)
message_admins("[ADMIN_LOOKUPFLW(user)] has lit a flamethrower.")
warned_admins = TRUE
else
damtype = initial(damtype)
STOP_PROCESSING(SSobj,src)
update_icon()
+1 -1
View File
@@ -78,7 +78,7 @@
hitsound = "swing_hit"
force = 0
attack_verb = null //human_defense.dm takes care of it
damtype = initial(damtype)
update_icon()
if(user)
show_off_message(user)