Done. The zip includes updated "quests_reaction.c", "Chico Cois_dialog.c", and "Chico Cois_dialog.h" with four new lines at the end.
@AkrimalS: you'll want to translate that.
And so, having let the captain go to the town hall, I return to the port, where Chico Cois is waiting...
He's immortal. You're not, even if you're using cheatmode and have set yourself to be immortal, because the ending includes a line to disable the player's immortality.
@Bartolomeu o Portugues: Here's another idea. At each place where a "viagem_timer" is triggered, set an attribute on the player to indicate which questbook is active, e.g.:
Code:
PChar.quest.timerbook = "Apprenticeship";
Then at case "viagem_fin_timer", add:
Code:
CloseQuestHeader(PChar.quest.timerbook);
DeleteQuestAttribute("timerbook");
Case "viagem_fin_timer" is used for all timers. It removes Chico Cois, turns Spain hostile, adds a questbook "Failure", and sets a trap in case the player sails near Cuba. The addition would also close whichever questbook was active when you ran out of time, so that the "Apprenticeship" questbook, for example, does not remain permanently open if you don't complete the first mission in time.[/code]