there is a particle map that stores particle number and particle type in a single 32-bit int the particle type takes up the first 8 bits ,0-255, and the other 24 bits are for the particle number. note: not all 24 bits are used for the particle number currently, i tested leaving more than 8 bits for the particle type, and it DOES work, so later the element limit could be raised, but it does seem to cause issues with STKM and some walls edit: currently the limit is 220 or something... (the rest are for walls)