I'm using this script:
http://cacaosoft.webcrow.jp/script/rgss3/itemcategorize.html
I made several new categories like so:
VOCAB_COMMANDS["Books"] = "Books"
VOCAB_COMMANDS["Loot"] = "Loot"
VOCAB_COMMANDS["Materials"] = "Materials"
COMMANDS = [:item, :equip, :key_item, "Books", "Loot", "Materials"]
but for some reason none of my items will go into the new categories (I made sure that when you start a new game you'll get all items available). What am I doing wrong?
My items don't show?
● ARCHIVED · READ-ONLY
-
-
Did you set the items to be considered as one of those? You will need to tag the items for them to show on the custom categories.
Also better use symbols than strings in this case
VOCAB_COMMANDS["Books"] => VOCAB_COMMANDS[:books]
then tag the books with <:books> or <books> IDK which is correct -
I have note tagged the items. But they just won't show. They'll only show under "Items", not the notetag I wanted to place them on.
This is my script setup, the editable part in the beginning:
#==============================================================================
# ◆ 設定項目
#==============================================================================
module CAO
module CategorizeItem
#--------------------------------------------------------------------------
# ◇ カテゴリの設定
#--------------------------------------------------------------------------
COMMANDS = [:item, :equip, :key_item, :books, :loot, :crafting]
#--------------------------------------------------------------------------
# ◇ カテゴリ名の設定
#--------------------------------------------------------------------------
VOCAB_COMMANDS = {} #Icon, Name
VOCAB_COMMANDS[:item] = [260, "Items"]
VOCAB_COMMANDS[:equip] = [433, "Equipment"]
VOCAB_COMMANDS[:key_item] = [495, "Key"]
VOCAB_COMMANDS[:weapon] = "Weapon"
VOCAB_COMMANDS[:armor] = "Armor"
VOCAB_COMMANDS[:books] = "Books"
VOCAB_COMMANDS[:loot] = "Loot"
VOCAB_COMMANDS[:crafting] = "Crafting"
VOCAB_COMMANDS[:combat] = "Combat"
#--------------------------------------------------------------------------
# ◇ アイテムにキーワードアイテムを含める
#--------------------------------------------------------------------------
INCLUDE_KEYWORD = true
#--------------------------------------------------------------------------
# ◇ カーソルの可視状態
#--------------------------------------------------------------------------
VISIBLE_CURSOR = true
end
end
(Sorry can't put it behind a spoilertag for some reason)
I've tried <loot> <Loot> <:loot> <:Loot>, nothing works.

-
Just making sure, you're testing it on a new game instead of a saved file right?
-
Yes, but I think there was a problem with the Luna Engine files. I had put the script alll below Luna's configuration, and it didn't work. When I put it as the first script, it suddenly worked.. Now I hope I won't get some weird ass compability issues with Luna.
It also only worked with VOCAB_COMMANDS["armor"] = "Armor"
VOCAB_COMMANDS["books"] = "Books"
VOCAB_COMMANDS["loot"] = "Loot"
Not with :books and so on. For some reason that was giving me errors. -
Ah. So your'e using Luna on top of that... You should have told us so right from the start
-
Well, when I made this post I tried it first in a clean project and it didn't work :p then I eventually got it to work like in my last post, but then it bugged out on Luna again. Which somehow resolved itself by putting it on top of everything? I'm still highly confused about how/wehere I should place the scripts there to be honest.
-
It's on a case to case basis, though scripts that overwrite a method would be placed normally on top of scripts that just alias that method.