Skip to main content

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

Help with Commands

A topic by Klatu created Apr 05, 2023 Views: 231 Replies: 5
Viewing posts 1 to 3

Would anyone know the correct way to Reinit items? 

Being that until recently I couldn't access the debug window I've been using the following toggle:

bool bInitItems = true; toggle 

Would it work if I added something like this to a Debug string? I'm not sure what the syntax would be like for that. 

InitItems();

Also I would be eternally grateful if someone could point me to the condition/restriction that governs skill book bonuses. In Eras they made it so skill books only work on Pchar if the respective officer is not appointed. So every time you want to switch around officers you lose skill bonuses and tediously have to juggle books around.  

The more I play the more I suspect the skill book behaviour is actually a bug. Some books for whatever reason don't register on the player unless the respective officer is not appointed while others do.

(1 edit)

My understanding is that the skill books are only supposed to apply a bonus to the character holding them.  So if you have a navigation book bonus, it applies to you.  But if you appoint a Navigator because that character has a better navigation score than you do, they must also carry the book in their inventory to get a higher bonus, otherwise the bonus only applies to you if it's in your inventory.  So if you have a score of 30, and your appointed Navigator has a score of 50, and you have a +10 book for navigation, the displayed navigation score will not show a bonus unless you give the book to your Navigator.

For ERAS, I loaded a game and demonstrate that it works as intended:

My character has a grappling score of 40, with no grappling skill books/items.  My Bosun has a score of 59, plus several grappling skill items of +10, +10 and +30, stacking to +50 bonus.  On the character screen, under my character, there is a green (+60), indicating that I have a 100 score for grappling because my bosun's score is 100 (59 skill, plus 41 bonus...max score is 100, so the +50 in bonus maxes him out).


Also, there is a mod option to cap bonus item stacking, so make sure that value is off/on, depending on your preference.

(2 edits)

Thanks for going through that but I think we have a misunderstanding. Some books don't work properly or at least consistently. Bribery for Beginner's for example won't give the Pchar the bonus unless the Treasurer slot is vacant. It will work only by giving the book to the treasurer. Other books don't seem to have this problem.  

That was actually the first book I bought and so got the impression all books worked that way. But now I'm quite convinced there is a bug with that particular book and possible some others. Or perhaps it was a consequence of some condition or interaction I have yet to work out. 

(1 edit)

I will look into how Bribery is supposed to work...I only checked a few like the Grappling one I demonstrated.

Yeah I'm fairly sure there is something sinister going on with that particular book. I dug in the files for quite a while and could not find anything wrong.