Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
This version just adds a new function that reuses the existing code to add the Plushie Bomb recipes to the engineer profession's recipe list, and then tells the game to call that function when the game boots up or when a player spawns in (?) via the OnGameBoot and OnCreateLivingCharacter events respectively.
I haven't rigorously tested these changes yet, but I tested it in a new singleplayer save as Engineer and the recipes get added without throwing any errors; since no major code is changed, this in theory shouldn't cause any new bugs to arise as the only code that got changed was the code that handled how the recipes are added to the Engineer profession. Worst case scenario, if this version of the script causes any errors, it should easily be fixed by just adding the "addEngineerRecipes" function to more events as opposed to just the OnGameBoot and OnCreateLivingCharacter events; I just chose these events in particular because it is how the Occupations Expertises & Balance mod decides to handle occupation-related code as well.
It should patch the vanilla function like this mod does otherwise it doesn't work in all cases where you go to character creation menu.
Otherwise you can add a check when a new player is created and teach them the recipe.