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

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.

You may also like...

99 Responses

  1. Armin says:

    I know this web page presents quality dependent content
    and other information, is there any other website which
    gives these data in quality?

  2. Laci says:

    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!

  3. Markeyta says:

    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!

  4. Fahad says:

    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!

  5. Oneal says:

    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.

  6. Leon says:

    Keep this going please, great job!

  7. Dhyana says:

    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!

  8. Quintisha says:

    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!

  9. Shelbie says:

    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.

  10. Diera says:

    Hi mates, its fantastic post about cultureand fully
    defined, keep it up all the time.

  11. Shira says:

    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!

  12. Guido says:

    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.

  13. Akita says:

    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.

  14. Lamekia says:

    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!

  15. Tashunda says:

    Hi there, I would like to subscribe for this webpage to get newest updates, so where can i do it please help out.

  16. Norman says:

    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!

  17. Baudelio says:

    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!

  18. Kanitra says:

    Hurrah, that’s what I was seeking for, what a material!
    present here at this webpage, thanks admin of this website.

  19. Kaley says:

    For the reason that the admin of this website is working, no doubt
    very shortly it will be renowned, due to its quality
    contents.

  20. Wanisha says:

    Everything is very open with a clear clarification of the issues.
    It was definitely informative. Your website is very helpful.

    Thanks for sharing!

  21. Genie says:

    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.

  22. Lenin says:

    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

  23. Tommy says:

    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.

  24. Danah says:

    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.

  25. Rehana says:

    I am genuinely thankful to the owner of this website who has shared this fantastic piece of writing at at this place.

  26. Capricia says:

    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.

  27. Stephaine says:

    It’s an remarkable article in favor of all the web people; they will obtain advantage from it I am sure.

  28. Cherylee says:

    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.

  29. 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.

  30. Imelda says:

    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

  31. Deann says:

    Wow, that’s what I was seeking for, what a material!
    present here at this website, thanks admin of this web site.

  32. Keiry says:

    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!

  33. Attila says:

    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!

  34. Ingrid says:

    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!!

  35. Brandilyn says:

    Article writing is also a excitement, if you be familiar
    with after that you can write or else it is difficult
    to write.

  36. Rasul says:

    bookmarked!!, I really like your site!

  37. Leesa says:

    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!

  38. Kee says:

    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.

  39. Lucrecia says:

    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.

  40. Lynnea says:

    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.

  41. Jesse says:

    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.

  42. Tylene says:

    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

  43. Fernado says:

    It’s very simple to find out any topic on net as compared to books, as I found this article at this website.

  44. Iana says:

    I’m gone to tell my little brother, that he should also visit this webpage on regular basis to obtain updated from
    hottest news.

  45. Yaacov says:

    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.

  46. Charlotte says:

    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.

  47. Tabethia says:

    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..

  48. Ofelia says:

    What a information of un-ambiguity and preserveness of precious know-how concerning unpredicted
    emotions.

  49. Aubrie says:

    Hey very nice blog!

  50. Retro says:

    Any inventory limit scripts compatible with this one?

  51. Arkaik says:

    Hi, Hime!
    I saw you planned to do a plugin version for RMMV. Is it coming yet?

  52. Anonymous says:

    Is an MV version in the works?

  53. Indigoair says:

    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.

    • Hime says:

      Yes, during battle, the inventory will be pulled from the actor.
      This script assumes that inventory will be handled by actors.

  54. AllegedMexican says:

    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?

  55. LaganRK says:

    I can pass all items of actor[1] to actor[2] inventory?

  56. Silenity says:

    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.

  57. Safire says:

    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<~

    • Hime says:

      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.

  58. Bigace360 says:

    Did my question get deleted?

  59. Bigace360 says:

    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

    • Hime says:

      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.

  60. Paramecium13 says:

    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.

    • Hime says:

      Are you using the custom scenes provided? Those are required to properly display actor inventories.

      • Paramecium13 says:

        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.

        • Hime says:

          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.

  61. Misaki says:

    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.

  62. Chubbins says:

    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?

    • Hime says:

      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.

      • Chubbins says:

        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?

        • Hime says:

          I don't know how you would reference the actor but if "self" refers to the actor, you can say

          self.inventory_items.include?($data_items[3])
          

          Which checks if item 3 is in your inventory.

  63. IceSage says:

    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.

  64. Anonymous says:

    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.

  65. Feldherren says:

    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

  66. 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

  67. unfauglith says:

    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 😛

    • unfauglith says:

      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.

      • Hime says:

        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.

      • Hime says:

        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.

  68. Idetrorce says:

    very interesting, but I don’t agree with you

  69. hytporsche says:

    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!

  1. October 13, 2013

    […] can also use this script with Tsukihime’s Actor Inventory, find the right version […]

Leave a Reply to Silenity Cancel reply

Your email address will not be published. Required fields are marked *