A downloadable mod

Download NowName your own price

So... I love configuring things and my sims amass way too many satisfaction points. This mod lets you change the cost of every trait available in the reward store, including modded content! This has been created and tested for the v1.70.84 (Jan 21 / scared emotion) patch, with my apologies for the non-catchy name.

How to use:
When you first run the game with this mod, a file called "riv_reward_trait_cost.cfg" will be created in the same folder as the .ts4script, if it doesn't already exist.

You can configure all reward trait costs with two variables - the multiplier m and the addend a. To get the new cost, the game will take the original cost, multiply it by m, round up, and then add a:

new_cost = ceil(m * cost) + a

m and a can be changed by editing the .cfg file directly (the easiest way, since you don't need to bother coming back here for commands!) or using cheat commands:

riv_reward_trait_cost_multiplier m
sets the multiplier m (note: must be at least 0 - if you enter a negative value, the sign will be flipped. it doesn't need to be an integer though, as costs are rounded up! the cover pic has m = 0.19864236)
riv_reward_trait_cost_addend a
sets the addend a (note: must be an integer, can be negative)
riv_reward_trait_cost_set m a
sets the multiplier m and the addend a
riv_reward_trait_cost_config
sets the multiplier m and the addend a to the values in the .cfg file (only needed if you update the .cfg file while you're playing, which is safe to do)

Examples:

  • Default: m=1, a=0
  • Double: m=2, a=0
  • Half: m=0.5, a=0
  • Free: m=0, a=0
  • Everything costs 1000 more: m=1, a=1000

Please note that negative points cause problems - it won't crash, but the rewards store will be blank. When you update your settings, the mod will let you know if this will happen by calculating the minimum original cost that will work (if nothing shows up, then the minimum cost is 0, so everything is fine). For example, if you set m=1 and a=-500, then the mod will let you know that any rewards costing 499 or less will break it.

Conflicts (unlikely):

As this mod replaces some code, it will conflict with any mod that replaces the following two functions:

  • whims.whims_tracker.WhimsTracker.purchase_whim_award (runs when you try to purchase a reward trait; edited to ensure that the cost checked and the subtracted points reflect the new cost)
  • whims.whims_tracker.WhimsTracker.send_satisfaction_reward_list (runs when you open the reward store; edited to ensure that the new cost displays)

Mods changing the cost of rewards using tuning only (i.e. there's only a .package file) or adding reward traits will be fine, as they just make new traits or replace original costs to give to these functions, instead of changing the functions themselves.

The screenshots shown have m=0, a=0; m=0, a=1000; m=2, a=-1000; and m=1000, a=0.

Other links:

I very highly recommend Frimlin's Expanded Rewards Store - part of the reason I made this is because I rely so much on these traits and I wanted them to be more costly!

June Hanabi's tutorial on replacing class code was a huge help!

Download

Download NowName your own price

Click download now to get access to the following files:

riv_reward_trait_cost_config.ts4script 3 kB
riv_reward_trait_cost.cfg 93 bytes

Comments

Log in with itch.io to leave a comment.

Hi, 

I'm wondering if this still works. I tried using it but the game keeps on saying that it's not a valid pick result and not a valid response. Whatever I enter, it says that after I close the unchanged reward store.