From 88394151d8b4aba3530bf551a1d8c7c962c4a32b Mon Sep 17 00:00:00 2001 From: Trilbyspaceclone <30435998+Trilbyspaceclone@users.noreply.github.com> Date: Tue, 12 May 2020 14:22:05 -0400 Subject: [PATCH] Update research.dm --- code/controllers/subsystem/research.dm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/code/controllers/subsystem/research.dm b/code/controllers/subsystem/research.dm index f158574763..d9dc45fece 100644 --- a/code/controllers/subsystem/research.dm +++ b/code/controllers/subsystem/research.dm @@ -306,7 +306,11 @@ SUBSYSTEM_DEF(research) for(var/A in subtypesof(/obj/item/seeds)) var/obj/item/seeds/S = A var/list/L = list() - L[TECHWEB_POINT_TYPE_GENERIC] = 50 + initial(S.rarity) * 2 + //First we get are yield and rarity and times it by two + //Then we subtract production and maturation, making it so faster growing plants are better for RnD + //Then we add in lifespan and potency, + //A basic seed can be worth 248 points if its the best it can be. + L[TECHWEB_POINT_TYPE_GENERIC] = 50 + initial(((S.rarity + S.yield) * 2) - S.maturation - S.production + S.lifespan + S.potency) techweb_point_items[S] = L return ..()