Author Topic: [XP] ACE Item System  (Read 2755 times)

Offline bigace

  • Transcended Spirit
  • ***
  • Posts: 211
  • LV: 16
  • Gender: Male
    • View Profile
    • Bigace Scripting World
[XP] ACE Item System
« on: January 31, 2013, 04:38:59 PM »
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

(click to show/hide)


Script



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
Requires Module RPG::BaseItem

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


Credits and Thanks

  • Bigace360, for the script.

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.
« Last Edit: January 31, 2013, 05:13:50 PM by Blizzard »


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

Offline Raziel 0128

  • Trained Member
  • *
  • Posts: 13
  • LV: 0
    • View Profile
Re: [XP] ACE Item System
« Reply #1 on: February 15, 2013, 07: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:

Quote
Script 'Item' line 1027: NoMethodError occured.

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

Any idea how to fix this issue?

Offline bigace

  • Transcended Spirit
  • ***
  • Posts: 211
  • LV: 16
  • Gender: Male
    • View Profile
    • Bigace Scripting World
Re: [XP] ACE Item System
« Reply #2 on: February 16, 2013, 07: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:
Code: [Select]
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


Use Dropbox to upload your files. Much simpler than other upload sites, you can simply place a folder on your desktop that will sync with your DropBox account.

Offline Raziel 0128

  • Trained Member
  • *
  • Posts: 13
  • LV: 0
    • View Profile
Re: [XP] ACE Item System
« Reply #3 on: February 16, 2013, 02:45:23 PM »
That fix works, thank you.