In this topic you will find my latest additions to the build mod. I will try to keep the archive linked in here up to date with the current latest released version of the build. Hopefully most of it will be included in it eventually.
This archive contains several new things.
Special Perks
This is an inclusion of the files already found here: Mod Release - Special Perks and interface improvements
It will show you special perks for some officer types like this:
These perks where things which are in the game already. But now they are explained.
The perks are always picked but you can click on them to see more info. If you change the officer type the perk will dissapear.
Besides the special perks also the numbers for the perks got a slight tweak, you can now see by the color if you can pick the perk already or not.
Smuggling Improvements
Most of the improvements to smuggling are done behind the scene's. But one new addition is that once you smuggled 100 goods in total you can talk to a smuggler and complain about smuggling being hard. He will give you something which enabled the smuggling book:
This is a addition to the trade book which you can toggle. For now this is still very empty, but soon (in newer versions) more and more info will be added here.
The partol state shown in this image doesn't have to be right, it's the patrol stage you know of. Once you read the tavern news the smuggling book will automaticly update the patrol state in here.
Harden your Heart Sidequest
In preperation for making it a bit harder to find the right time to smuggle a new quest is introduced. People who like to have a nice seaside picknick will see this quest pop up very soon. For other people I've writte an wiki article here (it's not linked yet to the main wiki because it's still WIP). About the quest.
Harden Your Heart Sidequest | PiratesAhoy!
One of the things you will encounter during this sidequest is Mahala, a new NPC located in Santiago.
Besides needed for the quests she also has a special thing. She tells stories. So if you are ever in the neighborhood feel free to drop by her and ask her for a nice story.
Modding Improvements
For modders this archive also adds some nice features.
You can now add an event to tavern news items. When the item is read it can trigger a function.
You can do this as follows:
When using this piece of code the game will call the function UpdateKownIslandSmugglingStateFromLog once the log entry is read. It will also send the data object with it. In here you can store data you need. You can also send &NullCharacter or something empty if you want. That case the game will make sure it won't break.
Besides the log entry events dialogs also get a nice extra trick.
Say you wanted to add a dialog file to a random character but be sure that other dialog paths aren't broken. This is now easily possible with the function.
If you call this function inside a dialog file it will store all Dialog Option at that point. So when the player picks your new dialog path you can finish this and then call a case like this:
This will add all previous dialog options as options here. This way if you want to add a dialog file to someone but you have no idea what the cases are you can now just do it outside the switch and make sure the dialog option is always there because now it won't break anything.
Also if you are writing a quest and you want to set a specific type of music but you want to do this at a enterlocation quest trigger there is now something to help you. Setting the global variable
Will make sure that no music will be set by the game untill you set it to false again. This gives you total control over the music and you can do something like
to set whatever music you want for this location.
Once you are done with your quest thing you can call this.
to have the game revert back to the normal sound scheme.
And last but not least there is a new quest check you can use. You can call it like this:
This will trigger once you are waiting in the tavern or if you are at sea at midnight.
Download
You can download the file HERE (NEW GAME REQUIRED)
Please let me know if you are having any problems with it.
This archive contains several new things.
Special Perks
This is an inclusion of the files already found here: Mod Release - Special Perks and interface improvements
It will show you special perks for some officer types like this:
These perks where things which are in the game already. But now they are explained.
The perks are always picked but you can click on them to see more info. If you change the officer type the perk will dissapear.
Besides the special perks also the numbers for the perks got a slight tweak, you can now see by the color if you can pick the perk already or not.
Smuggling Improvements
Most of the improvements to smuggling are done behind the scene's. But one new addition is that once you smuggled 100 goods in total you can talk to a smuggler and complain about smuggling being hard. He will give you something which enabled the smuggling book:
This is a addition to the trade book which you can toggle. For now this is still very empty, but soon (in newer versions) more and more info will be added here.
The partol state shown in this image doesn't have to be right, it's the patrol stage you know of. Once you read the tavern news the smuggling book will automaticly update the patrol state in here.
Harden your Heart Sidequest
In preperation for making it a bit harder to find the right time to smuggle a new quest is introduced. People who like to have a nice seaside picknick will see this quest pop up very soon. For other people I've writte an wiki article here (it's not linked yet to the main wiki because it's still WIP). About the quest.
Harden Your Heart Sidequest | PiratesAhoy!
One of the things you will encounter during this sidequest is Mahala, a new NPC located in Santiago.
Besides needed for the quests she also has a special thing. She tells stories. So if you are ever in the neighborhood feel free to drop by her and ask her for a nice story.
Modding Improvements
For modders this archive also adds some nice features.
You can now add an event to tavern news items. When the item is read it can trigger a function.
You can do this as follows:
Code:
object data;
data.island = "MyIsland";
data.state = 3;
aref eventdata; makearef(eventdata, data);
logTitle = "FU";
logEntry = "BAR";
WriteNewLogEntry(logTitle, logEntry, "General", false);
SetLogEvent(logTitle, "UpdateKownIslandSmugglingStateFromLog", eventdata);
Besides the log entry events dialogs also get a nice extra trick.
Say you wanted to add a dialog file to a random character but be sure that other dialog paths aren't broken. This is now easily possible with the function.
Code:
StoreDialogLinks(false);
Code:
case "Restore Dialogs":
Dialog.text = "Anything Else?";
RestoreDialogLinks();
break;
Also if you are writing a quest and you want to set a specific type of music but you want to do this at a enterlocation quest trigger there is now something to help you. Setting the global variable
Code:
QuestMusicOverwrite = true;
Code:
SetMusic("my_music");
Once you are done with your quest thing you can call this.
Code:
QuestMusicOverwrite = false;
LoadSceneSound();
And last but not least there is a new quest check you can use. You can call it like this:
Code:
PChar.quest.MyQuest.win_condition.l1 = "Sleep";
PChar.quest.MyQuest.win_condition = "MyTarget";
Download
You can download the file HERE (NEW GAME REQUIRED)
Please let me know if you are having any problems with it.
Last edited: