Mechanics wiki / Survive the Storm / Test mode

Test mode

One switch in the mod turns on every convenience needed to test it quickly, then turns them all off again for normal play. It is a development aid only and is off in every shipped build.

What the switch changes

While test mode is onNormal playTest mode
Earth import cost and weightAs rebalancedA tenth of both
Food import from EarthBannedAllowed
Old Food from EarthNot orderableOrderable
Food spoilage beginsSol 15Sol 1

Legend

Sources

Survive the Storm mod. The flag is StS_TEST_MODE in mod-survive/Code/StS_Common.lua; set it to false to ship. Each row is driven by one file: the tenth-price/weight scaler mod-survive/Code/StS_TestResupply.lua, the import ban mod-survive/Code/StS_NoFoodImport.lua, the Old Food import mod-survive/Code/StS_OldFood.lua, and the spoilage start mod-survive/Code/StS_FoodSpoilage.lua.
Every resupply item's price and weight is its CargoPreset[id].price / .kg, from which every reader recomputes (external/SurvivingMars/Lua/ResupplyItems.lua:19-72), so the scaler edits those two fields on every Cargo preset.