mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-09 08:51:57 +00:00
Fixes #7162. Eject ID verb for laptops is still busted though.
This commit is contained in:
@@ -192,9 +192,12 @@
|
||||
if(reader)
|
||||
reader.loc = loc
|
||||
if(istype(L) && !L.get_active_hand())
|
||||
L.put_in_hands(reader)
|
||||
if(istype(L,/mob/living/carbon/human))
|
||||
L.put_in_hands(reader)
|
||||
else
|
||||
reader.loc = get_turf(computer)
|
||||
else
|
||||
reader.loc = computer.loc
|
||||
reader.loc = get_turf(computer)
|
||||
reader = null
|
||||
return 1
|
||||
return 0
|
||||
@@ -203,16 +206,16 @@
|
||||
if(writer && dualslot)
|
||||
writer.loc = loc
|
||||
if(istype(L) && !L.get_active_hand())
|
||||
L.put_in_hands(writer)
|
||||
if(istype(L,/mob/living/carbon/human))
|
||||
L.put_in_hands(writer)
|
||||
else
|
||||
writer.loc = get_turf(computer)
|
||||
else
|
||||
writer.loc = computer.loc
|
||||
writer.loc = get_turf(computer)
|
||||
writer = null
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
|
||||
// Authorizes the user based on the computer's requirements
|
||||
proc/authenticate()
|
||||
return computer.check_access(reader)
|
||||
|
||||
@@ -40,13 +40,13 @@
|
||||
if(scan)
|
||||
usr << "You remove \the [scan] from \the [src]."
|
||||
scan.loc = get_turf(src)
|
||||
if(!usr.get_active_hand())
|
||||
if(!usr.get_active_hand() && istype(usr,/mob/living/carbon/human))
|
||||
usr.put_in_hands(scan)
|
||||
scan = null
|
||||
else if(modify)
|
||||
usr << "You remove \the [modify] from \the [src]."
|
||||
modify.loc = get_turf(src)
|
||||
if(!usr.get_active_hand())
|
||||
if(!usr.get_active_hand() && istype(usr,/mob/living/carbon/human))
|
||||
usr.put_in_hands(modify)
|
||||
modify = null
|
||||
else
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
if(scan)
|
||||
usr << "You remove \the [scan] from \the [src]."
|
||||
scan.loc = get_turf(src)
|
||||
if(!usr.get_active_hand())
|
||||
if(!usr.get_active_hand() && istype(usr,/mob/living/carbon/human))
|
||||
usr.put_in_hands(scan)
|
||||
scan = null
|
||||
else
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
if(scan)
|
||||
usr << "You remove \the [scan] from \the [src]."
|
||||
scan.loc = get_turf(src)
|
||||
if(!usr.get_active_hand())
|
||||
if(!usr.get_active_hand() && istype(usr,/mob/living/carbon/human))
|
||||
usr.put_in_hands(scan)
|
||||
scan = null
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user