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

Sync non-exclusive prisoner interaction mode, change syncing exclusive mode #450

Conversation

SokyranTheDragon
Copy link
Member

Changes:

  • Added a sync worker for Pawn_GuestTracker, as it's needed for the sync methods
  • Synced non-exclusive prisoner interaction modes
    • This affects hemogen farm and bloodfeed (as well as extra modes added by mods)
    • The synced method is Pawn_GuestTracker:ToggleNonExclusiveInteraction
    • As opposed to normal prisoner/slave interaction modes, it would not be possible to sync it as a field since the field is a list of allowed modes
  • Changed syncing of exclusive prisoner interaction modes by using a sync methods rather than sync fields
    • The synced method is Pawn_GuestTracker:SetExclusiveInteraction
    • The changes to the field didn't need to be handled as a sync field anymore, so I've changed it to a sync method

…e mode

Changes:

- Added a sync worker for `Pawn_GuestTracker`, as it's needed for the sync methods
- Synced non-exclusive prisoner interaction modes
  - This affects hemogen farm and bloodfeed (as well as extra modes added by mods)
  - The synced method is `Pawn_GuestTracker:ToggleNonExclusiveInteraction`
  - As opposed to normal prisoner/slave interaction modes, it would not be possible to sync it as a field since the field is a list of allowed modes
- Changed syncing of exclusive prisoner interaction modes by using a sync methods rather than sync fields
  - The synced method is `Pawn_GuestTracker:SetExclusiveInteraction`
  - The changes didn't need to be handled as a sync field anymore, so I've changed it to a sync method
@SokyranTheDragon SokyranTheDragon added 1.5 Fixes or bugs relating to 1.5 (Not Anomaly). enhancement New feature or request. fix Fixes for a bug or desync. labels Apr 28, 2024
@Zetrith Zetrith merged commit 2f7ab7e into rwmt:master May 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.5 Fixes or bugs relating to 1.5 (Not Anomaly). enhancement New feature or request. fix Fixes for a bug or desync.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants