#==============================================================================
# ** Action Order
#------------------------------------------------------------------------------
#
![:copyright: ©️](https://cdn.jsdelivr.net/emojione/assets/png/00a9.png?v=2.2.7)
Dargor, 2008
# 27/06/08
# Version 1.7
#------------------------------------------------------------------------------
# VERSION HISTORY:
# - 1.0 (22/06/08), Initial release
# - 1.1 (22/06/08), Added options for the window's opacity/height
# - 1.2 (22/06/08), Removed the window from the Party Command phase
# - 1.3 (22/06/08), Bug fixed with the window's disposal
# - 1.4 (27/06/08), Added battlers order for next turn
# - 1.5 (27/06/08), Added action speed preview
# - 1.6 (27/06/08), Added options for Item/Skill windows size correction
# - 1.7 (27/06/08), Removed dependency over the Custom Commands script
#------------------------------------------------------------------------------
# INSTRUCTIONS:
# - Paste this above main
# - Edit the constants in Action_Order module
#==============================================================================
#==============================================================================
# ** Action Order Customization Module
#==============================================================================
module Action_Order
# Actors face graphic offset (X,Y)
# SYNTAX: Face_Offset = face_name => {face_index => [x,y]}}
Face_Offset = {
'Actor1' => {0 => [0, 32]},
'Evil' => {4 => [0, 16]}
}
Face_Offset.default = [0,32]
# Ememies battler graphic offset (X,Y)
Battler_Offset = {'Demon' => [42,72]}
Battler_Offset.default = [0, 32]
# Is the action window enables in the Party Command selection phase?
Enabled_Party_Phase = true
# Show Actors name instead of face
Actor_Names = false
# Show enemies name instead of battler graphic
Enemy_Names = true
# Action Window Opacity
Window_Opacity = 255
Window_Back_Opacity = 160
# Maximum number of battlers visible at the same time in the window
Battlers_Max = 8
# Small Windows (True is Recommended)
Small_Windows = true
# Maximum number of columns when using small windows (1 is recommended)
Small_Windows_Column_Max = 1
end
#==============================================================================
# ** Window_Item
#------------------------------------------------------------------------------
# This window displays a list of inventory items for the item screen, etc.
#==============================================================================
class Window_Item < Window_Selectable
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias dargor_vx_action_order_window_item_refresh refresh
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
if $game_temp.in_battle && Action_Order::Small_Windows
@column_max = Action_Order::Small_Windows_Column_Max
self.width = 412
self.x = 132
end
dargor_vx_action_order_window_item_refresh
end
end
#==============================================================================
# ** Window_Skill
#------------------------------------------------------------------------------
# This window displays a list of usable skills on the skill screen, etc.
#==============================================================================
class Window_Skill < Window_Selectable
#--------------------------------------------------------------------------
# * Alias Listing
#--------------------------------------------------------------------------
alias dargor_vx_action_order_window_skill_refresh refresh
#--------------------------------------------------------------------------
# * Refresh
#--------------------------------------------------------------------------
def refresh
if $game_temp.in_battle && Action_Order::Small_Windows
@column_max = Action_Order::Small_Windows_Column_Max
self.width = 412
self.x = 132
end
dargor_vx_action_order_window_skill_refresh
end
end