Money 0.2.0
Curse Maven Snippet
What's new
Cash can now be dirty - money that spends like any other but that no bank should see - for mods that want to make players launder it.
Added
- Dirty money. Cash can now carry a mark that it is dirty - money its holder could not explain to a bank. It looks and spends like any other money; only the tooltip says it. Dirty and clean notes do not stack together, a purse shows how much of what it holds is dirty, and dirtiness never gets lost on the way: paying spends the dirty money first, and change for a dirty note comes back dirty
- The ATM reports dirty deposits. Money itself does nothing about them - with no other mod listening, dirty cash banks like any other. A mod that has a rule for it hooks in there
- For other mods:
MoneyAPI.dirtyCash,isDirty,dirtyCashCarried,takeDirtyCash,seizeDirtyCashandaddDirtyDepositListenerwith the newDirtyDepositListener. Everything that existed keeps its shape
Notes
- Server and every player update together. 0.2.0 adds two item data types, so a 0.1.3 client cannot join a 0.2.0 server or the other way round
- Back up before updating, and do not go back. Existing worlds load unchanged, but a world opened with 0.2.0 and then with 0.1.3 again loses every dirty note and every purse holding dirty money
This mod has no additional files

