Stardew Valley
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

Tags for this mod

About this mod

Removes the 2 billion max money limit and adds a comma separator to the money display.

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

The new limit is 9,223,372,036,854,775,807 (Int64.MaxValue)

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

It also lets you 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.

Compatible with Mod Updater for automatic updates.

Code is at https://github.com/aedenthorn/StardewValleyMods.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.

A list of all my mods for Stardew Valley is available at https://www.nexusmods.com/stardewvalley/articles/895.