Skip to content

Add unit restrictions to lobbies#144

Open
geekingfrog wants to merge 1 commit into
beyond-all-reason:masterfrom
geekingfrog:unit-restrictions
Open

Add unit restrictions to lobbies#144
geekingfrog wants to merge 1 commit into
beyond-all-reason:masterfrom
geekingfrog:unit-restrictions

Conversation

@geekingfrog

Copy link
Copy Markdown
Collaborator

Similar to game options, but it's represented differently in the start script, so we need something at the proto level as well.

@Hectate

Hectate commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

I think I know how this is supposed to work, but want to make sure:
For each unit restriction the client wants, the key will be the unit name and the value will be a number representing the max number of those units? Set to zero and that unit is unavailable entirely for the match, right?

armflea: 0 will disable Armada Tick, for example.

@geekingfrog

Copy link
Copy Markdown
Collaborator Author

I think so? I'm just following the format from the autohost/start schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants