About this mod
70% cheaper Art and Electronics shop consumables for your crowded domes.
- Permissions and credits
Tired of bunch unemployed and good-for-nothing blue-shirts ransacking your shops in a consumerism frenzy,
and then complaining that you have no more resources to please them?
This mod addresses that in the most simple and generic way possible - makes that stuff cheaper (-70% by default).
Checked to be compatible with Gagarin / Space Race update 237,920, and probably later versions.
Installation
Put unpacked "cheaper-consumer-items" directory under:
%AppData%/Roaming/Surviving Mars/Mods/ (or something to that effect on Mac/Linux)
(Re-)start the game, and it should appear in "Mod Manager" menu.
Can be installed and enabled at any time, will affect any existing savegames.
Only adds modifiers, so should not conflict with any other mods.
Will still affect savegames where it was used even after disabling/removing it.
To remove modifiers that it have added, open Code/*.lua file and change this:
-- function OnMsg.LoadGame() remove_modifiers() end
function OnMsg.LoadGame() init_modifiers() end
...into this (replace "init" line with "remove" one):
function OnMsg.LoadGame() remove_modifiers() end
Then load/save game with the mod (will remove modifiers instead of adding them), then disable/remove the mod.
Tweaks
If 70% cheaper is a bit too much, look over Code/cheaper-consumer-items.lua
and adjust reduction_amount or reduction_percent values there (either one, don't use both) to your liking:
-- Default consumption_amount=200 - 0.2 polymers/electronics per visit
local reduction_amount = 0 -- use either this or reduction_percent, not both
-- Add/reduce by percent value - much simplier
local reduction_percent = -70
When changing these values, also uncomment remove_modifiers() line at the bottom,
so that existing modifiers in a savegame (if any) will be replaced by the updated ones:
function OnMsg.LoadGame() remove_modifiers() end
function OnMsg.LoadGame() init_modifiers() end