Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Loyalty fix

A topic by messiahdf created Jun 25, 2023 Views: 142 Replies: 1
Viewing posts 1 to 2

Hi, I'm not sure whether I should write here or in general discussion. In stock CoAS, it says you included loyalty tweak, but it seems that the bug with officers that have Regular Sailor reputation still exists. Their loyalty lowers no matter what you do. I wonder if you could include the loyalty fix for stock Maelstrom CoAS. Also it would be great if you could include the rum managment mod.


I could do this myself, but I'm not sure if any of the code conflicts. If you could point me out it would be great.

(+1)

The mod for loyalty is included, in program/scripts/officers.c.  You can see all the adjustments compared to stock COAS and there are many.  It depends on several factors, including how loyal they are currently, and "neutral" officers should only adjust their loyalty if the majority of other non-neutral officers react negatively/positively.  And it also depends on whether the reputation of the other officers is similar or differently than yours.  This mod has been used in ERAS since 2017 and is fairly vetted at this point.

I have no intention of adding the rum management to COAS since it involves changing some dialog and adding functions that are not in a single code file, but spread throughout dialog files, text for dialogs with DLG_TEXT_BASE array index matching, companions, food and with COAS, the dialog files for each language would have to be changed, so I would rather not.

Files include:
DIALOGS/...<language>.../MainHero_dialog.c
TEXT\...<language>...\DIALOGS\MainHero_dialog.h
characters/LSC_Q2Utilite.c
scripts/companions.c
scripts/food.c