Skip to content
This repository has been archived by the owner on Apr 27, 2024. It is now read-only.

Shipyards and bank system from Frontier Station #6

Closed
wants to merge 11 commits into from
Closed

Conversation

Peptide90
Copy link

Deep Station 14 Pull Request

Attempt at porting Shipyards from Frontier station.

This will be an interesting opportunity for all departments. It will be closely managed however to make sure it doesn't detract from overall station gameplay, but may come into greater use as our salvage and expeditions plans materialise.

Shipyards currently rely on the bank stuff from Frontier which is something similar to what we want in future so this will need removing till then or adapted for now.
Checklist:

  • Get shipyard console working with 1-2 starter ship options.
  • Change shipyard to use station / cargo funds OR...
  • Make a start on department budgets and set the groundwork for the shipyard console to take individual bank balances OR selector to buy it for the department and use the department budget, approved by a head card swipe.

Enable shipyard

(cherry picked from commit 240e845)
* Shipyard show sell price

* Sell Price

* Update ShipyardSystem.Consoles.cs

* FTL

(cherry picked from commit 8d5169f)
* Fix Channel for STC

* Update ShipyardSystem.Consoles.cs

* Update ShipyardSystem.Consoles.cs

* Update ShipyardSystem.Consoles.cs

* Fix

* Merge branch 'STC2' of https://github.com/dvir001/frontier-station-14…

* Merge branch 'new-frontiers-14:master' into STC2

(cherry picked from commit f27b6a1)
* The first implementation: renaming does work, but is not displayed on the radar

* Fix renaming a ship not affecting the radar control

* Add I18N strings

* Fix saving the shuttle name not making the save button disabled

* Empty the shuttle name field if the interface is disabled

* Split shuttle name into 3 fields and add length constraints

* Rework ShuttleDeed totally to support 3 distinct name parts, update ShipyardSystem.Consoles.cs to parse shuttle names

* Fix an oopsie

* Inline GetNameParts and JoinNameParts, and move GetFullName to ShipyardSystem

* Log shuttleUid instead of ShuttleOwner

* Move messages from IdCardConsoleComponent.cs to SharedIdCardSystem.cs

* Cleanup

* Disable prefix parsing until further notice

* Rip prefixes out of the code as though they never existed

(cherry picked from commit e411689)
* Testing

* Deed

* Update ShuttleDeedComponent.cs

* Update ShuttleDeedComponent.cs

* Update ShipyardSystem.Consoles.cs

* No Need for this lines

* Fixing

* I used ChatGPT to fix this

* Small change to fix errors

* Update ShipyardSystem.Consoles.cs

* Fix

* Fixing

* Update shuttle.yml

* Working again

* Added owner name to card

* Deed Testing

* Update ShipyardSystem.Consoles.cs

* Working Again.

* Fix

* Fix for ID comp

(cherry picked from commit edaca48)
* Update ShipyardSystem.Consoles.cs

* Changes

* Update shipyard-console-component.ftl

Not saving, mrpf

* Update shipyard-console-component.ftl

(cherry picked from commit 8a196b2)
* Did the deed

* Fix spectre's name tag

* Removed the None ui key

* Typo

* Limit the empress' console to just 3 ships

* Cleanup

* Remove unused name field

(cherry picked from commit d381c3c)
* Create ShipyardTests.cs

* Fix shipyard test failures

* Remove map changes

* Update rosebudmki.yml

---------

Co-authored-by: Dvir <[email protected]>
(cherry picked from commit 0277223)
)

* refactor(ui): Rename shipyard ui labels for consistency with `BankATMMenu` and `CargoPalletMenu`

* refactor(loc): Remove redundant shipyard localization ids

* refactor(loc): Rename a shipyard localization id for consistency with `CargoPalletMenu`

* refactor(loc): Consolidate extraneous shipyard localization file

* refactor(loc): Move shipyard localization file into `_NF` directory

(cherry picked from commit 0c95e7d)
@Peptide90 Peptide90 marked this pull request as draft February 22, 2024 10:23
@Peptide90
Copy link
Author

closing this because of rebase

@Peptide90 Peptide90 closed this Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant