[MIRROR] Fix Shuttle Control Console Syncing #2602
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Оригинальный PR: Baystation12#34740
Changelog
🆑 SierraKomodo
bugfix: Shuttle control consoles can no longer be synced to shuttles if not actually on the shuttle.
bugfix: Regular non-overmap shuttle control consoles will no longer function on overmap shuttles, and vice-versa.
tweak: Shuttle control consoles now automatically sync to the shuttle they're built on when created, instead of needing to be set by multitooling the board before creation.
imgadd: Shuttle control consoles that are not properly connected to a shuttle now have a new error screen sprite.
/:cl:
Other Changes
/datum/extension/interactive/multitool/circuitboards/shuttle_console
shuttle_console
circuitboards to the computers via.proc/sync_shuttle()
and.proc/is_valid_shuttle()
.Initialize()
parameter to/obj/machinery/computer/shuttle_control
for setting the shuttle tag to a specific value instead of syncing to area on creation./obj/machinery/computer/shuttle_control
to automatically syncronizeshuttle_tag
based on area duringInitialize()
, if not already set (I.e. by map, subtype, or via the above parameter).