Skip to content

[1832] Add system code to corporation, add logic for system train buys.#12764

Open
jemiahlee wants to merge 1 commit into
tobymao:masterfrom
jemiahlee:1832_4.1
Open

[1832] Add system code to corporation, add logic for system train buys.#12764
jemiahlee wants to merge 1 commit into
tobymao:masterfrom
jemiahlee:1832_4.1

Conversation

@jemiahlee

Copy link
Copy Markdown
Contributor

Before clicking "Create"

  • Branch is derived from the latest master
  • Add the pins or archive_alpha_games label if this change will break existing games
  • Code passes linter with docker compose exec rack rubocop -a
  • Tests pass cleanly with docker compose exec rack rake

Explanation of Change

This PR adds a little bit of functionality to corporation to distinguish the system from other corps, and adds train buy functionality for Systems, which are allowed to voluntarily buy as long as the system has <= current train limit (basically one of the shells must be able to be configured with zero trains, though there is no such need for actually configuring them). The president is allowed to contribute cash for that voluntary buy.

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.

1 participant