mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
[MIRROR] refactors most spans (#9139)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
return
|
||||
owner.setClickCooldown(5) // Spam prevention, essentially.
|
||||
if(owner.a_intent == I_HELP && owner.client?.prefs?.read_preference(/datum/preference/toggle/safefiring))
|
||||
to_chat(owner, "<span class='warning'>You refrain from firing \the [aiming_with] as your intent is set to help.</span>")
|
||||
to_chat(owner, span_warning("You refrain from firing \the [aiming_with] as your intent is set to help."))
|
||||
return
|
||||
owner.visible_message("<span class='danger'>\The [owner] pulls the trigger reflexively!</span>")
|
||||
owner.visible_message(span_danger("\The [owner] pulls the trigger reflexively!"))
|
||||
var/obj/item/gun/G = aiming_with
|
||||
if(istype(G))
|
||||
G.Fire(aiming_at, owner, reflex = 1)
|
||||
|
||||
Reference in New Issue
Block a user