Advertisement
QuasiXi

SType Equip, GTBS 2.4 Patch

Jun 11th, 2014
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.94 KB | None | 0 0
  1. #==============================================================================
  2. # Quasi Skill Type Equip
  3. # GTBS 2.4 patch
  4. #==============================================================================
  5. #=============================================================
  6. # Commands All
  7. #-------------------------------------------------------------
  8. #This displays the command window for character actions.
  9. #=============================================================
  10. class Commands_All < TBS_Win_Actor
  11.   #--------------------------------------------------------------------------
  12.   # * Add Skill Command to List
  13.   #--------------------------------------------------------------------------
  14.   def add_skill_commands(disabled)
  15.     @actor.equipped_skill_types.sort.each do |stype_id|
  16.       name = $data_system.skill_types[stype_id]
  17.       add_command(name, :skill, true, stype_id) unless GTBS::HIDE_INACTIVE_COMMANDS && @actor.perf_action
  18.     end
  19.   end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement