-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* More Anomaly syncing I'm trying to avoid (too many) spoilers about anomaly, so I'm patching stuff as I go through and progress the DLC. I've gone through and tested some of the stuff that I already saw in game, and fixed whatever needed fixing. Changes: - Creating corpse stockpile for harbinger trees needed `SyncContext.MapSelected` - Synced a float menu option for capturing entity into any holding building - The interaction would work if selecting a specific holding building - Synced a float menu option for drafted carrying an entity to a holding building - It was not needed, but was synced like the other similar methods to save up on the amount of data that would end up being synced - Moved the gizmo for carry to shuttle interaction lower, as the other sync delegates were ordered by their `lambdaOrdinal` - Synced `CompStudiable.studyEnabled` field changes from `ITab_StudyNotes.DrawTitle` - Changing it using a gizmo was synced already - Synced `CompHoldingPlatformTarget.containmentMode` field changes from `ITab_Entity.FillTab` * Sync extract bioferrite checkbox The checkbox was added in a recent update, so it requires an update to `Krafs.RimWorld.Ref` package to work. I've not included it here as I feel it would not fit the PR this belongs to. * Add SetDebugOnly for a dev-mode only gizmo * Sync ActivityGizmo/CompActivity, don't sync HarbingerTree.UpdateRoots Syncing of `HarbingerTree.UpdateRoots` was removed, as the method would naturally be queued up during simulation (SpawnSetup) and called in as a long event, causing the call to be synced. If dev mode syncing was disabled it would end up never being called. Synced following fields: - `ActivityGizmo.targetValuePct` - `CompActivity.suppressIfAbove` - `CompActivity.suppressionEnabled` This required creating a sync worker for `ActivityGizmo`. The syncing here is pretty similar to syncing of `GeneGizmo_Resource`, `Gene_Resource`, and `Gene_Hemogen`. It would potentially be possible to make a more universal approach, but I could not think of one myself. `SyncGeneGizmoResource` and `SyncActivityGizmoTarget` sync the same field (`Gizmo_Slider.targetValuePct`), but we can't register sync field targeting `Gizmo_Slider` as that type is not syncable.
- Loading branch information
1 parent
6390871
commit 29a4dca
Showing
4 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters