mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 20:57:23 +01:00
[MIRROR] Adds Inflation (#12771)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
20544c74f7
commit
2aa49e224a
@@ -96,7 +96,7 @@
|
||||
subdata["addictive"] = TRUE
|
||||
subdata["industrial_use"] = R.industrial_use
|
||||
subdata["supply_points"] = R.supply_conversion_value ? R.supply_conversion_value : 0
|
||||
var/value = R.supply_conversion_value * REAGENTS_PER_SHEET * SSsupply.points_per_money
|
||||
var/value = R.supply_conversion_value * REAGENTS_PER_SHEET * SSsupply.money_per_points
|
||||
value = FLOOR(value * 100,1) / 100 // Truncate decimals
|
||||
subdata["market_price"] = value
|
||||
subdata["sintering"] = SSinternal_wiki.assemble_sintering(GLOB.reagent_sheets[R.id])
|
||||
|
||||
Reference in New Issue
Block a user