Persistent Bandages (#20268)

* Bandages now do not disappear as damage heals, instead, a special
Remove Bandages verb must be used to remove bandages. This cannot be
used to re-open wounds for now, and can only be used if the bandage
would've downgraded / disappeared at that point.
* Taking damage on a bandaged limb now removes the bandages.
This commit is contained in:
Geeves
2024-12-24 12:43:44 +00:00
committed by GitHub
parent 143ffe29ee
commit 1bd4f7e020
9 changed files with 133 additions and 20 deletions
@@ -182,6 +182,7 @@ Contains:
else
to_chat(user, SPAN_WARNING("\The [src] is used up, but there are more wounds to treat on \the [affecting.name]."))
use(used)
affecting.bandage_level = affecting.possible_bandage_level()
H.update_bandages(TRUE)
else
if (can_operate(H)) //Checks if mob is lying down on table for surgery
@@ -310,6 +311,7 @@ Contains:
else
to_chat(user, SPAN_WARNING("\The [src] is used up, but there are more wounds to treat on \the [affecting.name]."))
use(used)
affecting.bandage_level = affecting.possible_bandage_level()
H.update_bandages(TRUE)
else
if (can_operate(H)) //Checks if mob is lying down on table for surgery