GPS to tgui (#19263)

* GPS to tgui

* dead code

* lol

* default should always work
This commit is contained in:
Kashargul
2026-03-09 00:36:28 +01:00
committed by GitHub
parent b63ebfc772
commit 63f3e35744
16 changed files with 365 additions and 385 deletions
@@ -36,6 +36,11 @@
src.modules += new /obj/item/dogborg/sleeper/lost(src)
src.modules += new /obj/item/dogborg/pounce(src)
/obj/item/robot_module/robot/lost/adjust_gps(obj/item/gps/robot/robot_gps)
robot_gps.long_range = TRUE
robot_gps.hide_signal = TRUE
robot_gps.can_hide_signal = TRUE
/obj/item/robot_module/robot/gravekeeper
name = "gravekeeper robot module"
hide_on_manifest = TRUE
@@ -174,7 +174,9 @@
// Cyborgs (non-drones), default loadout. This will be given to every module.
/obj/item/robot_module/robot/create_equipment(var/mob/living/silicon/robot/robot)
..()
src.modules += new /obj/item/gps/robot(src)
var/obj/item/gps/robot/robot_gps = new /obj/item/gps/robot(src)
adjust_gps(robot_gps)
src.modules += robot_gps
src.modules += new /obj/item/boop_module(src)
src.modules += new /obj/item/robot_tongue(src)
src.modules += new /obj/item/flash/robot(src)
@@ -184,6 +186,9 @@
src.modules += new /obj/item/gripper/scene(src)
src.modules += new /obj/item/robo_dice(src)
/obj/item/robot_module/robot/proc/adjust_gps(obj/item/gps/robot/robot_gps)
return
/obj/item/robot_module/robot/standard
name = "standard robot module"
pto_type = PTO_CIVILIAN
@@ -38,6 +38,11 @@
id.forceMove(src)
src.modules += id
/obj/item/robot_module/robot/syndicate/adjust_gps(obj/item/gps/robot/robot_gps)
robot_gps.long_range = TRUE
robot_gps.hide_signal = TRUE
robot_gps.can_hide_signal = TRUE
/obj/item/robot_module/robot/syndicate/Destroy()
src.modules -= id
id = null
@@ -65,11 +65,13 @@
has_eye_light_sprites = TRUE
/datum/robot_sprite/dogborg/tall/command
sprite_hud_icon_state = "clerical"
module_type = "Command"
sprite_icon = 'icons/mob/robot/tallrobot/tallrobots.dmi'
pixel_x = 0
/datum/robot_sprite/dogborg/raptor/command
sprite_hud_icon_state = "clerical"
module_type = "Command"
sprite_icon = 'icons/mob/robot/raptor.dmi'