=begin
Ariel
version: 1.0
Created by: Casper Gaming (http://www.caspergaming.com/) as the 'Professions' Script
Modified by Nightgazer Starlight
Compatibility:
Made for RPGVXAce
FEATURES
Creates a window that shows information on the character named : Ariel.
SETUP
Set up required. Instructions below.
=end
module ARIEL_INFO # Don't edit
NAME = "Ariel" # This is the name of the command. You will see this in
# the menu and as the title of the window.
FONT_SIZE = 24 # 24 is the default game font size. 20 is this. The true size.
MENU = false #Show in menu? If not, use following script call to call the
#ariel scene: SceneManager.call(Scene_Ariel)
ARIEL1 = "Name : Ariel"
ARIEL2 = "Class : Werewolf Princess"
ARIEL3 = "Birthday : March 3, 1000 AF"
ARIEL4 = "Age : 17"
ARIEL5 = "Origin : Arethia"
ARIEL6 = "Gender : Female"
ARIEL7 = "Height : 5 ft. 3 in."
ARIEL8 = "Weight : Secret"
# ARIEL9 = " "
# ARIEL10 = " "
# ARIEL11 = " "
# ARIEL12 = " "
# ARIEL13 = " "
# ARIEL14 = " "
end # Don't edit this
class Window_Ariel < Window_Base
include ARIEL_INFO
def initialize
super(0, line_height*2, Graphics.width, Graphics.height-line_height*2)
refresh
end
def refresh
contents.clear
contents.font.size = FONT_SIZE
draw_ariel(0, 0)
end
end
def draw_ariel(x, y)
draw_text(x, y, contents.width, line_height, ARIEL1)
draw_text(x, y + line_height, contents.width, line_height, ARIEL2)
draw_text(x, y + line_height*2, contents.width, line_height, ARIEL3)
draw_text(x, y + line_height*3, contents.width, line_height, ARIEL4)
draw_text(x, y + line_height*4, contents.width, line_height, ARIEL5)
draw_text(x, y + line_height*5, contents.width, line_height, ARIEL6)
draw_text(x, y + line_height*6, contents.width, line_height, ARIEL7)
draw_text(x, y + line_height*7, contents.width, line_height, ARIEL8)
# draw_text(x, y + line_height*8, contents.width, line_height, ARIEL9)
# draw_text(x, y + line_height*9, contents.width, line_height, ARIEL10)
# draw_text(x, y + line_height*10, contents.width, line_height, ARIEL11)
# draw_text(x, y + line_height*11, contents.width, line_height, ARIEL12)
# draw_text(x, y + line_height*12, contents.width, line_height, ARIEL13)
# draw_text(x, y + line_height*13, contents.width, line_height, ARIEL14)
end
# END EDITABLE REGION
class Window_Ariel_Title < Window_Base
include ARIEL_INFO
def initialize
super(0, 0, Graphics.width, line_height*2)
refresh
end
def refresh
contents.clear
draw_text(0, 0, contents.width, line_height, NAME, 1)
end
end
class Scene_Ariel < Scene_Base
def start
super
create_head_window
create_info_window
end
def create_head_window
@profession_title = Window_Ariel_Title.new
@profession_title.viewport = @viewport
end
def create_info_window
@info_window = Window_Ariel.new
@info_window.viewport = @viewport
end
def update
super
if Input.trigger?(:B)
Sound.play_cancel
return_scene
end
end
end
class Scene_Menu < Scene_MenuBase
alias create_command_window_vxariel create_command_window
def create_command_window
create_command_window_vxariel
@command_window.set_handler(:vxariel, method(:vxariel_select)) if ARIEL_INFO::MENU
end
def vxariel_select
SceneManager.call(Scene_Ariel)
end
end
class Window_MenuCommand < Window_Command
alias vxariel_command add_original_commands
def add_original_commands
vxariel_command
add_command(ARIEL_INFO::NAME, :vxariel) if ARIEL_INFO::MENU
end
end