mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
IDs show your age if you're not old enough to drink in the US. (#3586)
* IDs show your age if you're not old enough to drink. * Update _vending.dm
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
if(Adjacent(user))
|
||||
var/minor
|
||||
if(registered_name && registered_age && registered_age < AGE_MINOR)
|
||||
minor = " <b>(MINOR)</b>"
|
||||
minor = " <b>[registered_age]</b>"
|
||||
user.visible_message("<span class='notice'>[user] shows you: [icon2html(src, viewers(user))] [src.name][minor].</span>", "<span class='notice'>You show \the [src.name][minor].</span>")
|
||||
add_fingerprint(user)
|
||||
|
||||
|
||||
@@ -849,7 +849,8 @@ GLOBAL_LIST_EMPTY(vending_products)
|
||||
say("You are not of legal age to purchase [R.name].")
|
||||
if(!(usr in GLOB.narcd_underages))
|
||||
Radio.set_frequency(FREQ_SECURITY)
|
||||
Radio.talk_into(src, "SECURITY ALERT: Underaged crewmember [usr] recorded attempting to purchase [R.name] in [get_area(src)]. Please watch for substance abuse.", FREQ_SECURITY)
|
||||
// SKYRAT EDIT: Original - Radio.talk_into(src, "SECURITY ALERT: Underaged crewmember [usr] recorded attempting to purchase [R.name] in [get_area(src)]. Please watch for substance abuse.", FREQ_SECURITY)
|
||||
Radio.talk_into(src, "SECURITY ALERT: [usr] has attempted to purchase [R.name] in [get_area(src)] whilst not of legal drinking age. Please watch for substance abuse.", FREQ_SECURITY) // SKYRAT EDIT: Just worded slightly differently.
|
||||
GLOB.narcd_underages += usr
|
||||
flick(icon_deny,src)
|
||||
vend_ready = TRUE
|
||||
|
||||
Reference in New Issue
Block a user