mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
[MIRROR] Refactors most spans into span procs (#6315)
* Refactors most spans into span procs * AA * a * AAAAAAAAAAAAAAAAAAAAAA * Update species.dm Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
@@ -91,12 +91,12 @@
|
||||
switch (action)
|
||||
if ("toggleLock")
|
||||
if(computer.obj_flags & EMAGGED)
|
||||
to_chat(usr, "<span class='boldwarning'>Security protocol error: Unable to access locking protocols.</span>")
|
||||
to_chat(usr, span_boldwarning("Security protocol error: Unable to access locking protocols."))
|
||||
return TRUE
|
||||
if(ACCESS_RND in user_id_card?.access)
|
||||
locked = !locked
|
||||
else
|
||||
to_chat(usr, "<span class='boldwarning'>Unauthorized Access. Please insert research ID card.</span>")
|
||||
to_chat(usr, span_boldwarning("Unauthorized Access. Please insert research ID card."))
|
||||
return TRUE
|
||||
if ("researchNode")
|
||||
if(!SSresearch.science_tech.available_nodes[params["node_id"]])
|
||||
|
||||
Reference in New Issue
Block a user