Class: RPG::System

Inherits:
Object
  • Object
show all
Defined in:
lib/R3EXS/RGSS3.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.



1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
# File 'lib/R3EXS/RGSS3.rb', line 1214

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.



1271
1272
1273
# File 'lib/R3EXS/RGSS3.rb', line 1271

def airship
  @airship
end

#armor_typesObject

Returns the value of attribute armor_types.



1265
1266
1267
# File 'lib/R3EXS/RGSS3.rb', line 1265

def armor_types
  @armor_types
end

#battle_bgmObject

Returns the value of attribute battle_bgm.



1284
1285
1286
# File 'lib/R3EXS/RGSS3.rb', line 1284

def battle_bgm
  @battle_bgm
end

#battle_end_meObject

Returns the value of attribute battle_end_me.



1285
1286
1287
# File 'lib/R3EXS/RGSS3.rb', line 1285

def battle_end_me
  @battle_end_me
end

#battleback1_nameObject

Returns the value of attribute battleback1_name.



1294
1295
1296
# File 'lib/R3EXS/RGSS3.rb', line 1294

def battleback1_name
  @battleback1_name
end

#battleback2_nameObject

Returns the value of attribute battleback2_name.



1295
1296
1297
# File 'lib/R3EXS/RGSS3.rb', line 1295

def battleback2_name
  @battleback2_name
end

#battler_hueObject

Returns the value of attribute battler_hue.



1297
1298
1299
# File 'lib/R3EXS/RGSS3.rb', line 1297

def battler_hue
  @battler_hue
end

#battler_nameObject

Returns the value of attribute battler_name.



1296
1297
1298
# File 'lib/R3EXS/RGSS3.rb', line 1296

def battler_name
  @battler_name
end

#boatObject

Returns the value of attribute boat.



1269
1270
1271
# File 'lib/R3EXS/RGSS3.rb', line 1269

def boat
  @boat
end

#currency_unitObject

Returns the value of attribute currency_unit.



1262
1263
1264
# File 'lib/R3EXS/RGSS3.rb', line 1262

def currency_unit
  @currency_unit
end

#edit_map_idObject

Returns the value of attribute edit_map_id.



1298
1299
1300
# File 'lib/R3EXS/RGSS3.rb', line 1298

def edit_map_id
  @edit_map_id
end

#elementsObject

Returns the value of attribute elements.



1266
1267
1268
# File 'lib/R3EXS/RGSS3.rb', line 1266

def elements
  @elements
end

#game_titleObject

Returns the value of attribute game_title.



1258
1259
1260
# File 'lib/R3EXS/RGSS3.rb', line 1258

def game_title
  @game_title
end

#gameover_meObject

Returns the value of attribute gameover_me.



1286
1287
1288
# File 'lib/R3EXS/RGSS3.rb', line 1286

def gameover_me
  @gameover_me
end

#japaneseObject

Returns the value of attribute japanese.



1260
1261
1262
# File 'lib/R3EXS/RGSS3.rb', line 1260

def japanese
  @japanese
end

#opt_display_tpObject

Returns the value of attribute opt_display_tp.



1280
1281
1282
# File 'lib/R3EXS/RGSS3.rb', line 1280

def opt_display_tp
  @opt_display_tp
end

#opt_draw_titleObject

Returns the value of attribute opt_draw_title.



1274
1275
1276
# File 'lib/R3EXS/RGSS3.rb', line 1274

def opt_draw_title
  @opt_draw_title
end

#opt_extra_expObject

Returns the value of attribute opt_extra_exp.



1281
1282
1283
# File 'lib/R3EXS/RGSS3.rb', line 1281

def opt_extra_exp
  @opt_extra_exp
end

#opt_floor_deathObject

Returns the value of attribute opt_floor_death.



1279
1280
1281
# File 'lib/R3EXS/RGSS3.rb', line 1279

def opt_floor_death
  @opt_floor_death
end

#opt_followersObject

Returns the value of attribute opt_followers.



1277
1278
1279
# File 'lib/R3EXS/RGSS3.rb', line 1277

