Make plate entities non-rotatable
In 1.1, SimpleEntityWithForce was changed to have four directions. The plate entity doesn't have different directions but the R key still makes the sound and changes the orientation. Adding this flag turns that behaviour off. Since it's square it doesn't matter that it doesn't rotate in blueprints etc.
This commit is contained in:
@@ -60,7 +60,7 @@ for display,displaydata in pairs(DID.displays) do
|
||||
result = display,
|
||||
},
|
||||
max_health = 10 + size * 30,
|
||||
flags = {"placeable-player", "placeable-neutral", "player-creation"},
|
||||
flags = {"placeable-player", "placeable-neutral", "player-creation", "not-rotatable"},
|
||||
collision_box = { {-box_size+0.1, -box_size+0.1}, {box_size-0.1, box_size-0.1} },
|
||||
selection_box = { {-box_size, -box_size}, {box_size, box_size} },
|
||||
collision_mask = {
|
||||
|
||||
Reference in New Issue
Block a user