Actor's Inventory System
Authors: Death999
Version: 1.7.2
Type: Custom Item System
Key Term: Custom Item System
IntroductionThis 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
ScriptCheck in demo
Demohttp://www.mediafire.com/?rfhk3u3bdtrm8ia
InstructionsPut all script above main.
CompatibilityMay 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 NotesIn script Game_Actor, find line
def equip(equip_type, id)
and change to
def equip(equip_type, id, actor=$actor_inventory)
some codes use for event in game.
Check an actor has a full inventory:
if $game_party.type_number(ACTOR_ID) == $game_party.type_max(ACTOR_ID)
Plus limit of inventory for an actor:
$inven_type_plus[ACTOR_ID] += ???