Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if true # << Make true to use this script, false to disable.
- #===============================================================================
- #
- # ☆ $D13x - Simple Gold Multiplier
- # -- Author : Dekita
- # -- Version : 1.0
- #
- #===============================================================================
- # Notes:
- #===============================================================================
- # FREE to use for both commercial and non commercial.
- # Credit should always be given.
- #
- #===============================================================================
- module Gold_Multiplier
- #===============================================================================
- #-----------------------------------------------------------------------------
- # Change to the id of your preffered variable.
- #-----------------------------------------------------------------------------
- VARIABLE = 12 #####################
- # CUSTOMISATION END #
- end #####################
- #===============================================================================
- class Game_Party < Game_Unit
- #===============================================================================
- #-----------------------------------------------------------------------------
- #
- #-----------------------------------------------------------------------------
- alias :gold_multiplier :gain_gold
- #-----------------------------------------------------------------------------
- #
- #-----------------------------------------------------------------------------
- def gain_gold(amount)
- @gold = [[gold_multiplier(amount)*gold_ezil, 0].max, max_gold].min
- end
- #-----------------------------------------------------------------------------
- #
- #-----------------------------------------------------------------------------
- def gold_ezil
- Gold_Multiplier::VARIABLE
- end
- end
- #==============================================================================#
- # http://dekitarpg.wordpress.com/ #
- #==============================================================================#
- end # if true # << Make true to use this script, false to disable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement