VX Multiple actions per turn

I've tried searching the internet for an RPG Maker VX script that allows player characters to act multiple times per turn since RPG Maker VX doesn't support it, but I couldn't find any online. Anyone willing to help out here?
Hello,

I could not find anything, so here is a script I wrote:
Ruby:
#==============================================================================
# VX Extra Actions
#------------------------------------------------------------------------------
# Author: Timtrack
# date: 15/02/2026
#==============================================================================

$imported ||= {}
$imported["TIM-ExtraActions"] = true
  
#==============================================================================
# Description
#------------------------------------------------------------------------------
# Add extra actions to actors and enemies.
# To add actions, put in the notetags of weapons, armors, states or enemies:
# <extra actions: x>
# (x can be positive or negative)
# If the battler has 0 or less actions, they won't act at all.
#
# For actors and classes, since they don't have notetags, you can setup extra 
# actions in the module below.
#==============================================================================
# Terms of use: free for commercial/non-commercial games if you give credit
#==============================================================================

module TIM
  module ExtraActions
    ACTORS_ACTIONS = {
      #actor_id => extra_actions
      #ex: 1 => 1
    } #don't remove
    ACTORS_ACTIONS.default = 0 #don't remove
    
    CLASS_ACTIONS = {
      #class_id => extra_actions
      #ex: 2 => 0
    } #don't remove
    CLASS_ACTIONS.default = 0 #don't remove
    
    module REGEXP
      EXTRA_ACTION = /^<extra actions:\s*(\-?\d+)>/i
    end
    
#==============================================================================
# END OF CONFIGURATION, DON'T EDIT THINGS BELOW (unless you know what you do)
#==============================================================================
    def self.load_notetags(o)
      o.extra_actions = 0
      o.note.split(/[\r\n]+/).each do |line|
        case line
        when REGEXP::EXTRA_ACTION
          o.extra_actions = $1.to_i
        end
      end
    end
  end #ExtraActions
end #TIM


#==============================================================================
# Scene_Title
#==============================================================================
class Scene_Title < Scene_Base
  #--------------------------------------------------------------------------
  # alias method: load_database
  #--------------------------------------------------------------------------
  alias tim_extra_actions_load_database load_database
  def load_database
    tim_extra_actions_load_database
    [$data_states, $data_weapons, $data_armors, $data_enemies].each do |g|
      g.each{|o| TIM::ExtraActions.load_notetags(o) if o}
    end
  end
end #Scene_Title

#==============================================================================
# RPG::Class
#==============================================================================
class RPG::Class
  #--------------------------------------------------------------------------
  # new method: extra_actions
  #--------------------------------------------------------------------------
  def extra_actions
    TIM::ExtraActions::CLASS_ACTIONS[id]
  end
end #RPG::Class

#==============================================================================
# RPG::Actor
#==============================================================================
class RPG::Actor
  #--------------------------------------------------------------------------
  # new method: extra_actions
  #--------------------------------------------------------------------------
  def extra_actions
    TIM::ExtraActions::ACTORS_ACTIONS[id]
  end
end #RPG::Actor

#==============================================================================
# RPG::BaseItem
#==============================================================================
class RPG::BaseItem
  attr_accessor :extra_actions
end #RPG::BaseItem

#==============================================================================
# RPG::Enemy
#==============================================================================
class RPG::Enemy
  attr_accessor :extra_actions
end #RPG::Enemy

#==============================================================================
# RPG::State
#==============================================================================
class RPG::State
  attr_accessor :extra_actions
end #RPG::State

#==============================================================================
# Game_Battler
#==============================================================================
class Game_Battler
  attr_accessor :action_index #used to teplace reference to the action
  
  #--------------------------------------------------------------------------
  # new methods: on_input_start -> to setup the actions
  #--------------------------------------------------------------------------
  def on_input_start
    init_actions
  end
  
  #--------------------------------------------------------------------------
  # new method: init_actions -> called before asking for actions
  #--------------------------------------------------------------------------
  def init_actions
    @action.clear
    @extra_actions = []
    self.action_index = 0
    return unless extra_actions_count > 0
    @extra_actions = Array.new(extra_actions_count){Game_BattleAction.new(self)}
  end
  
  #--------------------------------------------------------------------------
  # overwrite method: action -> outside references to battler.action will 
  # access the extra actions too
  #--------------------------------------------------------------------------
  def action
    all_actions[action_index]
  end
  
  #--------------------------------------------------------------------------
  # new method: all_actions
  #--------------------------------------------------------------------------
  def all_actions
    [@action] + @extra_actions
  end
  
  #--------------------------------------------------------------------------
  # new method: clear_actions
  #--------------------------------------------------------------------------
  def clear_actions
    all_actions.each{|a| a.clear}
  end
  
  #--------------------------------------------------------------------------
  # new method: extra_actions_count
  #--------------------------------------------------------------------------
  def extra_actions_count
    states.inject(0){|r,s| r + s.extra_actions}
  end
  
  #--------------------------------------------------------------------------
  # new method: actions_count
  #--------------------------------------------------------------------------
  def actions_count
    [1 + extra_actions_count, 0].max
  end
  
  #--------------------------------------------------------------------------
  # alias method: movable?
  #--------------------------------------------------------------------------
  alias tim_xa_movable? movable?
  def movable?
    tim_xa_movable? && actions_count > 0
  end
  
  #--------------------------------------------------------------------------
  # alias method: inputable?
  #--------------------------------------------------------------------------
  alias tim_xa_inputable? inputable?
  def inputable?
    tim_xa_inputable? && actions_count > 0
  end
  
  #--------------------------------------------------------------------------
  # new method: make_actions
  #--------------------------------------------------------------------------
  def make_actions
    make_action
    original_action = @action
    @extra_actions.map do |a|
      @action = a
      make_action
      @action #could have been replaced inbetween
    end
    @action = original_action
  end
