Now that the list casting work has been done, we no longer need all the "whole number" constants to be integers.
Being integers is causing issues with other methods like
ll.GetInventoryType("notecard") == INVENTROY_NOTECARD
Always evaluating to false as GetInventoryType returns a number not an integer
Other examples
ll.LinksetDataWrite("a",a") == LINKSETDATA_OK
ll.GetAttached() == ATTACH_HEAD
There are 2 alternatives
  1. Implement equallity checking between integers and numbers
  2. Make all the fucntions return integers....
I think
1.
should maybe be done anyway, but
2.
just seems like a bad idea
So changing the constants back to numbers, now that numbers work in lists seems like the right move.