ISO variable that shows the players gold on hand for bank menu

正在查看此主题的用户

Ailan

Veteran
I'm looking for the variable that calls the player gold, I know it must be simple and I'm overlooking it.  I'm trying to show the players gold on hand in the bank menu to make it easier to know how much you have.
 
You can use this in single player:

(store_troop_gold,reg1,"trp_player"),

That'll store the player's gold in register one. If you want to display it in a string you can put {reg1} somewhere and it'll display as the gold amount.

You can find all the possible operations in "header_operations.py"

Hope that helps.
 
后退
顶部 底部