Class: RPG::System
- Inherits:
-
Object
- Object
- RPG::System
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb,
lib/rgss_db/model/rpg_maker_data/vx/rpg/system_terms.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/system_words.rb,
lib/rgss_db/model/rpg_maker_data/vx/rpg/system_vehicle.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system_terms.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system_vehicle.rb,
lib/rgss_db/model/rpg_maker_data/vx/rpg/system_test_battler.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/system_test_battler.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system_test_battler.rb
Overview
The data class for the system.
Defined Under Namespace
Classes: Terms, TestBattler, Vehicle, Words
Instance Attribute Summary collapse
-
#actor_collapse_se ⇒ Object
Returns the value of attribute actor_collapse_se.
-
#airship ⇒ Object
Returns the value of attribute airship.
-
#armor_types ⇒ Object
Returns the value of attribute armor_types.
-
#battle_bgm ⇒ Object
Returns the value of attribute battle_bgm.
-
#battle_end_me ⇒ Object
Returns the value of attribute battle_end_me.
-
#battle_start_se ⇒ Object
Returns the value of attribute battle_start_se.
-
#battle_transition ⇒ Object
Returns the value of attribute battle_transition.
-
#battleback1_name ⇒ Object
Returns the value of attribute battleback1_name.
-
#battleback2_name ⇒ Object
Returns the value of attribute battleback2_name.
-
#battleback_name ⇒ Object
Returns the value of attribute battleback_name.
-
#battler_hue ⇒ Object
Returns the value of attribute battler_hue.
-
#battler_name ⇒ Object
Returns the value of attribute battler_name.
-
#boat ⇒ Object
Returns the value of attribute boat.
-
#buzzer_se ⇒ Object
Returns the value of attribute buzzer_se.
-
#cancel_se ⇒ Object
Returns the value of attribute cancel_se.
-
#currency_unit ⇒ Object
Returns the value of attribute currency_unit.
-
#cursor_se ⇒ Object
Returns the value of attribute cursor_se.
-
#decision_se ⇒ Object
Returns the value of attribute decision_se.
-
#edit_map_id ⇒ Object
Returns the value of attribute edit_map_id.
-
#elements ⇒ Object
Returns the value of attribute elements.
-
#enemy_collapse_se ⇒ Object
Returns the value of attribute enemy_collapse_se.
-
#equip_se ⇒ Object
Returns the value of attribute equip_se.
-
#escape_se ⇒ Object
Returns the value of attribute escape_se.
-
#game_title ⇒ Object
Returns the value of attribute game_title.
-
#gameover_me ⇒ Object
Returns the value of attribute gameover_me.
-
#gameover_name ⇒ Object
Returns the value of attribute gameover_name.
-
#japanese ⇒ Object
Returns the value of attribute japanese.
-
#load_se ⇒ Object
Returns the value of attribute load_se.
-
#magic_number ⇒ Object
Returns the value of attribute magic_number.
-
#opt_display_tp ⇒ Object
Returns the value of attribute opt_display_tp.
-
#opt_draw_title ⇒ Object
Returns the value of attribute opt_draw_title.
-
#opt_extra_exp ⇒ Object
Returns the value of attribute opt_extra_exp.
-
#opt_floor_death ⇒ Object
Returns the value of attribute opt_floor_death.
-
#opt_followers ⇒ Object
Returns the value of attribute opt_followers.
-
#opt_slip_death ⇒ Object
Returns the value of attribute opt_slip_death.
-
#opt_transparent ⇒ Object
Returns the value of attribute opt_transparent.
-
#opt_use_midi ⇒ Object
Returns the value of attribute opt_use_midi.
-
#party_members ⇒ Object
Returns the value of attribute party_members.
-
#passages ⇒ Object
Returns the value of attribute passages.
-
#save_se ⇒ Object
Returns the value of attribute save_se.
-
#ship ⇒ Object
Returns the value of attribute ship.
-
#shop_se ⇒ Object
Returns the value of attribute shop_se.
-
#skill_types ⇒ Object
Returns the value of attribute skill_types.
-
#sounds ⇒ Object
Returns the value of attribute sounds.
-
#start_map_id ⇒ Object
Returns the value of attribute start_map_id.
-
#start_x ⇒ Object
Returns the value of attribute start_x.
-
#start_y ⇒ Object
Returns the value of attribute start_y.
-
#switches ⇒ Object
Returns the value of attribute switches.
-
#terms ⇒ Object
Returns the value of attribute terms.
-
#test_battlers ⇒ Object
Returns the value of attribute test_battlers.
-
#test_troop_id ⇒ Object
Returns the value of attribute test_troop_id.
-
#title1_name ⇒ Object
Returns the value of attribute title1_name.
-
#title2_name ⇒ Object
Returns the value of attribute title2_name.
-
#title_bgm ⇒ Object
Returns the value of attribute title_bgm.
-
#title_name ⇒ Object
Returns the value of attribute title_name.
-
#variables ⇒ Object
Returns the value of attribute variables.
-
#version_id ⇒ Object
Returns the value of attribute version_id.
-
#weapon_types ⇒ Object
Returns the value of attribute weapon_types.
-
#window_tone ⇒ Object
Returns the value of attribute window_tone.
-
#windowskin_name ⇒ Object
Returns the value of attribute windowskin_name.
-
#words ⇒ Object
Returns the value of attribute words.
Instance Method Summary collapse
-
#initialize ⇒ System
constructor
A new instance of System.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ System
Returns a new instance of System.
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 11 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 |
Instance Attribute Details
#actor_collapse_se ⇒ Object
Returns the value of attribute actor_collapse_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def actor_collapse_se @actor_collapse_se end |
#airship ⇒ Object
Returns the value of attribute airship.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def airship @airship end |
#armor_types ⇒ Object
Returns the value of attribute armor_types.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def armor_types @armor_types end |
#battle_bgm ⇒ Object
Returns the value of attribute battle_bgm.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def battle_bgm @battle_bgm end |
#battle_end_me ⇒ Object
Returns the value of attribute battle_end_me.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def battle_end_me @battle_end_me end |
#battle_start_se ⇒ Object
Returns the value of attribute battle_start_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def battle_start_se @battle_start_se end |
#battle_transition ⇒ Object
Returns the value of attribute battle_transition.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def battle_transition @battle_transition end |
#battleback1_name ⇒ Object
Returns the value of attribute battleback1_name.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def battleback1_name @battleback1_name end |
#battleback2_name ⇒ Object
Returns the value of attribute battleback2_name.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def battleback2_name @battleback2_name end |
#battleback_name ⇒ Object
Returns the value of attribute battleback_name.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def battleback_name @battleback_name end |
#battler_hue ⇒ Object
Returns the value of attribute battler_hue.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def battler_hue @battler_hue end |
#battler_name ⇒ Object
Returns the value of attribute battler_name.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def battler_name @battler_name end |
#boat ⇒ Object
Returns the value of attribute boat.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def boat @boat end |
#buzzer_se ⇒ Object
Returns the value of attribute buzzer_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def buzzer_se @buzzer_se end |
#cancel_se ⇒ Object
Returns the value of attribute cancel_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def cancel_se @cancel_se end |
#currency_unit ⇒ Object
Returns the value of attribute currency_unit.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def currency_unit @currency_unit end |
#cursor_se ⇒ Object
Returns the value of attribute cursor_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def cursor_se @cursor_se end |
#decision_se ⇒ Object
Returns the value of attribute decision_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def decision_se @decision_se end |
#edit_map_id ⇒ Object
Returns the value of attribute edit_map_id.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def edit_map_id @edit_map_id end |
#elements ⇒ Object
Returns the value of attribute elements.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def elements @elements end |
#enemy_collapse_se ⇒ Object
Returns the value of attribute enemy_collapse_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def enemy_collapse_se @enemy_collapse_se end |
#equip_se ⇒ Object
Returns the value of attribute equip_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def equip_se @equip_se end |
#escape_se ⇒ Object
Returns the value of attribute escape_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def escape_se @escape_se end |
#game_title ⇒ Object
Returns the value of attribute game_title.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def game_title @game_title end |
#gameover_me ⇒ Object
Returns the value of attribute gameover_me.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def gameover_me @gameover_me end |
#gameover_name ⇒ Object
Returns the value of attribute gameover_name.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def gameover_name @gameover_name end |
#japanese ⇒ Object
Returns the value of attribute japanese.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def japanese @japanese end |
#load_se ⇒ Object
Returns the value of attribute load_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def load_se @load_se end |
#magic_number ⇒ Object
Returns the value of attribute magic_number.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def magic_number @magic_number end |
#opt_display_tp ⇒ Object
Returns the value of attribute opt_display_tp.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_display_tp @opt_display_tp end |
#opt_draw_title ⇒ Object
Returns the value of attribute opt_draw_title.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_draw_title @opt_draw_title end |
#opt_extra_exp ⇒ Object
Returns the value of attribute opt_extra_exp.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_extra_exp @opt_extra_exp end |
#opt_floor_death ⇒ Object
Returns the value of attribute opt_floor_death.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_floor_death @opt_floor_death end |
#opt_followers ⇒ Object
Returns the value of attribute opt_followers.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_followers @opt_followers end |
#opt_slip_death ⇒ Object
Returns the value of attribute opt_slip_death.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_slip_death @opt_slip_death end |
#opt_transparent ⇒ Object
Returns the value of attribute opt_transparent.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_transparent @opt_transparent end |
#opt_use_midi ⇒ Object
Returns the value of attribute opt_use_midi.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def opt_use_midi @opt_use_midi end |
#party_members ⇒ Object
Returns the value of attribute party_members.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def party_members @party_members end |
#passages ⇒ Object
Returns the value of attribute passages.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def passages @passages end |
#save_se ⇒ Object
Returns the value of attribute save_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def save_se @save_se end |
#ship ⇒ Object
Returns the value of attribute ship.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def ship @ship end |
#shop_se ⇒ Object
Returns the value of attribute shop_se.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def shop_se @shop_se end |
#skill_types ⇒ Object
Returns the value of attribute skill_types.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def skill_types @skill_types end |
#sounds ⇒ Object
Returns the value of attribute sounds.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def sounds @sounds end |
#start_map_id ⇒ Object
Returns the value of attribute start_map_id.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def start_map_id @start_map_id end |
#start_x ⇒ Object
Returns the value of attribute start_x.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def start_x @start_x end |
#start_y ⇒ Object
Returns the value of attribute start_y.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def start_y @start_y end |
#switches ⇒ Object
Returns the value of attribute switches.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def switches @switches end |
#terms ⇒ Object
Returns the value of attribute terms.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def terms @terms end |
#test_battlers ⇒ Object
Returns the value of attribute test_battlers.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def test_battlers @test_battlers end |
#test_troop_id ⇒ Object
Returns the value of attribute test_troop_id.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def test_troop_id @test_troop_id end |
#title1_name ⇒ Object
Returns the value of attribute title1_name.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def title1_name @title1_name end |
#title2_name ⇒ Object
Returns the value of attribute title2_name.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def title2_name @title2_name end |
#title_bgm ⇒ Object
Returns the value of attribute title_bgm.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def title_bgm @title_bgm end |
#title_name ⇒ Object
Returns the value of attribute title_name.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def title_name @title_name end |
#variables ⇒ Object
Returns the value of attribute variables.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def variables @variables end |
#version_id ⇒ Object
Returns the value of attribute version_id.
39 40 41 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/system.rb', line 39 def version_id @version_id end |
#weapon_types ⇒ Object
Returns the value of attribute weapon_types.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def weapon_types @weapon_types end |
#window_tone ⇒ Object
Returns the value of attribute window_tone.
55 56 57 |
# File 'lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/system.rb', line 55 def window_tone @window_tone end |
#windowskin_name ⇒ Object
Returns the value of attribute windowskin_name.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def windowskin_name @windowskin_name end |
#words ⇒ Object
Returns the value of attribute words.
49 50 51 |
# File 'lib/rgss_db/model/rpg_maker_data/xp/rpg/system.rb', line 49 def words @words end |