From af68012d7ddc3ad2166907e9cc11b8a01d5de440 Mon Sep 17 00:00:00 2001 From: deathride58 Date: Fri, 16 Nov 2018 17:46:13 -0500 Subject: [PATCH] makes teleporters viable - increases the range of all launchpads across the board (#7729) --- code/game/machinery/launch_pad.dm | 9 ++++----- code/modules/uplink/uplink_items.dm | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/code/game/machinery/launch_pad.dm b/code/game/machinery/launch_pad.dm index 6b39c1b58f..4016c32162 100644 --- a/code/game/machinery/launch_pad.dm +++ b/code/game/machinery/launch_pad.dm @@ -18,11 +18,10 @@ var/y_offset = 0 /obj/machinery/launchpad/RefreshParts() - var/E = -1 //to make default parts have the base value + var/E = 0 for(var/obj/item/stock_parts/manipulator/M in component_parts) - E += M.rating - range = initial(range) - range += E + E += M.rating*15 + range = E /obj/machinery/launchpad/attackby(obj/item/I, mob/user, params) if(stationary) @@ -148,7 +147,7 @@ idle_power_usage = 0 active_power_usage = 0 teleport_speed = 20 - range = 8 + range = 20 stationary = FALSE var/closed = TRUE var/obj/item/storage/briefcase/launchpad/briefcase diff --git a/code/modules/uplink/uplink_items.dm b/code/modules/uplink/uplink_items.dm index 3fd007c94c..32eaf0cde9 100644 --- a/code/modules/uplink/uplink_items.dm +++ b/code/modules/uplink/uplink_items.dm @@ -1053,7 +1053,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) /datum/uplink_item/device_tools/briefcase_launchpad name = "Briefcase Launchpad" - desc = "A briefcase containing a launchpad, a device able to teleport items and people to and from targets up to eight tiles away from the briefcase. \ + desc = "A briefcase containing a launchpad, a device able to teleport items and people to and from targets up to twenty tiles away from the briefcase. \ Also includes a remote control, disguised as an ordinary folder. Touch the briefcase with the remote to link it." surplus = 0 item = /obj/item/storage/briefcase/launchpad