mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Few Fixes
Made destination tagger window bigger. Added user checks.
This commit is contained in:
@@ -284,7 +284,7 @@
|
||||
id = C.id
|
||||
|
||||
/obj/item/conveyor_construct/afterattack(atom/A, mob/user, proximity)
|
||||
if(!proximity || user.stat || !istype(A, /turf/simulated/floor) || istype(A, /area/shuttle))
|
||||
if(!proximity || !istype(A, /turf/simulated/floor) || istype(A, /area/shuttle) || user.incapacitated())
|
||||
return
|
||||
var/cdir = get_dir(A, user)
|
||||
if(!(cdir in cardinal) || A == user.loc)
|
||||
@@ -312,7 +312,7 @@
|
||||
id = rand() //this couldn't possibly go wrong
|
||||
|
||||
/obj/item/conveyor_switch_construct/afterattack(atom/A, mob/user, proximity)
|
||||
if(!proximity || user.stat || !istype(A, /turf/simulated/floor) || istype(A, /area/shuttle))
|
||||
if(!proximity || !istype(A, /turf/simulated/floor) || istype(A, /area/shuttle) || user.incapacitated())
|
||||
return
|
||||
var/found = 0
|
||||
for(var/obj/machinery/conveyor/C in view())
|
||||
|
||||
@@ -343,7 +343,7 @@
|
||||
|
||||
dat += "</tr></table><br>Current Selection: [currTag ? currTag : "None"]</tt>"
|
||||
dat += "<br><a href='?src=\ref[src];nextTag=CUSTOM'>Enter custom location.</a>"
|
||||
user << browse(dat, "window=destTagScreen;size=450x365")
|
||||
user << browse(dat, "window=destTagScreen;size=450x375")
|
||||
onclose(user, "destTagScreen")
|
||||
|
||||
/obj/item/device/destTagger/attack_self(mob/user as mob)
|
||||
|
||||
Reference in New Issue
Block a user