Hello, I'm trying to make an element for the Unrealist Science Mod (we call it URSM :P) and I'm having troubles with 1 little thing: if ((r&0xFF)==PT_PHOT){ parts[i].life += 1; }I'm trying to have this element's life go up by 1 at collision with PHOT...but it just stays at 0. :( Anybody know how to fix? If so peas help me! --thanks!
Photons cannot be detected in the same way that other elements are, since most elements have they indexes stored in pmap, Photons, Neutrons and Electrons are stored in photons, to fix the issue, you need to change