mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
23 lines
594 B
Plaintext
23 lines
594 B
Plaintext
/obj/machinery/merchant_pad
|
|
name = "Teleportation Pad"
|
|
desc = "Place things here to trade."
|
|
icon = 'icons/obj/stationobjs.dmi'
|
|
icon_state = "tele0"
|
|
anchored = 1
|
|
density = 0
|
|
|
|
/obj/machinery/merchant_pad/proc/get_target()
|
|
var/turf/T = get_turf(src)
|
|
for(var/a in T)
|
|
if(a == src || (!istype(a,/obj) && !istype(a,/mob/living)) || istype(a,/obj/effect))
|
|
continue
|
|
return a
|
|
|
|
/obj/machinery/merchant_pad/proc/get_targets()
|
|
. = list()
|
|
var/turf/T = get_turf(src)
|
|
for(var/a in T)
|
|
if(a == src || (!istype(a,/obj) && !istype(a,/mob/living)) || istype(a,/obj/effect))
|
|
continue
|
|
. += a
|