mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Adds a small delay to the artifact_harvester
This commit is contained in:
@@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
/obj/machinery/artifact_harvester/New()
|
/obj/machinery/artifact_harvester/New()
|
||||||
..()
|
..()
|
||||||
//connect to a nearby scanner pad
|
spawn(50) //Delay so the scan pad has time to actually spawn in
|
||||||
owned_scanner = locate(/obj/machinery/artifact_scanpad) in get_step(src, dir)
|
owned_scanner = locate(/obj/machinery/artifact_scanpad) in get_step(src, dir) //connect to a nearby scanner pad
|
||||||
if(!owned_scanner)
|
if(!owned_scanner)
|
||||||
owned_scanner = locate(/obj/machinery/artifact_scanpad) in orange(1, src)
|
owned_scanner = locate(/obj/machinery/artifact_scanpad) in orange(1, src)
|
||||||
|
|
||||||
/obj/machinery/artifact_harvester/attackby(var/obj/I as obj, var/mob/user as mob)
|
/obj/machinery/artifact_harvester/attackby(var/obj/I as obj, var/mob/user as mob)
|
||||||
if(istype(I,/obj/item/weapon/anobattery))
|
if(istype(I,/obj/item/weapon/anobattery))
|
||||||
|
|||||||
Reference in New Issue
Block a user