mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] usr to user part two (#10015)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
538c8e7187
commit
a245b8687f
@@ -148,12 +148,12 @@
|
||||
vorestation edit end */
|
||||
|
||||
|
||||
/obj/structure/closet/crate/secure/loot/togglelock(mob/user as mob)
|
||||
/obj/structure/closet/crate/secure/loot/togglelock(mob/user)
|
||||
if(!locked)
|
||||
return
|
||||
|
||||
to_chat(user, span_notice("The crate is locked with a Deca-code lock."))
|
||||
var/input = tgui_input_text(usr, "Enter [codelen] digits. All digits must be unique.", "Deca-Code Lock", "")
|
||||
var/input = tgui_input_text(user, "Enter [codelen] digits. All digits must be unique.", "Deca-Code Lock", "")
|
||||
if(!Adjacent(user))
|
||||
return
|
||||
var/list/sanitised = list()
|
||||
|
||||
@@ -29,7 +29,7 @@ var/global/list/total_extraction_beacons = list()
|
||||
else
|
||||
var/A
|
||||
|
||||
A = tgui_input_list(usr, "Select a beacon to connect to", "Balloon Extraction Pack", possible_beacons)
|
||||
A = tgui_input_list(user, "Select a beacon to connect to", "Balloon Extraction Pack", possible_beacons)
|
||||
|
||||
if(!A)
|
||||
return
|
||||
|
||||
@@ -43,7 +43,7 @@ GLOBAL_LIST_EMPTY(unique_deployable)
|
||||
. += "This capsule has an unknown template stored."
|
||||
|
||||
// CHOMPEdit Start
|
||||
/obj/item/survivalcapsule/attack_self(mob/user as mob)
|
||||
/obj/item/survivalcapsule/attack_self(mob/user)
|
||||
//Can't grab when capsule is New() because templates aren't loaded then
|
||||
if(istype(get_area(user), /area/vr))
|
||||
to_chat(user, span_danger("\The [src] does not appear to work in VR! This is useless to you!"))
|
||||
@@ -95,7 +95,7 @@ GLOBAL_LIST_EMPTY(unique_deployable)
|
||||
|
||||
playsound(src, 'sound/effects/phasein.ogg', 100, 1)
|
||||
|
||||
log_and_message_admins("activated a bluespace capsule at [get_area(T)]!", usr)
|
||||
log_and_message_admins("activated a bluespace capsule at [get_area(T)]!", user)
|
||||
if(above_location)
|
||||
template.add_roof(above_location)
|
||||
template.annihilate_plants(deploy_location)
|
||||
|
||||
Reference in New Issue
Block a user