Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto rename ship faxes #135

Merged
merged 3 commits into from
Aug 4, 2023
Merged

Conversation

Macoron
Copy link
Contributor

@Macoron Macoron commented Aug 2, 2023

About the PR

Add new faxes prototype - "FaxMachineShip". This faxes will automatically sync their name with a ship name. They will even keep name synced if ship will be somehow renamed.

Ship maps should be updated is separate PR, but that should be easy to do even in a text editor.

Implementation is a bit weird. All this complexity comes from the problem that ship spawns as stations, and stations rename grid with a delay... But this code should be robust. I hope.

Media

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

🆑

  • tweak: Ships fax will have same name as a ship. You still can change it with a screwdriver to a custom one.

# Conflicts:
#	Resources/Prototypes/_NF/Entities/Structures/machines.yml
@Macoron Macoron requested a review from Cheackraze August 3, 2023 16:44
@Cheackraze Cheackraze merged commit 989c1be into new-frontiers-14:master Aug 4, 2023
10 of 12 checks passed
@Macoron Macoron deleted the fax-rename branch August 4, 2023 07:02
@Macoron Macoron mentioned this pull request Aug 5, 2023
1 task
Samsterious pushed a commit to Samsterious/lagrange-station that referenced this pull request Apr 26, 2024
This fixes a bug with the respawn button where it did not show the
cooldown properly.
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.

3 participants