Author Topic: [XP] Actor's Inventory System  (Read 4728 times)

Offline finalholylight

  • Awakened Visionist
  • **
  • Posts: 77
  • LV: 0
    • View Profile
[XP] Actor's Inventory System
« on: August 07, 2012, 09:29:15 AM »
Actor's Inventory System
Authors: Death999
Version: 1.7.2
Type: Custom Item System
Key Term: Custom Item System

Introduction

This system will make each actor have a separate inventory.

Features

  • The inventory's limit of each actor is 10 by default, and each 10 basic str of actor (not dependent on str of equipment), the limit will plus 1.
  • Only actor own an item in his inventory can use that item, other actor can not use.
  • Remove party's member will not remove the items that he owned, when that actor are added again, items will be there in his inventory.
  • Shopping now will choose an actor before you choose buy/sell.
  • Small window on right-top in window item shows current kind of items and limit of inventory of actor.

Screenshots

(click to show/hide)

Script

Check in demo

Demo

http://www.mediafire.com/?rfhk3u3bdtrm8ia

Instructions

Put all script above main.

Compatibility

May not compatible with other scripts that write for item system.

Credits and Thanks

  • Death999
  • Yami (for the array things)
  • me for ideas and testing

Author's Notes

In script Game_Actor, find line
Code: [Select]
def equip(equip_type, id)and change to
Code: [Select]
def equip(equip_type, id, actor=$actor_inventory)
some codes use for event in game.

Check an actor has a full inventory:
Code: [Select]
if $game_party.type_number(ACTOR_ID) == $game_party.type_max(ACTOR_ID)
Plus limit of inventory for an actor:
Code: [Select]
$inven_type_plus[ACTOR_ID] += ???
« Last Edit: November 30, 2014, 03:20:46 PM by finalholylight »

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3248
  • LV: 294
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: Actor's Inventory System
« Reply #1 on: August 07, 2012, 06:36:28 PM »
If you want this added to the database, see this topic:
http://forum.chaos-project.com/index.php/topic,17.0.html
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline finalholylight

  • Awakened Visionist
  • **
  • Posts: 77
  • LV: 0
    • View Profile
Re: [XP] Actor's Inventory System
« Reply #2 on: November 17, 2013, 05:07:53 PM »
Bump to new version: 1.7.2

Offline edmondedi

  • Trained Member
  • *
  • Posts: 23
  • LV: 0
  • Gender: Male
  • Input text here:
    • View Profile
    • A 7 Uralkod√≥
Re: [XP] Actor's Inventory System
« Reply #3 on: November 26, 2014, 07:26:37 PM »
Is this compatible with Blizz-ABS? I mean if I pick up a drop and my inventory is full it crashes or not?

Offline finalholylight

  • Awakened Visionist
  • **
  • Posts: 77
  • LV: 0
    • View Profile
Re: [XP] Actor's Inventory System
« Reply #4 on: November 27, 2014, 09:57:03 AM »
I already tested with Blizz-ABS, everything seem ok, when you loot item with a full-inventory, item still disappear but you will not have that item in your inventory.