Make equipment_grid as width x height
Make equipment_grid as width x height
Now we have equipment_grid as value from defined sizes. Why it cannot be defined just as "equipment_grid = {width = 4 x height = 5}" or same?
Re: Make equipment_grid as width x height
Equipment grids are prototypes and as such you define them like any other prototype.
If you want to get ahold of me I'm almost always on Discord.
Re: Make equipment_grid as width x height
Why it must be prototype, not just attribute by entity's prototype?
Re: Make equipment_grid as width x height
That's how it used to work and it was changed when support to have equipment grids in vehicles was added. The grid is preserved in the item form when the vehicle is mined and uses the prototype system to do so.
If you want to get ahold of me I'm almost always on Discord.