Curved rail collision box

Things that we aren't going to implement
sparr
Smart Inserter
Smart Inserter
Posts: 1462
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Curved rail collision box

Post by sparr »

I would like to be able to modify the collision boxes for the curved rail (or a custom third rail type, actually). Could they be exposed in the data rather than the dummy 4x4 box there now?

Code: Select all

  {
    type = "curved-rail",
    name = "curved-rail",
    collision_box = {{-2, -2}, {2, 2}}, -- has custommly generated box, but the prototype needs something that is used to generate building smokes
    -- collision box is hardcoded for rails as to avoid unexpected changes in the way rail blocks are merged
    selection_box = {{-1.7, -0.8}, {1.7, 0.8}},
  },
  -- irrelevant data omitted
EDIT: I think this is a no based on Discord responses and the changelog for 0.17.56 where a bug related to this was fixed.
Post Reply

Return to “Won't implement”