Initial import
This commit is contained in:
37
Scripts/RPG/Window_EquipCommand.rb
Normal file
37
Scripts/RPG/Window_EquipCommand.rb
Normal file
@@ -0,0 +1,37 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#==============================================================================
|
||||
# ** Window_EquipCommand
|
||||
#------------------------------------------------------------------------------
|
||||
# This window is for selecting commands (change equipment/ultimate equipment
|
||||
# etc.) on the skill screen.
|
||||
#==============================================================================
|
||||
|
||||
class Window_EquipCommand < Window_HorzCommand
|
||||
#--------------------------------------------------------------------------
|
||||
# * Object Initialization
|
||||
#--------------------------------------------------------------------------
|
||||
def initialize(x, y, width)
|
||||
@window_width = width
|
||||
super(x, y)
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# * Get Window Width
|
||||
#--------------------------------------------------------------------------
|
||||
def window_width
|
||||
@window_width
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# * Get Digit Count
|
||||
#--------------------------------------------------------------------------
|
||||
def col_max
|
||||
return 3
|
||||
end
|
||||
#--------------------------------------------------------------------------
|
||||
# * Create Command List
|
||||
#--------------------------------------------------------------------------
|
||||
def make_command_list
|
||||
add_command(Vocab::equip2, :equip)
|
||||
add_command(Vocab::optimize, :optimize)
|
||||
add_command(Vocab::clear, :clear)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user