From 2558789015dba10e1db28c01e9a57832c2cb5a04 Mon Sep 17 00:00:00 2001 From: Putnam3145 Date: Fri, 26 Nov 2021 20:18:47 -0800 Subject: [PATCH] Adjusted bomb numbers --- code/__DEFINES/research.dm | 4 ++-- code/game/machinery/doppler_array.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/__DEFINES/research.dm b/code/__DEFINES/research.dm index bc78e1e36c..751b498eb4 100644 --- a/code/__DEFINES/research.dm +++ b/code/__DEFINES/research.dm @@ -73,5 +73,5 @@ TECHWEB_POINT_TYPE_GENERIC = "General Research"\ ) -#define TECHWEB_BOMB_POINTCAP 50000 //Adjust as needed; Stops toxins from nullifying RND progression mechanics. Current Value Cap Radius: 100 -#define TECHWEB_BOMB_SIZE 160 // The shockwave radius required for a bomb to get TECHWEB_BOMB_POINTCAP points. +#define TECHWEB_BOMB_MIDPOINT 50000 //Adjust as needed. Actual hard cap is double this, but will never be reached due to hyperbolic curve. +#define TECHWEB_BOMB_SIZE 200 // The shockwave radius required for a bomb to get TECHWEB_BOMB_MIDPOINT points. diff --git a/code/game/machinery/doppler_array.dm b/code/game/machinery/doppler_array.dm index fd548d9e56..05d278e98c 100644 --- a/code/game/machinery/doppler_array.dm +++ b/code/game/machinery/doppler_array.dm @@ -198,7 +198,7 @@ GLOBAL_LIST_EMPTY(doppler_arrays) say("Explosion not large enough for research calculations.") return else - point_gain = (TECHWEB_BOMB_POINTCAP * 2 * orig_light) / (orig_light + TECHWEB_BOMB_SIZE) + point_gain = (TECHWEB_BOMB_MIDPOINT * 2 * orig_light) / (orig_light + TECHWEB_BOMB_SIZE) /*****The Point Capper*****/ if(point_gain > linked_techweb.largest_bomb_value)