Limit how many of one equipment can be in a grid
Posted: Wed Aug 18, 2021 2:28 am
In Krastorio 2, there is an equipment called the "energy absorber" that allows you to be wirelessly charged via tesla coils. However, it comes with the limitation that you can only have one absorber. Right now, K2 does some trickery to limit you to a single absorber. However, this doesn't account for when the equipment is placed by a script.
I would like to request a prototype property on equipment that specifies a limit to how many of that equipment can be placed in the grid. Vanilla could use this for the belt immunity equipment, since having more than one doesn't provide any additional benefit, so naturally limiting the player to one would be a good way to represent that.
I would like to request a prototype property on equipment that specifies a limit to how many of that equipment can be placed in the grid. Vanilla could use this for the belt immunity equipment, since having more than one doesn't provide any additional benefit, so naturally limiting the player to one would be a good way to represent that.