Class: RPG::System

Inherits:
Object
  • Object
show all
Defined in:
lib/rgss3/rpg.rb

Defined Under Namespace

Classes: Terms, TestBattler, Vehicle

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSystem

Returns a new instance of System.



870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
# File 'lib/rgss3/rpg.rb', line 870

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

Instance Attribute Details

#airshipObject

Returns the value of attribute airship.



926
927
928
# File 'lib/rgss3/rpg.rb', line 926

def airship
  @airship
end

#armor_typesObject

Returns the value of attribute armor_types.



920
921
922
# File 'lib/rgss3/rpg.rb', line 920

def armor_types
  @armor_types
end

#battle_bgmObject

Returns the value of attribute battle_bgm.



939
940
941
# File 'lib/rgss3/rpg.rb', line 939

def battle_bgm
  @battle_bgm
end

#battle_end_meObject

Returns the value of attribute battle_end_me.



940
941
942
# File 'lib/rgss3/rpg.rb', line 940

def battle_end_me
  @battle_end_me
end

#battleback1_nameObject

Returns the value of attribute battleback1_name.



949
950
951
# File 'lib/rgss3/rpg.rb', line 949

def battleback1_name
  @battleback1_name
end

#battleback2_nameObject

Returns the value of attribute battleback2_name.



950
951
952
# File 'lib/rgss3/rpg.rb', line 950

def battleback2_name
  @battleback2_name
end

#battler_hueObject

Returns the value of attribute battler_hue.



952
953
954
# File 'lib/rgss3/rpg.rb', line 952

def battler_hue
  @battler_hue
end

#battler_nameObject

Returns the value of attribute battler_name.



951
952
953
# File 'lib/rgss3/rpg.rb', line 951

def battler_name
  @battler_name
end

#boatObject

Returns the value of attribute boat.



924
925
926
# File 'lib/rgss3/rpg.rb', line 924

def boat
  @boat
end

#currency_unitObject

Returns the value of attribute currency_unit.



917
918
919
# File 'lib/rgss3/rpg.rb', line 917

def currency_unit
  @currency_unit
end

#edit_map_idObject

Returns the value of attribute edit_map_id.



953
954
955
# File 'lib/rgss3/rpg.rb', line 953

def edit_map_id
  @edit_map_id
end

#elementsObject

Returns the value of attribute elements.



921
922
923
# File 'lib/rgss3/rpg.rb', line 921

def elements
  @elements
end

#game_titleObject

Returns the value of attribute game_title.



913
914
915
# File 'lib/rgss3/rpg.rb', line 913

def game_title
  @game_title
end

#gameover_meObject

Returns the value of attribute gameover_me.



941
942
943
# File 'lib/rgss3/rpg.rb', line 941

def gameover_me
  @gameover_me
end

#japaneseObject

Returns the value of attribute japanese.



915
916
917
# File 'lib/rgss3/rpg.rb', line 915

def japanese
  @japanese
end

#opt_display_tpObject

Returns the value of attribute opt_display_tp.



935
936
937
# File 'lib/rgss3/rpg.rb', line 935

def opt_display_tp
  @opt_display_tp
end

#opt_draw_titleObject

Returns the value of attribute opt_draw_title.



929
930
931
# File 'lib/rgss3/rpg.rb', line 929

def opt_draw_title
  @opt_draw_title
end

#opt_extra_expObject

Returns the value of attribute opt_extra_exp.



936
937
938
# File 'lib/rgss3/rpg.rb', line 936

def opt_extra_exp
  @opt_extra_exp
end

#opt_floor_deathObject

Returns the value of attribute opt_floor_death.



934
935
936
# File 'lib/rgss3/rpg.rb', line 934

def opt_floor_death
  @opt_floor_death
end

#opt_followersObject

Returns the value of attribute opt_followers.



932
933
934
# File 'lib/rgss3/rpg.rb', line 932

def opt_followers
  @opt_followers
end

#opt_slip_deathObject

Returns the value of attribute opt_slip_death.



933
934
935
# File 'lib/rgss3/rpg.rb', line 933

def opt_slip_death
  @opt_slip_death
end

#opt_transparentObject

Returns the value of attribute opt_transparent.



931
932
933
# File 'lib/rgss3/rpg.rb', line 931

def opt_transparent
  @opt_transparent
end

#opt_use_midiObject

Returns the value of attribute opt_use_midi.



930
931
932
# File 'lib/rgss3/rpg.rb', line 930

def opt_use_midi
  @opt_use_midi
end

#party_membersObject

Returns the value of attribute party_members.



916
917
918
# File 'lib/rgss3/rpg.rb', line 916

def party_members
  @party_members
end

#shipObject

Returns the value of attribute ship.



925
926
927
# File 'lib/rgss3/rpg.rb', line 925

def ship
  @ship
end

#skill_typesObject

Returns the value of attribute skill_types.



918
919
920
# File 'lib/rgss3/rpg.rb', line 918

def skill_types
  @skill_types
end

#soundsObject

Returns the value of attribute sounds.



942
943
944
# File 'lib/rgss3/rpg.rb', line 942

def sounds
  @sounds
end

#start_map_idObject

Returns the value of attribute start_map_id.



945
946
947
# File 'lib/rgss3/rpg.rb', line 945

def start_map_id
  @start_map_id
end

#start_xObject

Returns the value of attribute start_x.



946
947
948
# File 'lib/rgss3/rpg.rb', line 946

def start_x
  @start_x
end

#start_yObject

Returns the value of attribute start_y.



947
948
949
# File 'lib/rgss3/rpg.rb', line 947

def start_y
  @start_y
end

#switchesObject

Returns the value of attribute switches.



922
923
924
# File 'lib/rgss3/rpg.rb', line 922

def switches
  @switches
end

#termsObject

Returns the value of attribute terms.



948
949
950
# File 'lib/rgss3/rpg.rb', line 948

def terms
  @terms
end

#test_battlersObject

Returns the value of attribute test_battlers.



943
944
945
# File 'lib/rgss3/rpg.rb', line 943

def test_battlers
  @test_battlers
end

#test_troop_idObject

Returns the value of attribute test_troop_id.



944
945
946
# File 'lib/rgss3/rpg.rb', line 944

def test_troop_id
  @test_troop_id
end

#title1_nameObject

Returns the value of attribute title1_name.



927
928
929
# File 'lib/rgss3/rpg.rb', line 927

def title1_name
  @title1_name
end

#title2_nameObject

Returns the value of attribute title2_name.



928
929
930
# File 'lib/rgss3/rpg.rb', line 928

def title2_name
  @title2_name
end

#title_bgmObject

Returns the value of attribute title_bgm.



938
939
940
# File 'lib/rgss3/rpg.rb', line 938

def title_bgm
  @title_bgm
end

#variablesObject

Returns the value of attribute variables.



923
924
925
# File 'lib/rgss3/rpg.rb', line 923

def variables
  @variables
end

#version_idObject

Returns the value of attribute version_id.



914
915
916
# File 'lib/rgss3/rpg.rb', line 914

def version_id
  @version_id
end

#weapon_typesObject

Returns the value of attribute weapon_types.



919
920
921
# File 'lib/rgss3/rpg.rb', line 919

def weapon_types
  @weapon_types
end

#window_toneObject

Returns the value of attribute window_tone.



937
938
939
# File 'lib/rgss3/rpg.rb', line 937

def window_tone
  @window_tone
end