Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Extra_accessory_Slot

nio_kasgami May 7th, 2015 243 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #==============================================================================
  2. # ■ Nio Kasgami Engine Ace "Extra_accessory_Slot"
  3. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  4. # little snipset who permit to have a extra accessory set in the equip menu
  5. # Created by Nio Kasgami.
  6. # Data : 2015/05/07
  7. # Version : 1.0.0
  8. #==============================================================================
  9.  
  10. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  11. # Window_EquipSlot
  12. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  13. class Window_EquipSlot < Window_Selectable
  14.   #--------------------------------------------------------------------------
  15.   # ● overwrite method: visible_line_number
  16.   #--------------------------------------------------------------------------
  17.     def visible_line_number
  18.     return 6
  19.   end
  20. end
  21.  
  22. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  23. # Game_Actor
  24. # =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  25. class Game_Actor < Game_Battler
  26.   #--------------------------------------------------------------------------
  27.   # ● overwrite method: equip_slots
  28.   #--------------------------------------------------------------------------
  29.    def equip_slots
  30.     return [0,0,2,3,4,4] if dual_wield?       # Dual wield
  31.     return [0,1,2,3,4,4]                      # Normal
  32.   end
  33. end
  34. ################################################################################
  35. # END OF SCRIPT
  36. ################################################################################
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top