Actor Inventory

Actor Inventory

Version: 1.11

Author: Kread-EX

Introduction

Inspired from the Suikoden series. Allows consumable items to be equipped and carried in battle, which means that only these can be used. It offers strategic options, as the player is forced to decide between using up equipment slots for stats or items.

Requires Yanfly's Ace Equip Engine.

Features

  • Only equipped items can be used.
  • Now you can lock items to certain classes.
Screenshots
Spoiler
actinv02.jpg
Instructions

Go to the config module and set the slot ID for the items.

ITEMS_ETYPE_ID = 4By default, it set to 4 (the accessory slot in Ace Equip Engine). Other than that, it’s pretty plug and play, as long as you know how to configure Ace Equip Engine properly. Visit Yanfly’s page for that or harass him directly hahahahaha. *ahem*Lock an item to certain classes:

<class_locks: x, y...>Use this notetag on the Item tab and put the ID of the classes allowed to equip the item.Script

Direct Download!

Blog page

Terms of use

You are free to adapt this work to suit your needs.

You can use this work for commercial purposes if you like it.

Credit is appreciated.

Author's Notes

Idea given to me by Seiryuki. Reposted here because Hesufo made me a feature request and never noticed it was done.
That's a really nice idea and I agree it would make for extreme tactical thinking.
v1.07 - fixed compatibility with various YF scripts.
I got the following error while trying out the new version (the feature update I requested)

error.png
What did you do, precisely? Can't reproduce it for now.
Hmmm, this might be quite useful to me. I will have to play with it.
What did you do, precisely? Can't reproduce it for now.
Sorry for not disclosing more information, I was kind of in a rush. I did the following:

I equipped a HP-healing item to Actor 1's inventory (in the accessory sub-type, 4). Afterwards, I attempted to use said item in battle, and as soon as Actor 1's turn began, the game crashed with that message.

Script-wise, uh... just downloaded the updated version and pasted it over the original script. With the previous version, the action I used had worked perfectly.

I use Actor Inventory + your Item Charges and Multiple Equipment Types scripts. Above those, I have a lot of Yanfly's scripts, including the Core Engine and the Battle Engine (as well as the Equip Engine which is a requirement of your script).
Nope, I still can't duplicate it. And your error message points in Game_Actor so I have trouble to pinpoint the cause either. Could you send me by PM a demo with the issue?
Working with this script at the moment and really liking it. Just wondering if anyone has determined how to increase the number of item slots as a character levels up. Is the only method to change the actor or class when your player levels up or is there an easier way? Also, has anyone figured out how to remove all the greyed out options in the item list (Weapon, Headgear, Armor, etc) so only the items will show up in battle?
Kread,

Is there a way with your script to only have 4 slots and have the person be able to equip items or weapons in it? I want the player to make a choice as to what they want to take into battle, a variety of weapons or a variety of items.
I am getting the following error with this script. Any ideas?

Script Game actor Line 119: Nomethoderror occured.

Undefined method 'size' for nil:nil:class
How do you add those "Other" slots seen in the screenshot? I'm kinda hopeless with scripts...
@casia: that is something to configure in Ace Equip Engine.
I knew that. I meant more like how I can define what slots accept what kinds of equipment and items.
It's in his manual.

# -----------------------------------------------------------------------------
# Armour Notetags - These notetags go in the armour notebox in the database.
# -----------------------------------------------------------------------------
# <equip type: x>
# <equip type: string>
# For the newer equip types, replace x or string with the equip type ID or the
# name of the equip type respectively. This will set that armour to that
# particular equip type.
and.

# This hash adjusts the new equip types (past 4+). Adjust them to match

# their names properly. You can choose to allow certain types of equipment
# be removable or not, or whether or not optimize will affect them.
.or may be I misread your post.

Did you want for a custom slot to hold certain type of item.

example:

slot 5 is only for bombs

slot 6 is only for sweets

slot 7 is only for drinks

If yes, you'll need to ask kread-ex or someone to make an addon.

This script only sets slots to hold all items.

Original thread: https://forums.rpgmakerweb.com/threads/actor-inventory.994/