Kread-EX

You're all bakas
Veteran
Joined
Mar 16, 2012
Messages
863
Reaction score
81
First Language
French
Primarily Uses
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
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.
 
Last edited by a moderator:

Holder

Loading...
Veteran
Joined
Mar 16, 2012
Messages
757
Reaction score
435
First Language
English
Primarily Uses
N/A
That's a really nice idea and I agree it would make for extreme tactical thinking.
 

Kread-EX

You're all bakas
Veteran
Joined
Mar 16, 2012
Messages
863
Reaction score
81
First Language
French
Primarily Uses
v1.07 - fixed compatibility with various YF scripts.
 
Last edited by a moderator:

Hesufo

Homu!
Veteran
Joined
Mar 14, 2012
Messages
446
Reaction score
36
First Language
Spanish
Primarily Uses
I got the following error while trying out the new version (the feature update I requested)

error.png
 

Kread-EX

You're all bakas
Veteran
Joined
Mar 16, 2012
Messages
863
Reaction score
81
First Language
French
Primarily Uses
What did you do, precisely? Can't reproduce it for now.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
16,038
Reaction score
8,904
First Language
English
Primarily Uses
RMMV
Hmmm, this might be quite useful to me. I will have to play with it.
 

Hesufo

Homu!
Veteran
Joined
Mar 14, 2012
Messages
446
Reaction score
36
First Language
Spanish
Primarily Uses
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).
 
Last edited by a moderator:

Kread-EX

You're all bakas
Veteran
Joined
Mar 16, 2012
Messages
863
Reaction score
81
First Language
French
Primarily Uses
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?
 

Jamaz

Villager
Member
Joined
Apr 5, 2012
Messages
17
Reaction score
5
First Language
English
Primarily Uses
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?
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
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.
 

Caedmon

Veteran
Veteran
Joined
Aug 9, 2012
Messages
248
Reaction score
16
First Language
English
Primarily Uses
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
 

Casia

Veteran
Veteran
Joined
May 8, 2013
Messages
313
Reaction score
54
First Language
English
Primarily Uses
How do you add those "Other" slots seen in the screenshot? I'm kinda hopeless with scripts...
 

xein

A stranger in a strange world
Veteran
Joined
Mar 17, 2012
Messages
307
Reaction score
15
Primarily Uses
@casia: that is something to configure in Ace Equip Engine.
 
Last edited by a moderator:

Casia

Veteran
Veteran
Joined
May 8, 2013
Messages
313
Reaction score
54
First Language
English
Primarily Uses
I knew that. I meant more like how I can define what slots accept what kinds of equipment and items.
 

xein

A stranger in a strange world
Veteran
Joined
Mar 17, 2012
Messages
307
Reaction score
15
Primarily Uses
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.
 
Last edited by a moderator:

Latest Threads

Latest Posts

Latest Profile Posts

Gotta love when RM just decides it's done with existence and closes when you're in an event.
Good grief am I ever so dusty on music creation. Never move, gentleman and ladies!
After waiting for several months to observe the results of vaccines, I finally decided to go for Comirnaty, because now my job needs me to either be vaccinated or take a regular testing every 2 weeks(240 HKD per test), and it seems to me that Comirnaty is safe enough in my case :)
So, to create multiple faces one needs to first export, then import, over and over... who came up with this weird mechanism...
Away from home now since it reduce COVID spread

Forum statistics

Threads
112,314
Messages
1,067,279
Members
145,939
Latest member
fooples
Top