The data class for the system.
The game title.
A random number used for update checks. The number changes every time data is saved in RPG Maker.
Always true in the Japanese version.
The initial party. An array of actor IDs.
The unit of currency.
The window color (Tone)B
A list of elements. A string array using element IDs as subscripts, with the element in the 0 position being nil.
A list of skill types. A string array using skill type IDs as subscripts, with the element in the 0 position being nil.
A list of weapon types. A string array using weapon type IDs as subscripts, with the element in the 0 position being nil.
A list of armor types. A string array using armor type IDs as subscripts, with the element in the 0 position being nil.
A switch name list. A string array using switch IDs as subscripts, with the element in the 0 position being nil.
A variable name list. A string array using variable IDs as subscripts, with the element in the 0 position being nil.
Boat settings (RPG::System::Vehicle).
Ship settings (RPG::System::Vehicle).
Airship settings (RPG::System::Vehicle).
The file name of the title (background) graphic.
The file name of the title (frame) graphic.
The truth value of the [Draw Game Title] option.
The truth value of the [Initialize MIDI at Startup] option.
The truth value of the [Start Transparent] option.
The truth value of the [Show Player Followers] option.
The truth value of the [K.O. by Slip Damage] option.
The truth value of the [K.O. by Floor Damage] option.
The truth value of the [Display TP in Battle] option.
The truth value of the [Reserve Members' EXP] option.
The title BGM (RPG::BGM).
The battle BGM (RPG::BGM).
The battle end ME (RPG::ME).
The gameover ME (RPG::ME).
Sound effects. An RPG::SE array.
The map ID of the player's initial position.
The map's x-coordinate of the player's initial position.
The map's y-coordinate of the player's initial position.
Terms (RPG::System::Terms).
Party settings for battle tests. An RPG::System::TestBattler array.
The enemy troop ID for battle tests.
The file name of the battle background (floor) graphic for use in editing enemy troops and battle tests.
The file name of the battle background (wall) graphic for use in editing enemy troops and battle tests.
The battler graphic file name for use in editing animations.
The adjustment value for the battler graphic's hue (0..360) for use in editing animations.
The ID of the map currently being edited. For internal use.
class RPG::System
def initialize
@game_title = ''
@version_id = 0
@japanese = true
@party_members = [1]
@currency_unit = ''
@elements = [nil, '']
@skill_types = [nil, '']
@weapon_types = [nil, '']
@armor_types = [nil, '']
@switches = [nil, '']
@variables = [nil, '']
@boat = RPG::System::Vehicle.new
@ship = RPG::System::Vehicle.new
@airship = RPG::System::Vehicle.new
@title1_name = ''
@title2_name = ''
@opt_draw_title = true
@opt_use_midi = false
@opt_transparent = false
@opt_followers = true
@opt_slip_death = false
@opt_floor_death = false
@opt_display_tp = true
@opt_extra_exp = false
@window_tone = Tone.new(0,0,0)
@title_bgm = RPG::BGM.new
@battle_bgm = RPG::BGM.new
@battle_end_me = RPG::ME.new
@gameover_me = RPG::ME.new
@sounds = Array.new(24) { RPG::SE.new }
@test_battlers = []
@test_troop_id = 1
@start_map_id = 1
@start_x = 0
@start_y = 0
@terms = RPG::System::Terms.new
@battleback1_name = ''
@battleback2_name = ''
@battler_name = ''
@battler_hue = 0
@edit_map_id = 1
end
attr_accessor :game_title
attr_accessor :version_id
attr_accessor :japanese
attr_accessor :party_members
attr_accessor :currency_unit
attr_accessor :skill_types
attr_accessor :weapon_types
attr_accessor :armor_types
attr_accessor :elements
attr_accessor :switches
attr_accessor :variables
attr_accessor :boat
attr_accessor :ship
attr_accessor :airship
attr_accessor :title1_name
attr_accessor :title2_name
attr_accessor :opt_draw_title
attr_accessor :opt_use_midi
attr_accessor :opt_transparent
attr_accessor :opt_followers
attr_accessor :opt_slip_death
attr_accessor :opt_floor_death
attr_accessor :opt_display_tp
attr_accessor :opt_extra_exp
attr_accessor :window_tone
attr_accessor :title_bgm
attr_accessor :battle_bgm
attr_accessor :battle_end_me
attr_accessor :gameover_me
attr_accessor :sounds
attr_accessor :test_battlers
attr_accessor :test_troop_id
attr_accessor :start_map_id
attr_accessor :start_x
attr_accessor :start_y
attr_accessor :terms
attr_accessor :battleback1_name
attr_accessor :battleback2_name
attr_accessor :battler_name
attr_accessor :battler_hue
attr_accessor :edit_map_id
end