Actor Inventory
This script changes the inventory system from a party-based inventory to an actor-based inventory. Each actor now has its own inventory. The inventories are preserved even if you remove an actor from the party and then add them later.
By default, any “gain item” or “remove item” calls will remove items from the party leader. You will need to use script calls to add items to other members.
This script does not provide any scenes or windows so you will need to install other scripts that will provide those. This script also does not provide a way to exchange items between actors.
Download
Script: download here
Required: Core – Inventory
Here are some modified scenes for the actor inventory based on the default scenes/windows.
Or get the entire scene package here.
Addons
- Actor Trade Scene – trade items between actors
Compatibility patches
If you are using Instance Items, you will need a patch for that. Get it here.
Installation
Place this script below Core – Inventory and above Main. If you are using the Shop Manager, these scripts go above it
Usage
The following script calls are available:
gain_weapon(id, amount, actor_id) gain_armor(id, amount, actor_id) gain_item(id, amount, actor_id) lose_weapon(id, amount, actor_id) lose_armor(id, amount, actor_id) lose_item(id, amount, actor_id)
Where id
is the database ID of the object you want to add/remove, amount
is the amount of you want to add/remove, and actor_id
is the actor that you want to add to or remove from.
I know this web page presents quality dependent content
and other information, is there any other website which
gives these data in quality?
you’re actually a good webmaster. The web site loading
pace is amazing. It kind of feels that you’re doing any unique trick.
Moreover, The contents are masterwork. you have done a excellent job on this matter!
Today, I went to the beach with my children. I found a sea shell and gave it to my 4
year old daughter and said “You can hear the ocean if you put this to your ear.” She put the
shell to her ear and screamed. There was a hermit crab inside and it
pinched her ear. She never wants to go back! LoL I know this is entirely off topic but I had
to tell someone!
I was recommended this blog by way of my cousin. I’m not positive whether this publish is written by means of him
as nobody else recognize such certain about my difficulty.
You’re amazing! Thank you!
Hello There. I found your blog using msn. This is
a really well written article. I’ll be sure to bookmark it and return to read more of your useful information. Thanks for
the post. I will certainly return.
Keep this going please, great job!
Very nice post. I just stumbled upon your blog and wanted
to say that I’ve really enjoyed browsing your
blog posts. In any case I’ll be subscribing to your feed and
I hope you write again soon!
Woah! I’m really enjoying the template/theme of this website.
It’s simple, yet effective. A lot of times it’s difficult to
get that “perfect balance” between user friendliness and visual appeal.
I must say you have done a very good job with this.
Additionally, the blog loads super fast for me on Firefox.
Outstanding Blog!
Hey There. I found your blog using msn. This is an extremely well
written article. I will make sure to bookmark it and come back to read more
of your useful info. Thanks for the post. I will definitely comeback.
Hi mates, its fantastic post about cultureand fully
defined, keep it up all the time.
Thanks for one’s marvelous posting! I quite
enjoyed reading it, you may be a great author. I will remember to bookmark your blog and will often come back in the future.
I want to encourage you continue your great posts, have a nice morning!
I have learn some good stuff here. Certainly value bookmarking
for revisiting. I surprise how so much effort you place to create any such wonderful informative site.
Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something.
I think that you can do with some pics to drive the message home a bit, but instead of that, this
is fantastic blog. A great read. I will certainly be back.
This is the perfect website for anyone who hopes
to find out about this topic. You understand so much its almost hard to argue with you (not that I actually will need
to…HaHa). You definitely put a brand new spin on a topic that has
been discussed for decades. Great stuff, just wonderful!
Hi there, I would like to subscribe for this webpage to get newest updates, so where can i do it please help out.
Today, while I was at work, my sister stole my iPad and tested to
see if it can survive a 30 foot drop, just so she can be
a youtube sensation. My iPad is now broken and she has 83 views.
I know this is entirely off topic but I had to share it with someone!
Hello, I think your blog might be having browser compatibility issues.
When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping.
I just wanted to give you a quick heads up! Other then that, excellent blog!
Hurrah, that’s what I was seeking for, what a material!
present here at this webpage, thanks admin of this website.
For the reason that the admin of this website is working, no doubt
very shortly it will be renowned, due to its quality
contents.
Everything is very open with a clear clarification of the issues.
It was definitely informative. Your website is very helpful.
Thanks for sharing!
Attractive portion of content. I simply stumbled
upon your weblog and in accession capital to say that I acquire
in fact enjoyed account your blog posts. Any way I will be
subscribing for your feeds and even I fulfillment you access consistently fast.
Undeniably believe that which you stated. Your favorite reason appeared
to be on the internet the simplest thing to be aware of.
I say to you, I certainly get irked while people consider
worries that they plainly do not know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people
can take a signal. Will probably be back to get more. Thanks
I’m impressed, I have to admit. Seldom do I come across a blog that’s equally educative and amusing, and let me tell you, you’ve hit the nail on the head.
The issue is an issue that not enough men and women are speaking intelligently about.
I’m very happy I found this during my hunt for something concerning this.
Hey there! Someone in my Facebook group shared this website with us so I
came to take a look. I’m definitely enjoying the information. I’m bookmarking and will be tweeting this to my followers!
Exceptional blog and amazing design and style.
I am genuinely thankful to the owner of this website who has shared this fantastic piece of writing at at this place.
Hello! I simply want to offer you a huge thumbs up for your great info you’ve got right here on this post.
I am coming back to your site for more soon.
It’s an remarkable article in favor of all the web people; they will obtain advantage from it I am sure.
I have read some just right stuff here. Definitely value bookmarking for
revisiting. I surprise how a lot effort you place to create the sort of great informative site.
I’m really impressed with your writing skills as
well as with the layout on your blog. Is this a paid theme or did you customize it yourself?
Anyway keep up the nice quality writing, it’s rare to see a nice blog like this one these days.
Hey! This is kind of off topic but I need some guidance from an established blog.
Is it tough to set up your own blog? I’m not very techincal but
I can figure things out pretty quick. I’m thinking about making my own but I’m not sure where to begin. Do you have any tips or
suggestions? Cheers
Wow, that’s what I was seeking for, what a material!
present here at this website, thanks admin of this web site.
Howdy! I could have sworn I’ve been to this website before but after going through some of the posts I
realized it’s new to me. Anyways, I’m definitely delighted I came across it and I’ll
be bookmarking it and checking back often!
Hey! I know this is somewhat off-topic but I needed to ask.
Does managing a well-established website like yours take a massive amount
work? I am brand new to blogging but I do write in my journal daily.
I’d like to start a blog so I will be able to share
my personal experience and thoughts online. Please let me know if you
have any kind of suggestions or tips for brand
new aspiring bloggers. Thankyou!
Oh my goodness! Awesome article dude! Thanks,
However I am going through troubles with your RSS. I don’t know
why I can’t subscribe to it. Is there anybody having the same RSS problems?
Anyone that knows the solution can you kindly respond? Thanx!!
Article writing is also a excitement, if you be familiar
with after that you can write or else it is difficult
to write.
bookmarked!!, I really like your site!
Howdy! Quick question that’s completely off topic. Do you know how to make your site
mobile friendly? My site looks weird when browsing from my
iphone. I’m trying to find a theme or plugin that might be able to fix this issue.
If you have any recommendations, please share.
Appreciate it!
We’re a group of volunteers and starting a new scheme in our
community. Your website provided us with valuable info to work on. You have done
an impressive job and our entire community will be thankful to
you.
Hello There. I discovered your weblog using msn. This is an extremely neatly written article.
I’ll make sure to bookmark it and return to read more of your useful information.
Thanks for the post. I’ll definitely comeback.
Hi there everybody, here every one is sharing such know-how, so it’s fastidious to read this webpage, and I used to pay a
quick visit this web site all the time.
May I simply just say what a relief to find somebody who truly understands what
they are talking about over the internet. You definitely understand how to bring an issue to light and make it important.
A lot more people ought to look at this and understand this
side of your story. I can’t believe you aren’t more popular because
you certainly have the gift.
Great beat ! I would like to apprentice while you
amend your site, how can i subscribe for a blog site?
The account helped me a acceptable deal. I had been tiny bit acquainted of
this your broadcast provided bright clear concept
It’s very simple to find out any topic on net as compared to books, as I found this article at this website.
I’m gone to tell my little brother, that he should also visit this webpage on regular basis to obtain updated from
hottest news.
Wonderful items from you, man. I’ve have in mind your stuff
previous to and you are just extremely excellent. I really like what you
have got right here, really like what you are saying and the way
in which through which you assert it. You are making it enjoyable and you continue to care for to stay it smart.
I cant wait to learn much more from you. This is actually
a terrific website.
Hi there everyone, it’s my first pay a quick visit at this site, and paragraph is genuinely
fruitful for me, keep up posting these types of content.
I am extremely impressed with your writing skills as well as with the structure in your blog.
Is that this a paid theme or did you modify
it yourself? Either way stay up the nice quality writing, it’s uncommon to see a great blog like this one
nowadays..
What a information of un-ambiguity and preserveness of precious know-how concerning unpredicted
emotions.
Hey very nice blog!
Any inventory limit scripts compatible with this one?
Hi, Hime!
I saw you planned to do a plugin version for RMMV. Is it coming yet?
Is an MV version in the works?
Yes. There are some issues at the moment.
Can’t wait for an MV plugin version of this script!
Hello, I was wondering a couple things that I couldn’t find specifically outlined in your description;
I’m assuming when the “item” command is selected by a player in battle, they only have access to the items in their own inventory?
Also, is it possible to still have a communal inventory but only have certain items sent to a character-specific inventory? This would be ideal for the kind of battle system I am trying to implement.
Yes, during battle, the inventory will be pulled from the actor.
This script assumes that inventory will be handled by actors.
Whenever I use the select key items command it only pulls the item list from the party leader. Is there any way I can get it to show a list of all the items that the party collectively has?
Add this somewhere after the script https://gist.github.com/HimeWorks/778102940f8c70ecf7f38faad4e56cf2
It doesn’t support using items however, so if they are consumable things likely will not work out properly.
That works perfectly! Thank you so much!
I can pass all items of actor[1] to actor[2] inventory?
Are you asking how can you do that?
Well, yes
Is possible do that?
Is it possible to perhaps add a skill equip?
So that an actor can only bring a few skills in each battle.
So even though actor 1 has 6 skills learned, he can only bring in 3 skills per battle.
Yami has such a script. You can search the master script list for it.
Excuse me, but I was trying to use this script with Mr. Bubbles “Too Much Information Item Scene” and, even when items appear in the Trade Scene, they don’t appear in the Item Scene. Is there a way to solve this?
~Sorry for my bad english, and sorry if this sounds rude, I think it sounds rude but I don’t know how to put it with other words >w<~
This script completely changes the way items are handled: instead of the party holding all the items, each actor holds their own items. Other scripts would likely need to be changed accordingly.
Did my question get deleted?
Never mind
Hey Hime,
I was trying to create a addon that limited an actor’s inventory from exceeding X amount, but for some reason the game still exceeds the max amount of items in the actors inventory no matter what I do. Here’s my source code if you think you can help me out with this and if you want you can just apply it to your Actor Inventory script later on.
https://db.tt/2ktRWmP8
Other scripts I’m using are:
Instance Items
Core – Inventory
Core Inventory – Instance Items patch
Actor Inventory
Actor Inventory – Instance Items patch
The item max methods only determines how much you can have of a specific item, not of inventory in general. You will need to add additional logic to gain_item (or in your events) to check whether the max number of items has been exceeded.
Thanks for the reply, I’ll take that into consideration.
I am having some trouble with this script. When I try to add an item to an actor's inventory with either an event command or a script, the menu says that the actor has 0 of that item. When I remove an armour, the menu also says I have 0 but I am still able to equip it again. When I use an event to assign a variable to the number of a certain item in the inventory and then to display that number, it also returns 0. However, the actor trade scene (from your other script) displays the correct number of items and allows trading.
Are you using the custom scenes provided? Those are required to properly display actor inventories.
I updated this script to the version released July 30, 2014 and all the issues were solved. I first downloaded it a little over a month ago and didn't expect there to be an update.
Oh that bug, ya I update scripts from time to time. Sometimes I don't publish any fixes. If you're following me on twitter I usually make smaller announcements there like if I fix a bug or something.
Would you ever consider making a way to determine who gets drops from item chests and such? I'm using GubiD's TBS along with this script for a Fire Emblem-esque game, but it feels odd to have an item go to the party leader's inventory when another member found that item.
I would like to know too.
Is there a way for this to be used with either Yanfly or Neonblack's Skill Cost scripts, specifically with item costs? So that to use an ability the user has to have an item in their inventory?
It might, depending on how they are written. If they require you to type in a formula then you can just check the actor's inventory instead of the party's inventory.
Sorry to bother you again, but I'm still new to scripting in RGSS3. What string would I use to check for the actor's inventory instead of the party's inventory?
I don't know how you would reference the actor but if "self" refers to the actor, you can say
Which checks if item 3 is in your inventory.
Sorry if I missed it… But is there a way to check if a person has something in their inventory? The normal way is broken if you add this. (Either this or the "core" script.) I have conditionals that check if an item is in the inventory… And with these scripts it just assumes everything is in the inventory. So If I put a conditional to check for "Apple" in the inventory, and put a message to say, "I have an apple." Even if you don't have an apple in ANY inventory, it will still run that conditional as true. I apologize if this is mentioned somewhere, but I'm not seeing it.
There was a bug in the code. Should be fixed now.
Hey there – I've found your scripts really helpful.
I do have a small problem with this one though.. Even when my main character (actor id 1) isn't in the party, all of the items go to his inventory instead of the character who's actually the party leader at that time.
Are you sure there are no scripts that change the leader to a fixed actor?
I keep turning up, like a cockroach, or something.
I seem to have run into an issue with at least this script (or, well, the scenes) and the key items prompt. When last you saw me, I was looking into possibly making another person's script compatible with yours, but it seems that the select key items event command won't register any key items in any inventory. Furthermore, attempting to select the empty slot crashes with the error:
Script 'Actor Inventory Scenes' line 72: NoMethodError occurred.
undefined method 'usable?' for nil:NilClass
I've updated it so that it pulls the list from the leader of the party.
I keep getting an error whenever I select an item (Empty Inventory) for an actor and when trading items when only 1 actor exists and no items available. It also gives me the same error during battle. Also I am using Neon Black’s battle engine.
Error:
line30: NoMethodError occurred
undefined method ‘last_item’ for nil:NilClass
Forgot to add the battle addon, that works fine now. But the problem in the menus still persists.
“Trading items”? What does that mean?
With the ‘Actor Trade Scene’ script.
This is a really great script. Thanks a lot!
I’m wondering, could it be possible to add a limit on how much items an individual actor can carry? This would make a game more interesting because the player would need to distribute the items equally.
Sorry for bad english 😛
Ah. I know there’s already some scripts out there that put a limit on the inventory, but they don’t seem to work with this script. Sorry and thanks again.
I have not thought of a good way to enforce inventory limits so you should see if they are willing to add support for the Core: Inventory script that this script relies on.
I have not thought of a good way to enforce inventory limits so you should see if they are willing to add support for the Core: Inventory script that this script relies on.
very interesting, but I don’t agree with you
This is pretty AMAZING man! If their are any Suikoden 1 lovers out there willing and trying to make a Suikoden 1 fan made game, you basically just hit the nail on the head for the actor inventory system 🙂 Well done!