Allows Fully Heal to be passed a series of flags, fixes Adminordrazine being horrible (#71123)

## About The Pull Request

- Fully heal can be passed a series of flags detailing what all is
healed by the proc. This allows for things to provide
almost-but-not-quite fully heals.
- Uses this in Adminordrazine, so that it stops being a pain to update
every time fully heal is updated.

This includes some small balance changes which i'll go over, nothing
extremely noticable.

## Why It's Good For The Game

Allows for more precise control over full heals. 

## Changelog

🆑 Melbert
refactor: Fully heal can be passed a series of flags. As a result, some
things which previously did a full heal might heal slightly less, or
some things which did partial full heals might do slightly more.
fix: Adminordrazine will no longer completely break every facet of a
person
admin: Ahealing a changeling will refill all of their chems.
/🆑
This commit is contained in:
MrMelbert
2022-11-17 10:09:00 -08:00
committed by GitHub
parent 6b357f49e4
commit 79ffefa06d
83 changed files with 513 additions and 397 deletions
+1 -1
View File
@@ -509,7 +509,7 @@
if(!istype(M))
tgui_alert(usr,"Cannot revive a ghost")
return
M.revive(full_heal = TRUE, admin_revive = TRUE)
M.revive(ADMIN_HEAL_ALL)
log_admin("[key_name(usr)] healed / revived [key_name(M)]")
var/msg = span_danger("Admin [key_name_admin(usr)] healed / revived [ADMIN_LOOKUPFLW(M)]!")