end #Game_Battler

#==============================================================================
# Game_Actor
#==============================================================================
class Game_Actor < Game_Battler
  #--------------------------------------------------------------------------
  # override method: extra_actions_count
  #--------------------------------------------------------------------------
  def extra_actions_count
    v = equips.inject(super){|r,e| e ? r + e.extra_actions : r}
    v += actor.extra_actions
    v += self.class.extra_actions
  end
end #Game_Actor

#==============================================================================
# Game_Enemy
#==============================================================================
class Game_Enemy < Game_Battler
  #--------------------------------------------------------------------------
  # override method: extra_actions_count
  #--------------------------------------------------------------------------
  def extra_actions_count
    super + enemy.extra_actions
  end
end #Game_Enemy

#==============================================================================
# Game_Unit
#==============================================================================
class Game_Unit
  #--------------------------------------------------------------------------
  # new method: on_input_start
  #--------------------------------------------------------------------------
  def on_input_start
    members.each{|bat| bat.on_input_start}
  end
  
  #--------------------------------------------------------------------------
  # overwrite method: clear_actions
  #--------------------------------------------------------------------------
  def clear_actions
    members.each{|bat| bat.clear_actions}
  end
end #Game_Unit

#==============================================================================
# Game_Troop
#==============================================================================
class Game_Troop < Game_Unit
  #--------------------------------------------------------------------------
  # overwrite method: make_actions
  #--------------------------------------------------------------------------
  def make_actions
    return clear_actions if @preemptive
    members.each{|e| e.make_actions}
  end
end #Game_Troop

#==============================================================================
# Scene_Battle
#==============================================================================
class Scene_Battle
  #--------------------------------------------------------------------------
  # alias method: start_party_command_selection
  #--------------------------------------------------------------------------
  alias tim_xa_start_party_command_selection start_party_command_selection
  def start_party_command_selection
    $game_party.on_input_start
    $game_troop.on_input_start
    tim_xa_start_party_command_selection
  end
  
  #--------------------------------------------------------------------------
  # overwrite method: next_actor (went for recursive call instead of loop)
  #--------------------------------------------------------------------------
  def next_actor
    bat = @active_battler
    if bat && bat.all_actions.size > bat.action_index + 1
      bat.action_index += 1
      return start_actor_command_selection
    end
    return start_main if @actor_index >= $game_party.members.size-1
    @status_window.index = @actor_index += 1
    @active_battler = $game_party.members[@actor_index]
    return next_actor unless @active_battler.inputable?
    if @active_battler.auto_battle
      @active_battler.make_actions #changed this line too
      return next_actor
    end
    start_actor_command_selection
  end
  
  #--------------------------------------------------------------------------
  # alias method: prior_actor
  #--------------------------------------------------------------------------
  alias tim_xa_prior_actor prior_actor
  def prior_actor
    v = @active_battler.action_index -= 1
    return start_actor_command_selection if v >= 0
    tim_xa_prior_actor
  end
  
  #--------------------------------------------------------------------------
  # alias method: start_main -> clear action index data of party
  #--------------------------------------------------------------------------
  alias tim_xa_start_main start_main
  def start_main
    $game_party.members.each{|b| b.action_index = 0}
    tim_xa_start_main
  end
  
  #--------------------------------------------------------------------------
  # alias method: set_next_active_battler
  #--------------------------------------------------------------------------
  alias tim_xa_set_next_active_battler set_next_active_battler
  def set_next_active_battler
    bat = @active_battler
    if bat && bat.all_actions.size > bat.action_index + 1
      return bat.action_index += 1
    end
    tim_xa_set_next_active_battler
  end
end #Scene_Battle

I have only tested with a vanilla project and basic enemies (they used normal attack), please tell if you encounter any issue.
Also, if you use custom battle scripts, you might need compatibility patches with my script as I overwrote a few methods.
I do believe that this works for vanilla VX projects, but the game I'm working on is a fair bit different, which means it doesn't work as intended, such as it applying when a certain status effect grants you multiple actions. Any suggestions?
such as it applying when a certain status effect grants you multiple actions
On a vanilla project with my script, adding states should add/remove actions for the next turn (and until the state is cleared). So if it does not happen in your project, then that's a compatibility issue.

If that's indeed a compatibility problem, then I need to know which scripts you use (especially the ones affecting the Scene_Battle) in order to write a compatibility patch.

(I'm not familiar enough with VX scripts, so if you list your scripts, you should provide a link to the pages you got them from, or share your Scripts.rvdata file to share all of them)
Ok, here's the scripts file I use. Do keep in mind most of it is in Japanese.
Oh yeah that's a lot of scripts. I did not expect THAT many ahah.
I can't help you as I get error messages from an empty project with these scripts (and I unfortunately don't understand japanese), so trying to fit my script to your project would be difficult :')

Maybe try to put my script below all the others? (but above main and the WF-RGSS_Scripts_Main_rev-29 thing) From what I see, the methods I overwrote were not modified by your scripts.
Yeah that didn't work either.

Original thread: https://forums.rpgmakerweb.com/threads/multiple-actions-per-turn.182345/