mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Blackbox tally for successful emags (#84837)
## About The Pull Request We don't actually record emags outside of the log which makes it hard to parse, this should give us a better image of what people are using emags for.
This commit is contained in:
@@ -144,7 +144,8 @@
|
||||
if(!can_emag(interacting_with, user))
|
||||
return ITEM_INTERACT_BLOCKING
|
||||
log_combat(user, interacting_with, "attempted to emag")
|
||||
interacting_with.emag_act(user, src)
|
||||
if(interacting_with.emag_act(user, src))
|
||||
SSblackbox.record_feedback("tally", "atom_emagged", 1, interacting_with.type)
|
||||
return ITEM_INTERACT_SUCCESS
|
||||
|
||||
/obj/item/card/emag/ranged_interact_with_atom(atom/interacting_with, mob/living/user, list/modifiers)
|
||||
|
||||
Reference in New Issue
Block a user