From adf2e444cbe54c0eab201370e79fb0fb3ab4cb37 Mon Sep 17 00:00:00 2001 From: Kaomiyo <142894314+Kaomiyo@users.noreply.github.com> Date: Sun, 27 Aug 2023 01:36:44 +1000 Subject: [PATCH] TC Discount fix (#22111) --- code/datums/uplink_items/uplink_general.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/uplink_items/uplink_general.dm b/code/datums/uplink_items/uplink_general.dm index 513e12fddb1..fcd89b37aa9 100644 --- a/code/datums/uplink_items/uplink_general.dm +++ b/code/datums/uplink_items/uplink_general.dm @@ -40,8 +40,8 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item)) A.limited_stock = 1 I.refundable = FALSE A.refundable = FALSE - if(A.cost >= 20) - discount *= 0.5 // If the item costs 20TC or more, it's only 25% off. + if(A.cost >= 100) + discount *= 0.5 // If the item costs 100TC or more, it's only 25% off. A.cost = max(round(A.cost * (1-discount)),1) A.category = "Discounted Gear" A.name += " ([round(((initial(A.cost)-A.cost)/initial(A.cost))*100)]% off!)"