From cdd983f48b831be852290aa7c12e0698abc2cf8b Mon Sep 17 00:00:00 2001 From: EgorDinamit Date: Fri, 1 Dec 2023 19:32:51 +0300 Subject: [PATCH] Tweaks to upgrades --- code/datums/facility_upgrade.dm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/datums/facility_upgrade.dm b/code/datums/facility_upgrade.dm index 380d5bf04002..064b8379b166 100644 --- a/code/datums/facility_upgrade.dm +++ b/code/datums/facility_upgrade.dm @@ -153,10 +153,10 @@ category = "Agent" value = 0 max_value = 30 + var/value_increase = 5 /datum/facility_upgrade/agent_spawn_stats_bonus/Upgrade() - var/increase = max_value * 0.25 - value = min(max_value, value + increase) + value = min(max_value, value + value_increase) // Applies newly purchased bonus to all living agents for(var/mob/living/carbon/human/H in AllLivingAgents()) H.adjust_all_attribute_levels(increase) @@ -169,13 +169,12 @@ name = UPGRADE_ABNO_QUEUE_COUNT category = "Abnormalities" value = 2 - max_value = 10 // Comedy + max_value = 4 /datum/facility_upgrade/picking_abno_amount/Upgrade() value = min(max_value, value + 1) . = ..() - if(value >= max_value * 0.5) // Going well above 5 will start increasing cost, you meme-lord - cost += 1 + cost += 1 /datum/facility_upgrade/abno_melt_time name = UPGRADE_ABNO_MELT_TIME