I to hate this particular database. Mainly because it is extremely weird to add new stuff in the middle of a list.
Say if I have 50 weapons but I wanted to add one right in the middle. I would have to copy all the ones on the bottom then paste them one down, then add the one I want.
Thats an example, is there a way to do this easier? Because if there is I missed it lol.
You're overlooking something.
It would be very dumb to offset already made objects in the database, because scripts(along with a bunch of the variables in event commands) go by the number(aka ID) listed, not the name of the object. Editing a entry in the database the way you propose, would break many things in a game, forcing you to edit everything that is made to read that object's ID.
Basically, it's "plan ahead", especially if you know that you want a big game.
The multicopy command makes that copy/pasting easier, but it still has the problem that it moves the IDs and you have to change all events that used the old items with higher IDs.
But the IDs are exactly the reason why you usually don't want to add items into the middle of the lists - if you had (for example) a treasure chest giving a sword with the ID 10, and then move the sword to ID11 because you want to add a knife at ID 10, then the already existing chest will suddenly give the knife instead of the sword - because the engine always only uses the ID to determine what to use.
If you want to add something into the lists before using the database in events, then there is no problem with making space by multicopy.
If you started working on events and then want to add something into the lower IDs of the database - do that at your own risk...
Ah, no I'm not. I had that in mind. But as I'm using no events, or scripts right now, it doesn't matter.
I like to keep my database very organized.
I categorize by lets say Cloth, Leather, and Plate armors. Then at this point I go from weakest to strongest.
Keep in mind this is before I'm actually DOING ANYTHING with the database. I'm just populating right now. Also the game I'm working now is the engine as is with only perhaps scripts to make the menu look better and a message system, so I won't have scripts that do that in this one.
I suppose it's not too big of a hassle though, Especially all I have is the name in the database, I don't have stats or pictures or anything other then the name. Ah well.
EDIT:
Thanks Andar, kinda beat me to this lol
Judging from the time stamp, you haven't read my answer when posting above - did you see my reference to the multicopy command and know where to find it? (right-click in ID list)
Having learnt the hard way, and ended up with an inventory that was a mess, when populating my database I now always leave several blank spaces below each category. I, too, like to go from weakest to strongest, but if partway through I discover that I need to add something, at least it's in the right section, even if it's slightly out of order in terms of strength.
@ksjp17 : That's my method,I also do categories.BUT,In my categories,it's not from the weakest to strongest or strongest to weakest etc...I categorize them by type.The Axe category,The Sword category etc...I make sure I don't miss anything(I write the database on a paper lol)So it's rare I need to add something to it.
I also try to leave large blank spaces in my database when I add entries, precisely to avoid what Zoltor mentioned. And I've already found I didn't leave enough blank spaces in some cases.
I think almost all object references use the internal ID instead of a name, because names are not guaranteed to be unique. In my current game, I have two Fire Bolt skills --- one monsters use (which bumps a "fire used" counter), and one the players use (which does not). Both have the same name, so a "by name" lookup would never find one of them.
Lessons learned on my part --- always over-estimate the amount of blank spaces you'll need. If I were to leave blank space for Armor types, I'd leave at least enough space for 15 items of each Armor type --- the obvious upgrades, plus perhaps permutations like "Flame Armor".
Personally, I never move any objects around, because when I've done that, I've had strange interactions with my scripts, because the latter were running with a specific ID. So it's not just "copy and paste" objects, which is tedious, but "hunt down ALL of the references to ANY objects I've moved." That becomes a lot more work than "Deal with objects not being in order"
You can end up with strange bugs like the Wise Elf at the end of the game giving you the worst weapon, because the Elf gave Weapon ID 120, and you've put a joke weapon at ID 120 and moved the Ultimate Weapon to ID 130. Or more subtle bugs where a Quest now requires an item (referenced by ID) the player couldn't have yet.
I think all the database needs is a search function and then it will make things a whole lot easier to locate.