[MIRROR] First part of a span rework (#9120)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-02 07:25:48 -07:00
committed by GitHub
parent 07c3627fbf
commit 31407a0be3
241 changed files with 1108 additions and 1081 deletions

View File

@@ -78,8 +78,8 @@
return FALSE
user.setClickCooldown(DEFAULT_QUICK_COOLDOWN) // CHOMPEdit - Changed to balloon alert
// to_chat(user, span("notice", "You inject \the [H] with \the [src]."))
// to_chat(H, span("warning", "You feel a tiny prick!"))
// to_chat(user, span_notice("You inject \the [H] with \the [src]."))
// to_chat(H, span_warning("You feel a tiny prick!"))
balloon_alert(user, "Injected \the [H] with \the [src]")
balloon_alert(H, "You feel a tiny prick!")
@@ -90,7 +90,7 @@
var/contained = reagentlist()
var/trans = reagents.trans_to_mob(H, amount_per_transfer_from_this, CHEM_BLOOD)
add_attack_logs(user,H,"Injected with [src.name] containing [contained], trasferred [trans] units")
to_chat(user, span("notice", "[trans] units injected. [reagents.total_volume] units remaining in \the [src]."))
to_chat(user, span_notice("[trans] units injected. [reagents.total_volume] units remaining in \the [src]."))
return TRUE
return FALSE