Skip to content

Fix sending transporters from other player-faction's faction base to use correct faction#850

Merged
notfood merged 3 commits intorwmt:devfrom
Sakura-TA:fix/transporter-assigned-correct-faction
Mar 26, 2026
Merged

Fix sending transporters from other player-faction's faction base to use correct faction#850
notfood merged 3 commits intorwmt:devfrom
Sakura-TA:fix/transporter-assigned-correct-faction

Conversation

@Sakura-TA
Copy link
Copy Markdown
Contributor

fix #848
this allows you send transporters with pawns from your friend's faction-base to world-map tile form caravan instead of missing.
this is not fully fixing transporter's logic because I'm detecting inside pawn's faction and assigin it to the transporter flying on the sky, means if there's no pawn inside this will fall back to faction.OfPlayer, so you can't send gift to other factions or it'll calculated as the faction-base-owner's gift.

Use the building with complaunchable's faction should works better than this PR, but that changes a lot, I tried to pass faction info like compTansporter.faction->flyShipLeaving.faction->travellingTransporters.faction , but flyShipLeaving.def.CanHaveFaction is False.

@notfood notfood added fix Fixes for a bug or desync. multifaction Bugs or issues only in multifaction mode. 1.6 Fixes or bugs relating to 1.6 (Not Odyssey). labels Mar 25, 2026
@notfood notfood moved this to In review in 1.6 and Odyssey Mar 25, 2026
@Sakura-TA
Copy link
Copy Markdown
Contributor Author

This auto merge sucks.

@notfood notfood merged commit 851af3e into rwmt:dev Mar 26, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from In review to Done in 1.6 and Odyssey Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.6 Fixes or bugs relating to 1.6 (Not Odyssey). fix Fixes for a bug or desync. multifaction Bugs or issues only in multifaction mode.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Sending Transporter from other player-faction's faction base can cause caravan missing

2 participants