According to Google, the question of "How can I make my own Old Blue Box, like an Old White Box, or Old Black Box, etc.?" has been asked and answered several times. Even so, I seem to be having trouble with it.
Essentially, I'm trying to create an Old White Box. It's just a variation to the other Old Boxes, but whenever I use the Old White Box, nothing happens. The Old White Box is consumed but I do not receive an item.
Here's what I've put in item_db2:
getrandgroupitem(IG_WhiteBox),1;
Inside db/pre-re/ (we are using pre-re), I have an item_whitebox.txt, inside is the following:
// Old Violet Box Obtainable Items Database
//
// Structure of Database:
// GroupID,ItemID,Rate
IG_WhiteBox,2202,1 // Red Potion
IG_WhiteBox,501,14 // Red Potion
IG_WhiteBox,501,14 // Red Potion
IG_WhiteBox,502,14 // Orange Potion
Just for testing purposes.
The item is set as a consumable in the item_db2, that part works fine - it is definitely a consumable in-game. The issue is like I said - the item is consumed and nothing happens. I do not receive any items.
Finally, in db/const.txt there is a lot of entries, but towards the bottom of the first list, I have it like this:
IG_Blessing_Midgard_Lucky_Egg 448
IG_Chronosian_Lucky_Egg 449
IG_Sanctuary_Lucky_Egg 450
IG_Cyborg_Lucky_Egg 451
IG_Undine_Lucky_Egg 452
IG_WhiteBox 453
As you can see, IG_WhiteBox sits at the end of the IG_ list.
What am I doing incorrectly?