Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #encoding:utf-8
- =begin
- *******************************************************************************************
- * Witch's House Menu + *
- for RGSS3
- Ver 1.01 2015.01.20
- Author:魂(Lctseng),Bahamut Forum ID:play123
- Please keep this label reprinted
- Home link:http://home.gamer.com.tw/homeindex.php?owner=play123
- Description:
- 1. A menu similar to Witch's House
- 2. Modified to support multiple actors, remove the life display
- Update Log:
- Ver 1.01 :
- Date:2015.01.20
- Summary:
- correct display for 2~3 actors
- Ver 1.00 :
- Date:2015.01.20
- Summary:(original release)
- Summary:
- This script modifies or redefines the following categories:
- 1.Window_MenuCommand
- 2.Window_MenuStatus
- 3.Scene_Menu
- *******************************************************************************************
- =end
- #*******************************************************************************************
- #
- # DO NOT MODIFY UNLESS YOU KNOW WHAT TO DO !
- #
- #*******************************************************************************************
- #--------------------------------------------------------------------------
- # ★ Script information notice
- #--------------------------------------------------------------------------
- if !$lctseng_scripts
- $lctseng_scripts = {}
- end
- _sym = :simplified_menu_multiactor
- $lctseng_scripts[_sym] = "1.01"
- puts "Loading script:Lctseng - Witch's House Menu +,version:#{$lctseng_scripts[_sym]}"
- #encoding:utf-8
- #==============================================================================
- # ■ Scene_Menu
- #------------------------------------------------------------------------------
- # Menu screen
- #==============================================================================
- class Scene_Menu < Scene_MenuBase
- #--------------------------------------------------------------------------
- # ★ Method redefinition
- #--------------------------------------------------------------------------
- unless @lctseng_simple_menu_on_Scene_Menu_alias
- alias lctseng_simple_menu_on_Scene_Menu_Create_command_window create_command_window # 生成指令窗口
- alias lctseng_simple_menu_on_Scene_Menu_Create_status_window create_status_window # 生成狀態窗口
- @lctseng_simple_menu_on_Scene_Menu_alias = true
- end
- #--------------------------------------------------------------------------
- # ● Start processing - modify definition
- #--------------------------------------------------------------------------
- def start
- super
- create_command_window
- ### create_gold_window # Remove gold window
- create_status_window
- end
- #--------------------------------------------------------------------------
- # ● Create command window - Redefine
- #--------------------------------------------------------------------------
- def create_command_window(*args,&block)
- lctseng_simple_menu_on_Scene_Menu_Create_command_window(*args,&block)
- end
- #--------------------------------------------------------------------------
- # ● Create status window - Redefine
- #--------------------------------------------------------------------------
- def create_status_window(*args,&block)
- lctseng_simple_menu_on_Scene_Menu_Create_status_window(*args,&block)
- # Window coordinates
- @status_window.y = Graphics.height - @status_window.height
- @command_window.y = Graphics.height - @status_window.height + (@status_window.height - @command_window.height ) / 2
- end
- end
- #encoding:utf-8
- #==============================================================================
- # ■ Window_MenuCommand
- #------------------------------------------------------------------------------
- # Window that displays command list in the menu screen
- #==============================================================================
- class Window_MenuCommand < Window_Command
- #--------------------------------------------------------------------------
- # ● Create command list - modify definition
- #--------------------------------------------------------------------------
- def make_command_list
- add_main_commands
- ## For additions
- add_save_command
- add_game_end_command
- end
- #--------------------------------------------------------------------------
- # ● Add main commands to the list - modify definition
- #--------------------------------------------------------------------------
- def add_main_commands
- add_command(Vocab::item, :item, main_commands_enabled)
- ## For additions
- end
- end
- #encoding:utf-8
- #==============================================================================
- # ■ Window_MenuStatus
- #------------------------------------------------------------------------------
- # Window that shows status of actors in the menu screen
- #==============================================================================
- class Window_MenuStatus < Window_Selectable
- #--------------------------------------------------------------------------
- # ● Window height - modify definition
- #--------------------------------------------------------------------------
- def window_height
- 16 + item_max * 100
- end
- #--------------------------------------------------------------------------
- # ● Item max - modify definition
- #--------------------------------------------------------------------------
- def item_max
- $game_party.members.size
- end
- #--------------------------------------------------------------------------
- # ● Item height
- #--------------------------------------------------------------------------
- def item_height
- (height - standard_padding * 2) / item_max
- end
- #--------------------------------------------------------------------------
- # ● Draw simple status - modify definition
- #--------------------------------------------------------------------------
- def draw_actor_simple_status(actor, x, y)
- draw_actor_name(actor, x, y)
- draw_actor_level(actor, x, y + line_height * 1)
- draw_actor_icons(actor, x, y + line_height * 2)
- draw_actor_class(actor, x + 120, y)
- ##draw_actor_hp(actor, x + 120, y + line_height * 1)
- ## draw_actor_mp(actor, x + 120, y + line_height * 2) # Remove MP display
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement