Added a mode to set the target the perma teleporter's circuitboard

The description of the perma teleporter states that it run off of preset coordinates from its circuiboard, except there is no method to upload these coordinates. A simple solution of setting a GPS's coords then uploading them to the circuit board.
This commit is contained in:
Jazz23
2018-10-30 15:41:18 -07:00
parent 35bed9de2f
commit 609f98609e
@@ -730,6 +730,13 @@ obj/item/circuitboard/rdserver
/obj/item/stock_parts/matter_bin = 1)
var/target
/obj/item/circuitboard/teleporter_perma/attackby(obj/item/I, mob/living/user, params)
if(istype(I, /obj/item/gps))
var/obj/item/gps/L = I
if(L.locked_location)
target = get_turf(L.locked_location)
to_chat(user, "<span class='caution'>You upload the data from [L]</span>")
/obj/item/circuitboard/telesci_pad
name = "Circuit board (Telepad)"
build_path = /obj/machinery/telepad