def opt_followers
  @opt_followers
end

#opt_slip_deathObject

Returns the value of attribute opt_slip_death.



1278
1279
1280
# File 'lib/R3EXS/RGSS3.rb', line 1278

def opt_slip_death
  @opt_slip_death
end

#opt_transparentObject

Returns the value of attribute opt_transparent.



1276
1277
1278
# File 'lib/R3EXS/RGSS3.rb', line 1276

def opt_transparent
  @opt_transparent
end

#opt_use_midiObject

Returns the value of attribute opt_use_midi.



1275
1276
1277
# File 'lib/R3EXS/RGSS3.rb', line 1275

def opt_use_midi
  @opt_use_midi
end

#party_membersObject

Returns the value of attribute party_members.



1261
1262
1263
# File 'lib/R3EXS/RGSS3.rb', line 1261

def party_members
  @party_members
end

#shipObject

Returns the value of attribute ship.



1270
1271
1272
# File 'lib/R3EXS/RGSS3.rb', line 1270

def ship
  @ship
end

#skill_typesObject

Returns the value of attribute skill_types.



1263
1264
1265
# File 'lib/R3EXS/RGSS3.rb', line 1263

def skill_types
  @skill_types
end

#soundsObject

Returns the value of attribute sounds.



1287
1288
1289
# File 'lib/R3EXS/RGSS3.rb', line 1287

def sounds
  @sounds
end

#start_map_idObject

Returns the value of attribute start_map_id.



1290
1291
1292
# File 'lib/R3EXS/RGSS3.rb', line 1290

def start_map_id
  @start_map_id
end

#start_xObject

Returns the value of attribute start_x.



1291
1292
1293
# File 'lib/R3EXS/RGSS3.rb', line 1291

def start_x
  @start_x
end

#start_yObject

Returns the value of attribute start_y.



1292
1293
1294
# File 'lib/R3EXS/RGSS3.rb', line 1292

def start_y
  @start_y
end

#switchesObject

Returns the value of attribute switches.



1267
1268
1269
# File 'lib/R3EXS/RGSS3.rb', line 1267

def switches
  @switches
end

#termsObject

Returns the value of attribute terms.



1293
1294
1295
# File 'lib/R3EXS/RGSS3.rb', line 1293

def terms
  @terms
end

#test_battlersObject

Returns the value of attribute test_battlers.



1288
1289
1290
# File 'lib/R3EXS/RGSS3.rb', line 1288

def test_battlers
  @test_battlers
end

#test_troop_idObject

Returns the value of attribute test_troop_id.



1289
1290
1291
# File 'lib/R3EXS/RGSS3.rb', line 1289

def test_troop_id
  @test_troop_id
end

#title1_nameObject

Returns the value of attribute title1_name.



1272
1273
1274
# File 'lib/R3EXS/RGSS3.rb', line 1272

def title1_name
  @title1_name
end

#title2_nameObject

Returns the value of attribute title2_name.



1273
1274
1275
# File 'lib/R3EXS/RGSS3.rb', line 1273

def title2_name
  @title2_name
end

#title_bgmObject

Returns the value of attribute title_bgm.



1283
1284
1285
# File 'lib/R3EXS/RGSS3.rb', line 1283

def title_bgm
  @title_bgm
end

#variablesObject

Returns the value of attribute variables.



1268
1269
1270
# File 'lib/R3EXS/RGSS3.rb', line 1268

def variables
  @variables
end

#version_idObject

Returns the value of attribute version_id.



1259
1260
1261
# File 'lib/R3EXS/RGSS3.rb', line 1259

def version_id
  @version_id
end

#weapon_typesObject

Returns the value of attribute weapon_types.



1264
1265
1266
# File 'lib/R3EXS/RGSS3.rb', line 1264

def weapon_types
  @weapon_types
end

#window_toneObject

Returns the value of attribute window_tone.



1282
1283
1284
# File 'lib/R3EXS/RGSS3.rb', line 1282

def window_tone
  @window_tone
end