Element limit?

  • Mdkar
    22nd Mar 2020 Member 0 Permalink

    Is there a limit for the amount of elements that can be in the game? If I were to create say 118 new elements, would there be any problems?

  • LBPHacker
    22nd Mar 2020 Developer 1 Permalink
    Yep, currently 512.
  • Mdkar
    22nd Mar 2020 Member 0 Permalink

    @LBPHacker (View Post)

     I think I'll be safe then, but is there a way to increase that number in case I need to?

    Edited once by temporaryaccount. Last: 22nd Mar 2020
  • LBPHacker
    22nd Mar 2020 Developer 1 Permalink
    Yep, we have PMAPBITS in in src/simulation/ElementDefs.h set to 9, 1 << 9 = 512.