系统的数据类。
游戏标题。
检查更新用的随机数,编辑器每次保存数据时都会变更此数值。
日文版中始终为 true。
初始队伍。角色 ID 的数组。
货币单位。
窗口颜色(Tone)。
属性列表。以属性 ID 为下标的字符串数组,0 号元素为空字符串。
技能类型列表。以技能类型 ID 为下标的字符串数组,0 号元素为空字符串。
武器类型列表。以武器类型 ID 为下标的字符串数组,0 号元素为空字符串。
护甲类型列表。以护甲类型 ID 为下标的字符串数组,0 号元素为空字符串。
开关列表。以开关 ID 为下标的字符串数组,0 号元素为 nil。
变量列表。以变量 ID 为下标的字符串数组,0 号元素为 nil。
小舟设置(RPG::System::Vehicle)。
大船设置(RPG::System::Vehicle)。
飞艇设置(RPG::System::Vehicle)。
标题画面图像(背景)的文件名。
标题画面图像(边框)的文件名。
绘制标题文字的开关。
启动时初始化 MIDI 的开关。
初始时玩家行走图透明的开关。
队列行进(开火车)的开关。
慢性伤害可导致无法战斗的开关。
地形伤害可导致无法战斗的开关。
在战斗画面显示特技值的开关。
替补队员可获得经验值的开关。
标题画面 BGM(RPG::BGM)。
战斗画面 BGM(RPG::BGM)。
战斗结束 ME(RPG::ME)
游戏结束 ME(RPG::ME)。
声效。RPG::SE 的数组。
玩家初始位置的地图 ID。
玩家初始位置的地图 X 坐标。
玩家初始位置的地图 Y 坐标。
用语(RPG::System::Terms)。
战斗测试的队伍设置。RPG::System::TestBattler 的数组。
战斗测试的敌群 ID。
编辑敌群以及战斗测试中,战斗背景(地板)图像的文件名。
编辑敌群以及战斗测试中,战斗背景(墙壁)图像的文件名。
在编辑动画时使用的战斗图文件名。
在编辑动画时使用的战斗图色调变化量(0~360)。
编辑器内部使用。当前正在编辑的地图 ID 。
class RPG::System
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
attr_accessor :game_title
attr_accessor :version_id
attr_accessor :japanese
attr_accessor :party_members
attr_accessor :currency_unit
attr_accessor :skill_types
attr_accessor :weapon_types
attr_accessor :armor_types
attr_accessor :elements
attr_accessor :switches
attr_accessor :variables
attr_accessor :boat
attr_accessor :ship
attr_accessor :airship
attr_accessor :title1_name
attr_accessor :title2_name
attr_accessor :opt_draw_title
attr_accessor :opt_use_midi
attr_accessor :opt_transparent
attr_accessor :opt_followers
attr_accessor :opt_slip_death
attr_accessor :opt_floor_death
attr_accessor :opt_display_tp
attr_accessor :opt_extra_exp
attr_accessor :window_tone
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 :battleback1_name
attr_accessor :battleback2_name
attr_accessor :battler_name
attr_accessor :battler_hue
attr_accessor :edit_map_id
end