[XP] Drago Inventory System

Started by LiTTleDRAgo, March 31, 2012, 11:54:43 am

Previous topic - Next topic

Diamond Star

I have many dreams and look for who understand me and help me to achieve them

Zangetsu

December 23, 2014, 12:33:14 am #61 Last Edit: December 23, 2014, 12:53:10 am by Zangetsu
Okay I'm sorry for necroposting again, but I'm having problems with this script. I'm trying to enter it like this, putting most things as nil because I don't want them to be used:

Quote# STRING SECTION
 ITEM_WELCOME     = "Inventory"
 EQUIP_WELCOME    = "Press Shift button to Unequip"
 ASK_MANY         = nil
 GET_COMB         = nil
 PARTY_INV        = nil
 LOOT_INV         = nil
 USE_COM          = "Use"
 COMBINE_COM      = nil    # Insert nil to disable permanently
 EQ_COM           = nil           # Insert nil to disable permanently
 TRANSFER_COM     = nil  # Insert nil to disable permanently
 UNEQUIP_COM      = "Unequip"
 UNEQUIPALL_COM   = "Unequip All"
 DIS_COM          = nil
 CANCEL_COM       = "Cancel"
 FULL_INVENTORY   = nil
 ELEMENT_TOO_MANY = nil


Because I definitely only want a "Use" function and a "cancel" button in my inventory. The graphics are great and all, but the rest is unnecessary. Unfortunately when I set most of it to nil, I can't even access inventory.

Even when I disable "discard" because I absolutely cannot have it in my game, it tells me there's an error on Window_Command line 41 or something. How can I remove all these unnecessary options without giving my game trouble? If possible I would take to take out the option of "Discard" entirely, rather than just having it move back up to the "Use" option.

Thanks.
My name is Kitsuki.

LiTTleDRAgo

option that didn't have note to disable means it can't be disabled

if you want to make an item to be nondiscarded, fill the item IDs in


  NONDISCARD = {0 => [23,24,25,50,51,52],   # item nondiscardable
                1 => [],                    # weapon nondiscardable
                2 => []}                    # armor nondiscardable


if you want to make all of them nondiscarded items, you can try this:


  NONDISCARD = {0 => (0..999).to_a,   # item nondiscardable
                1 => (0..999).to_a,   # weapon nondiscardable
                2 => (0..999).to_a}   # armor nondiscardable

Zangetsu

Okay thank you.

But is there a way to "unbold" it so that it looks unselectable, or to remove the option entirely? Or it is just like this?

Again, thanks for the help :)
My name is Kitsuki.