mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Messages admins when non antagonists purchase items from an uplink (#14877)
* Messages admins when non antagonists purchase items from an uplink * Better logging, now with flw * Update code/datums/uplink_item.dm Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Co-authored-by: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
This commit is contained in:
co-authored by
AffectedArc07
parent
3bb8270a5d
commit
e6cd30ecb7
@@ -127,8 +127,12 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
var/mob/living/carbon/human/A = user
|
||||
if(limited_stock > 0)
|
||||
log_game("[key_name(user)] purchased [name]. [name] was discounted to [cost].")
|
||||
if(!user.mind.special_role)
|
||||
message_admins("[key_name_admin(user)] purchased [name] (discounted to [cost]), as a non antagonist.")
|
||||
else
|
||||
log_game("[key_name(user)] purchased [name].")
|
||||
if(!user.mind.special_role)
|
||||
message_admins("[key_name_admin(user)] purchased [name], as a non antagonist.")
|
||||
A.put_in_any_hand_if_possible(I)
|
||||
|
||||
if(istype(I,/obj/item/storage/box/) && I.contents.len>0)
|
||||
|
||||
Reference in New Issue
Block a user