From 0c8d8ffaa82c15548c8069006a20d67ddd4b618a Mon Sep 17 00:00:00 2001 From: datlo Date: Wed, 12 Dec 2018 22:51:38 +0000 Subject: [PATCH] fixes readded toxins tech requirement to BRPD design, i thought it was the item itself derp fixed a bug where BRPD wouldn't make a beam if you clicked pipes directly added a period for consistency --- code/game/machinery/doppler_array.dm | 2 +- code/game/objects/items/weapons/rpd.dm | 2 +- code/modules/research/designs/bluespace_designs.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/doppler_array.dm b/code/game/machinery/doppler_array.dm index 1eb7df1e6d4..5a491466b50 100644 --- a/code/game/machinery/doppler_array.dm +++ b/code/game/machinery/doppler_array.dm @@ -156,7 +156,7 @@ var/list/doppler_arrays = list() if(!miss_by) messages += "Explosion size matches target." else - messages += "Target ([explosion_target]) missed by : [miss_by]" + messages += "Target ([explosion_target]) missed by : [miss_by]." if(tmp_tech > toxins_tech) toxins_tech.level = tmp_tech messages += "Toxins technology level upgraded to [toxins_tech.level]. Swipe a technology disk to save data." diff --git a/code/game/objects/items/weapons/rpd.dm b/code/game/objects/items/weapons/rpd.dm index be89b0db428..63a3ffef0c5 100644 --- a/code/game/objects/items/weapons/rpd.dm +++ b/code/game/objects/items/weapons/rpd.dm @@ -218,7 +218,7 @@ var/list/pipemenu = list( // If the object we are clicking on has a valid RPD interaction for just that specific object, do that and nothing else. // Example: clicking on a pipe with a RPD in rotate mode should rotate that pipe and ignore everything else on the tile. if(ranged) - user.Beam(target, icon_state="rped_upgrade", icon='icons/effects/effects.dmi', time=5) + user.Beam(T, icon_state="rped_upgrade", icon='icons/effects/effects.dmi', time=5) return // If we get this far, we have to check every object in the tile, to make sure that none of them block RPD usage on this tile. diff --git a/code/modules/research/designs/bluespace_designs.dm b/code/modules/research/designs/bluespace_designs.dm index d30d3082215..9a44b10d40c 100644 --- a/code/modules/research/designs/bluespace_designs.dm +++ b/code/modules/research/designs/bluespace_designs.dm @@ -84,7 +84,7 @@ /datum/design/rpd name = "Bluespace Rapid Pipe Dispenser (BRPD)" desc = "Similar to the Rapid Pipe Dispenser, lets you rapidly dispense pipes. Now at long range!" - req_tech = list("bluespace" = 3) + req_tech = list("bluespace" = 3, "toxins" = 6) id = "brpd" build_type = PROTOLATHE materials = list(MAT_METAL = 75000, MAT_GLASS = 37500, MAT_SILVER = 3000)