0 of 0

File information

Last updated

Original upload

Created by

aedenthorn and supergato664

Uploaded by

Supergato664

Virus scan

Safe to use

About this mod

This mod displays a customizable separator (default comma) for money and allows the game to store money beyond the vanilla limit, with this mod there is basically no limit to how much money you can own.

Requirements
Permissions and credits
Changelogs
This mod allows the game to store money beyond the vanilla limit of two billion (Int32.MaxValue).

With this mod there is basically* no limit to how much money you can own.

It also lets you customize and display a separator (default comma) every set number of digits (default 3).

* The amount is stored in a string, which can hold just over two-billion
digits, so that's the technical upper limit. A googol has 101 digits.
Your computer will run out of memory and / or you will be dead by the
time this limit is reached.


Notes

This mod doesn't fix the fact that things like prices still use Int32 and
have a maximum of ~2.1 billion. If for some reason you want to add or
subtract more than this in one go, you can use the SMAPI API.


SMAPI API

There are two methods in the API:

AddMoolah(Farmer f, BigInteger add);

and

GetTotalMoolah(Farmer f);

You don't need to pass a BigInteger to AddMoolah; any integer-type number will work, as long as it has less than ~2.1 billion digits.


Config

You can customize this mod by editing the config file or using Generic Mod Config Menu.


Technical

Requires SMAPI.

Implements a Generic Mod Config Menu interface to change config settings in-game.

Original code is at https://github.com/aedenthorn/StardewValleyMods.

Credits
All credits go to the original mod author, aedenthorn. I simply updated it to 1.6.