Skip to content

Expand Haven sync with building pieces and fix map data - #321

Merged
netniV merged 3 commits into
STFC-Mod:devfrom
lightbull-stfc:haven-pieces
Oct 10, 2026
Merged

netniV merged 3 commits into
STFC-Mod:devfrom
lightbull-stfc:haven-pieces

Conversation

@lightbull-stfc

Copy link
Copy Markdown
Contributor

Adds Haven building piece counts and fixes planetary map syncing. Map responses with an owner ID are checked against the local player to prevent syncing other players’ buildings.

  • Send buildings as haven records with specification ID, building ID, level, status, and position.
  • Send piece counts as haven_pieces records.
  • Track building state and piece counts to avoid resending unchanged records.
  • Add local user profile bindings for map ownership checks.

Comment thread mods/src/defaultconfig.h
@netniV
netniV merged commit ef4f434 into STFC-Mod:dev Oct 10, 2026
5 checks passed
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.

2 participants