Data class for the system.
The game title.
Random number used for update checks. Updates changed values every time data is saved in RPGVX.
The initial party. An array of actor IDs.
Element list. Text array using element IDs as subscripts, with the element in the 0 position being nil.
Switch list. Text array using switch IDs as subscripts, with the element in the 0 position being nil.
Variable list. Text array using variable IDs as subscripts, with the element in the 0 position being nil.
Passage table. A 1-dimensional array (Table) containing various flags.
The tile ID is used as a subscript. Each bit is handled as follows:
The boat settings (RPG::System::Vehicle).
The ship settings (RPG::System::Vehicle).
The airship settings (RPG::System::Vehicle).
The title BGM (RPG::AudioFile).
The battle BGM (RPG::AudioFile).
The battle end ME (RPG::AudioFile).
The gameover ME (RPG::AudioFile).
Sound Effects. An RPG::AudioFile array.
The map ID of the player's initial position.
The map X-coordinate of the player's initial position.
The map Y-coordinate of the player's initial position.
Terms (RPG::System::Terms).
Party settings for battle tests. An RPG::System::TestBattler array.
The troop ID for battle tests.
The battler graphic file name, for internal use.
The adjustment value for the battler graphic's hue (0..360), for internal use.
The ID of the map currently being edited, for internal use.
module RPG class System def initialize @game_title = "" @version_id = 0 @party_members = [1] @elements = [nil, ""] @switches = [nil, ""] @variables = [nil, ""] @passages = Table.new(8192) @boat = RPG::System::Vehicle.new @ship = RPG::System::Vehicle.new @airship = RPG::System::Vehicle.new @title_bgm = RPG::BGM.new @battle_bgm = RPG::BGM.new @battle_end_me = RPG::ME.new @gameover_me = RPG::ME.new @sounds = [] 20.times { @sounds.push(RPG::AudioFile.new) } @test_battlers = [] @test_troop_id = 1 @start_map_id = 1 @start_x = 0 @start_y = 0 @terms = RPG::System::Terms.new @battler_name = "" @battler_hue = 0 @edit_map_id = 1 end attr_accessor :game_title attr_accessor :version_id attr_accessor :party_members attr_accessor :elements attr_accessor :switches attr_accessor :variables attr_accessor :passages attr_accessor :boat attr_accessor :ship attr_accessor :airship 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 :battler_name attr_accessor :battler_hue attr_accessor :edit_map_id end end
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |