mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user