mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -18,17 +18,14 @@
|
||||
opened = !opened
|
||||
if(opened)
|
||||
to_chat(usr, "\blue The access panel is now open.")
|
||||
|
||||
else
|
||||
to_chat(usr, "\blue The access panel is now closed.")
|
||||
|
||||
return
|
||||
|
||||
|
||||
attackby(obj/item/weapon/aiModule/module as obj, mob/user as mob, params)
|
||||
if (user.z > 6)
|
||||
to_chat(user, "\red <b>Unable to establish a connection</b>: \black You're too far away from the station!")
|
||||
|
||||
return
|
||||
if(istype(module, /obj/item/weapon/aiModule))
|
||||
module.install(src)
|
||||
@@ -39,21 +36,17 @@
|
||||
attack_hand(var/mob/user as mob)
|
||||
if(src.stat & NOPOWER)
|
||||
to_chat(usr, "The upload computer has no power!")
|
||||
|
||||
return
|
||||
if(src.stat & BROKEN)
|
||||
to_chat(usr, "The upload computer is broken!")
|
||||
|
||||
return
|
||||
|
||||
src.current = select_active_ai(user)
|
||||
|
||||
if (!src.current)
|
||||
to_chat(usr, "No active AIs detected.")
|
||||
|
||||
else
|
||||
to_chat(usr, "[src.current.name] selected for law changes.")
|
||||
|
||||
return
|
||||
|
||||
|
||||
@@ -75,19 +68,15 @@
|
||||
attack_hand(var/mob/user as mob)
|
||||
if(src.stat & NOPOWER)
|
||||
to_chat(usr, "The upload computer has no power!")
|
||||
|
||||
return
|
||||
if(src.stat & BROKEN)
|
||||
to_chat(usr, "The upload computer is broken!")
|
||||
|
||||
return
|
||||
|
||||
src.current = freeborg()
|
||||
|
||||
if (!src.current)
|
||||
to_chat(usr, "No free cyborgs detected.")
|
||||
|
||||
else
|
||||
to_chat(usr, "[src.current.name] selected for law changes.")
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user