Merge pull request #37572 from deathride58/fixesdepression

Fixes the intergalactic stock market crash by removing the speculation/performance modifier
This commit is contained in:
Jordan Brown
2018-04-30 22:14:51 -04:00
committed by CitadelStationBot
parent 7205a15ef7
commit c869ad12bd
+1 -5
View File
@@ -139,11 +139,7 @@
speculation += rand(-400, 0) / 1000 * speculation
if (prob(1) && prob(5)) // pop that bubble
speculation += rand(-4000, 0) / 1000 * speculation
var/fucking_stock_spikes = current_value + 500
var/piece_of_shit_fuck = current_value - 500
var/i_hate_this_code = (speculation / rand(25000, 50000) + performance / rand(100, 800)) * current_value
if(i_hate_this_code < fucking_stock_spikes || i_hate_this_code > piece_of_shit_fuck)
current_value = i_hate_this_code
if (current_value < 5)
current_value = 5