• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Fixed Town Capture/Period Code Undoes "Player Party"?

Pieter Boelen

Navigation Officer
Administrator
Storm Modder
Hearts of Oak Donator
For some reason, I ran into a "Lair Crewmember" character who is supposed to be in the player group, but wasn't.
My suspicion is that some of the Town Capture/Period Code may be responsible for that.

So I'm adding an extra line in Towntable.c to avoid that, just in case:
Code:
    if (GetTownIDFromLocID(character.location) == town) {
       if (IsPlayerParty(character)) continue; // PB: Skip any characters that are with the player
       if (GetAttribute(character, "Dialog.Filename") != "tailor_dialog.c" || iNation != PERSONAL_NATION)   character.nation = iNation; // PB: Skip tailor nation change when taking town for yourself
 
Back
Top