Class: RPG::System

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from RgssDb::JsonableConstructor

json_create, json_new

Methods included from RgssDb::Jsonable

#as_json, #to_json

Constructor Details

#initializeSystem

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_seObject

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

#airshipObject

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_typesObject

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_bgmObject

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_meObject

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_seObject

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_transitionObject

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_nameObject

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_nameObject

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_nameObject

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_hueObject

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_nameObject

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

#boatObject

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_seObject

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_seObject

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_unitObject

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_seObject

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_seObject

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_idObject

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

#elementsObject

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_seObject

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_seObject

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_seObject

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_titleObject

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_meObject

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_nameObject

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

#japaneseObject

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_seObject

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_numberObject

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_tpObject

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_titleObject

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_expObject

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_deathObject

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_followersObject

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_deathObject

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_transparentObject

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_midiObject

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_membersObject

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

#passagesObject

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_seObject

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

#shipObject

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_seObject

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_typesObject

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

#soundsObject

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_idObject

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_xObject

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_yObject

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

#switchesObject

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

#termsObject

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_battlersObject

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_idObject

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_nameObject

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_nameObject

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_bgmObject

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_nameObject

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

#variablesObject

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_idObject

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_typesObject

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_toneObject

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_nameObject

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

#wordsObject

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