删除部分 rescue
# @taroxd metadata 1.0
# @display 删除部分 rescue
# @help 测试模式下,删除默认脚本中的部分 rescue
# @id remove_rescue
module Taroxd
  RemoveRescue = $TEST
end

if Taroxd::RemoveRescue
  class RPG::UsableItem::Damage
    def eval(a, b, v)
      [Kernel.eval(@formula), 0].max * sign
    end
  end

  class << DataManager

    def savedata_exist(index)
      filename = make_filename(index)
      return unless File.exist?(filename)
      block_given? ? yield(filename) : filename
    end

    alias_method :save_game, :save_game_without_rescue

    def load_game(index)
      load_game_without_rescue(index) if savedata_exist(index)
    end

    def load_header(index)
      load_header_without_rescue(index) if savedata_exist(index)
    end

    def delete_save_file(index)
      savedata_exist(index) { |f| File.delete(f) }
    end

    def savefile_time_stamp(index)
      savedata_exist(index) { |f| File.mtime(f) } || Time.at(0)
    end
  end
end
删除等级功能
# @taroxd metadata 1.0
# @id remove_level
# @display 删除等级功能
# @help 移除所有有关等级和经验值的功能
module Taroxd
  # 试图访问角色等级时执行。参数即为方法的参数。
  RemoveLevel = -> * { 0 }
end

class Game_Actor < Game_Battler

  # 等级视为初始等级。仅用于计算属性
  def level
    actor.initial_level
  end

  %W(level_up level_down init_exp exp exp_for_level
    current_level_exp next_level_exp max_level? max_level
    change_exp display_level_up gain_exp final_exp_rate
    reserve_members_exp_rate change_level).each do |name|
    define_method name, Taroxd::RemoveLevel
  end
end

Window_Base.send :define_method, :draw_actor_level, Taroxd::RemoveLevel
Window_Status.send :define_method, :draw_exp_info, Taroxd::RemoveLevel
删除整队指令
# @taroxd metadata 1.0
# @id remove_formation_command
# @display 删除整队指令
module Taroxd
  RemoveFormationCommand = true
end

class Window_MenuCommand < Window_Command
  def add_formation_command; end
end