FAForever / FAForever/fa

[Feature]: Add unit categories governing structure rotation on spawn

Open
#6,986 1 comment 1 reaction 0 assignees View on GitHub
area: sim good first issue
Dominant language
Lua
Stars
264
Forks
260
Avg merge
3d 2h
Merged PRs (30d)
21

Description

### Describe the Feature

In the modding section on discord I have noticed many different people asking to remove structure rotation on spawn or simply finding it ugly/awkward.
There should be 2 new categories to prevent the behavior or trigger only the 90 degree rotation behavior.

### Expected Behavior

Adding this category to a unit prevents it from being rotated by StructureUnit.lua code:
https://github.com/FAForever/fa/blob/a6f714335c76cb47925c9cf5551372d71821fb24/lua/sim/units/StructureUnit.lua#L64-L67

### Screenshots

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.