Advertisement
Dekita

Untitled

Apr 21st, 2014
879
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. if true # << Make true to use this script, false to disable.
  2. #===============================================================================
  3. #
  4. # ☆ $D13x - Simple Gold Multiplier
  5. # -- Author : Dekita
  6. # -- Version : 1.0
  7. #
  8. #===============================================================================
  9. # Notes:
  10. #===============================================================================
  11. # FREE to use for both commercial and non commercial.
  12. # Credit should always be given.
  13. #
  14. #===============================================================================
  15. module Gold_Multiplier
  16. #===============================================================================
  17. #-----------------------------------------------------------------------------
  18. # Change to the id of your preffered variable.
  19. #-----------------------------------------------------------------------------
  20. VARIABLE = 12 #####################
  21. # CUSTOMISATION END #
  22. end #####################
  23. #===============================================================================
  24. class Game_Party < Game_Unit
  25. #===============================================================================
  26. #-----------------------------------------------------------------------------
  27. #
  28. #-----------------------------------------------------------------------------
  29. alias :gold_multiplier :gain_gold
  30. #-----------------------------------------------------------------------------
  31. #
  32. #-----------------------------------------------------------------------------
  33. def gain_gold(amount)
  34. @gold = [[gold_multiplier(amount)*gold_ezil, 0].max, max_gold].min
  35. end
  36. #-----------------------------------------------------------------------------
  37. #
  38. #-----------------------------------------------------------------------------
  39. def gold_ezil
  40. Gold_Multiplier::VARIABLE
  41. end
  42. end
  43. #==============================================================================#
  44. # http://dekitarpg.wordpress.com/ #
  45. #==============================================================================#
  46. end # if true # << Make true to use this script, false to disable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement