From 36498c5e78de4da0e8dd1257ab061cf1cc3e25d0 Mon Sep 17 00:00:00 2001 From: RandomGamer123 <31096837+RandomGamer123@users.noreply.github.com> Date: Thu, 29 Sep 2022 17:48:28 -0400 Subject: [PATCH] Stops erroneous manifest prices decreasing exponentially to negative infinity (#70165) Fixes #69020 by applying k_elasticity = 0 to the negative priced items --- code/modules/cargo/exports/manifest.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/cargo/exports/manifest.dm b/code/modules/cargo/exports/manifest.dm index f08dd1745e3..1f975ddc439 100644 --- a/code/modules/cargo/exports/manifest.dm +++ b/code/modules/cargo/exports/manifest.dm @@ -41,6 +41,7 @@ // Substracts the package cost. /datum/export/manifest_error unit_name = "erroneously approved manifest" + k_elasticity = 0 export_types = list(/obj/item/paper/fluff/jobs/cargo/manifest) allow_negative_cost = TRUE @@ -62,6 +63,7 @@ // Substracts the package cost minus the cost of crate. /datum/export/manifest_correct_denied cost = -CARGO_CRATE_VALUE + k_elasticity = 0 unit_name = "erroneously denied manifest" export_types = list(/obj/item/paper/fluff/jobs/cargo/manifest) allow_negative_cost = TRUE