mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 16:14:08 +01:00
Stops erroneous manifest prices decreasing exponentially to negative infinity (#70165)
Fixes #69020 by applying k_elasticity = 0 to the negative priced items
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user