Limit Player's Wallet Size?

Status
Not open for further replies.

JtheDuelist

Your Friendly Nieghborhood Stygian Zinogre
Veteran
Joined
Dec 9, 2017
Messages
1,186
Reaction score
1,440
First Language
English
Primarily Uses
Other
Is there a way to limit the size of the player's wallet?
Basically, I want the player's max wallet size to be much lower than the standard, but every method I try doesn't seem to work for me. I want the player to be able to upgrade the wallet size as well...

EDIT: I found a Yanfly script that limited the gold successfully.
 
Last edited:

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,087
Reaction score
2,679
First Language
Greek
Primarily Uses
RMMZ
Can you add a link to the script?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,801
Reaction score
6,779
First Language
Indonesian
Primarily Uses
RMVXA
Code:
class Game_Party
  def max_gold
    return 99999999
  end
end
Adjust as u see fit, like
Code:
class Game_Party
  def max_gold
    return $game_variables[n]
  end
end
No need Yanfly's
 
  • Like
Reactions: Kes

_Shadow_

Tech Magician Level:
Moderator
Joined
Mar 2, 2014
Messages
4,087
Reaction score
2,679
First Language
Greek
Primarily Uses
RMMZ

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I went to sleep at 3 am because of my anxiety. Set up my alarm for 7 am so that I could have sasagues for breakfast and do morning routine before lessons starts at 8 am. I knew I wouldn't be able to sleep even after my lessons finished because I have to visit my grandparents today I was sad bc I was really tired. Thats when I realised. My lesson starts at 9 am. I could get one extra hour of sleep if I didnt forget it
Found another copied song in MV's OST

Forum statistics

Threads
107,556
Messages
1,030,524
Members
139,672
Latest member
WDRS
Top