So I've decided to forego the whole "monsters drop gold" route, and instead go for "monsters drop useless themed items that you sell for gold" (broken fangs, pelts, etc). but I don't want the loot items to clog up the regular item page, or the key item page, so I'd like to create a new type of item (ie "loot") that I can designate items as, and have a new section in the item menu for them.
I had a look in the scripts, and I thought I'd done the right stuff (added a line in the vocab page, added a new window page (basically just C/Ped the key item page), and added a "if the item is Item type and is not key_item and is loot_item, then it's a loot item" line in one of the item pages), but I obviously missed something, since it's not showing up in the database as either a type I can designate items as, or a term I can specify a name for, or anything. Am I totally barking up the wrong tree? I really though it'd be quite simple 🙁
Scripts do not allow you to change what you can see or do in the editor. You will have to define them as regular items, and then have something in the script to determine whether to show it on the "regular" or "loot" list. Notes would be the ideal way to go.
ughhhhhhh how troublesome
but ok, thanks! I don't think I've really ever used the note system before, I'll have to check it out 🙂
You don't HAVE to go that way. You could just allocate the first 100 items to "regular" stuff and from 101-150 to loot, then make your script allocate based on item number.
I just suggested notes because it's a VERY popular way to add extra information to the database. There are a LOT of scripts for Ace that take advantage of the note boxes. Check some of the more simple ones out, or look for some tutorials. It's not too complicated. Or if you're fine with scripting, just go to the help file and look at the layout of the database, which should clue you in on how to access them 🙂
I might as well work out notetags, from the tutorials I've seen they don't look that complicated. plus, they seem like they'd be v handy for lots of things
ok honestly I had a go with the notetags, and clearly I understand a lot less of the rpg maker scripting language than I thought I did, because I have pretty much no idea what to do with either a function that returns if the specific notetag is there, or with an array of items, and also the code I already had is broken haha. sorry to be so fail at this, but could you guys maybe give me a bit of a step by step walkthrough through this whole thing?
You COULD if you dont want to use the key items page. just set the vocab for that to be loot right in the database and then just set all the loot items to be key items. simple solution if you decide not to have a key items page.
Should there be something in there to exclude loot items from the :item category? (And maybe the key_item category?)
awesome, it works perfectly! thanks so much for your help, guys 🙂 checking out the code you wrote has given me a few "aha!" moments about rpgmaker scripting, I should really look into it a bit more. /wanders off to find a tutorial
The help document describes all of the RPG classes. You will probably need to reference that often.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.