Chaos Project

RPG Maker => RPG Maker Scripts => RMXP Script Database => Topic started by: bigace on January 31, 2013, 09:38:59 am

Title: [XP] ACE Item System
Post by: bigace on January 31, 2013, 09:38:59 am
ACE Item System
Authors: Bigace360
Version: 1.03
Type: ACMS
Key Term: Custom Item System



Introduction
The default scene_item is just an unorganized boring list of items. The Ace Item Menu offers more item categorization control and a better layout that simulatenously provides information regarding the items to the player, while keeping a good amount of the item list visible on screen at once. The script can also be customized to rearrange commands and categories.



Screenshots

Spoiler: ShowHide
(http://bigaceworld.files.wordpress.com/2013/01/screenshot03.png)
(http://bigaceworld.files.wordpress.com/2013/01/screenshot02.png)




Script
(http://i781.photobucket.com/albums/yy94/Bigace360/DownloadBar.png) (http://bigaceworld.wordpress.com/rgss/custom-menu-scripts/ace-item-system-rmxp/)



Instructions
To install this script, open up your script editor and copy/paste this script to an open slot below Scene_Debug, and Warrior_Engine, but above Main.

Scroll down and edit the module as you see fitting for your game.



Compatibility
Requires Scene_Base (http://bigaceworld.wordpress.com/rgss/utility-scripts/ace-scene_basermxp/)
Requires Module RPG::BaseItem (http://bigaceworld.wordpress.com/rgss/utility-scripts/module-rpgbaseitem/)

Scripts that may conflict with this Engine are stated in the comments in the "SECTIONS" and "Script Conflicts and Compatability".



Credits and Thanks




Author's Notes
This system can still grow, if anyone has any ideals to add to it don't hesitate to ask. However remember that your ideal might not make it.
Title: Re: [XP] ACE Item System
Post by: Raziel 0128 on February 15, 2013, 12:31:39 pm
This looks like a great script but I've discovered an error.

It can be replicated in a completely new project with absolutely no modification or configuration to any script. The scripts present are:


In that order.

Loading the item menu (With/Without items in your inventory) and then exiting it with the ESC or Z key causes a crash with the following message:

QuoteScript 'Item' line 1027: NoMethodError occured.

undefined method 'return scene' for #<Scene_Item::0X4005840>


Any idea how to fix this issue?
Title: Re: [XP] ACE Item System
Post by: bigace on February 16, 2013, 12:20:06 am
oh ops I forgot to update Scene_item when I updated Scene_base.  :facepalm:

I usually update everything in bulks so for now just go to line 1018 and replace the method on_category_exit with this one:

def on_category_exit
$game_temp.item_index = nil
$game_temp.item_oy = nil
$game_system.se_play($data_system.cancel_se)
if $ace_script[:ace_main_menu]
return unless $game_temp.menu_command_index.has_key?(:items)
$scene = Scene_Menu.new($game_temp.menu_command_index[:items])
else $scene = Scene_Menu.new(ITEM_CONFIG[:menu_index])
end
end
Title: Re: [XP] ACE Item System
Post by: Raziel 0128 on February 16, 2013, 07:45:23 am
That fix works, thank you.