I'm beginning to find a few comment bugs as I code (I comment extensively because I am known to forget my own logic within 5 minutes). Clealry these are not of high importance to fix, but at least documenting them might be useful.
Although they may appear as multiple lines in the forum, they are indeed all on one line, and come after the //
I'll keep a list updated here, hopefully not too many:
UPDATE: 01/12/2008
NEW
1. When using an array such as this:
Code: Select all
ITEM0_ARRAY
{
ITEM0_ARRAY0 ["Berry"]
ITEM0_ARRAY1 [20]
ITEM0_ARRAY2 [100]
ITEM0_ARRAY3 ["Freshly picked Berry. Restores 100 Hit Points."]
}
if you have comments next to the array entries, the array order gets broken. For example, if I put //Name next to ITEM0_ARRAY0["Berry"], then ITEM0_ARRAY1 [20] is now referenced by ITEM0_ARRAY[2] instead of ITEM0_ARRAY[1] as it should be. I also found that I could not reference some of the entries at all when I put comments on each line, but it may have been that the index had been pushed up so far that I hadn't checked (only checked up to about 6 or so).
OLD
2. Including commas in comments cause scripts to break - Only true for comments that are not in any orders
3. Including apostrphes in comments cause scripts to break - Only true for comments that are not in any orders