Riv’s reward store config Mod

Riv’s reward store config Mod

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, it’ll read settings from “riv_reward_trait_cost.cfg”, or if this file doesn’t exist then it will be created in the same folder as the .ts4script. I’ve included a .cfg file with default settings in the main .zip, so you can change the settings in it if you want to sort it out before loading up the game!

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:

Code:
new_cost = ceil(m * cost) + a

m and a can be changed by editing the .cfg file directly before loading up the game (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.

Credits:
rivforthesesh

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

What is Sims mod use for:

Have you already used Sims 4 Mods? All the expert players around the world are in awe when they see the options. All you have to do is to select the file of your choice and add it to your game, it's really as simple as that. This gives you previously unseen features and makes it possible for you to manage your workload in a much more efficient way. There plenty of different Sims 4 mods that you can choose from, so take your time and test the step by step - there is no hurry, you can explore the possibilities at your own pace. It is definitely worth taking the opposrtunity because this can totally transform your gaming experience, trust us. Every Sims 4 mod you find in our database is of top quality and complies with the strictest requirements. This is because we want to make sure that our visitors are choosing only from the most exclusive and useful files that are on offer. We are very proud to be able to offer our visitors limitless access to a wide range of additional files, because a wide range of benefits come with this possibility. This substantial surplus is key to being competitive. If you are an ambitious player and want to succeed no matter what, you absolutely must try at least one of our files.





Trending Mods mods

Leave a Reply

Do you need help or to say thanks for mod author? Just leave a comment bellow!