Overview
It's possible to define placing an entity to require many of an item using the placeable_by key on entities. However, this can cause crashes if stack size is randomized to be below the amount required (which is not allowed). In base game, this would only cause issues if curved rails got randomized to stack size below four, but can cause compatibility issues as detailed here.
Action Items
placeable_by keys and raises the stack size to match if needed.Extra Considerations
We might be able to use existing lookup tables, or create a new lookup table for more integration with the lookups system.