1
0

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:
Deadlock989
2021-01-07 15:28:42 +00:00
committed by GitHub
parent e619083b57
commit 1a7717e03a
+1 -1
View File
@@ -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 = {