What is/can be highlighted:
- Non-empty containers
- Weapons
- Ammo
- Armor
- Aids (food, chems, drinks)
- Books (skill mostly)
- Misc clutter
Some quirks that I stumbled upon when coding highlight part, mostly dealing with FormLists:
- Finding dynamic reference in formlist, added from GetFirstRef/GetNextRef with ListAddReference, is only possible via result index returned from ListRemoveForm (and adding it again at same index, of course), as ListGetFormIndex always returns 0, even when item IS in list.
- Deleting from end of FormList (with more that 1 member) is causing CTD on accessing this list afterwards in any way, i.e. adding to it, removing, etc.
- Listing actors (and sometimes objects) via GetFirstRef/GetNextRef can avoid some objects for a long time, entering/leaving cell not helps, don't know what causing this.
- There is always at least 1 item in most of Nuka-Cola fridges and first-aid boxes, even when emptied by the player, GetNumItems always returns at least 1 for them, don't know what is causing this either.
I welcome any ideas how to improve the mod, and/or fix bugs mentioned above or in nexus description.