First Strike Items / Item Priority

Hello!
I am looking for a way to have all my items get priority during battle, meaning that if a character uses an item, the item always goes before any enemy action.

There is a script to achieve this effect for skills:

But I am not experienced enough to attempt to change this to work for items as well, especially when I don't know if this would be at all possible. Somy question would be: Has this already been done or would you think that this could easily be done?

thank you 😀
Just in case anyone has a similar issue and comes across this post:
I seem to have found a way to make first-strike items by playing around with game_guys First Strike Skills.

I hope it is okay to post other people's scripts here? If not I am sorry and please delete.

Spoiler: Spoiler
#===============================================================================
# First Strike Skills
# Author game_guy
# Version 1.0
#-------------------------------------------------------------------------------
# Intro:
# Remember how in pokemon games, there were certain moves like Quick Attack you
# would attack first no matter what? This does exactly that!
# NOTE: I made a script called First Strike States. This allows skills to strike
# first instead of having to have a first strike state to attack first.
# NOTE: If more then one actor/enemy uses a first strike skill, the fastest
# will attack first.
#
# Features:
# Setup as many skills
# Skills attack first at every turn
#
# Instructions:
# Go down to Config and set everything up.
#
# First_Strike_Skills = array of skill id's
# Every skill you want to be a First Strike Skill, place the id in the array.
#
# Compatability:
# Not tested with SDK.
# Made for the Default Battle System
# Will probably not work with RTAB (Not Tested)
#
# Credits:
# game_guy ~ For making it
# Shining Riku ~ For the idea based from First Strike States
#===============================================================================
module GameGuy
#==========================================
# Config
#==========================================
First_Strike_Items = [57,86]
#==========================================
# End Config
#==========================================
end
class Scene_Battle
alias gg_attack_first_items_lat make_action_orders
def make_action_orders
gg_attack_first_items_lat
@tempa = @action_battlers
@tempa2 = []
@tempa3 = []
for i in @tempa
if i.current_action.kind == 2 &&
GameGuy::First_Strike_Items.include?(i.current_action.item_id)
@tempa2.push(i)
else
@tempa3.push(i)
end
end
@action_battlers = []
@tempa2.each {|i| @action_battlers.push(i)}
@tempa3.each {|i| @action_battlers.push(i)}
end
end

Original thread: https://forums.rpgmakerweb.com/threads/first-strike-items-item-priority.118537/