RestAndLearn

v0.1.0·Updated 2023-05-13

Allows the player to use the 'Learn' action during rest to have a chance to automatically learn recipes based on the items in their inventory. WARNING: Experimental mod, see readme

About this mod Author’s original text

RestAndLearn

Allows the player to use the 'Learn' action during rest to have a chance to automatically learn recipes based on the items in their inventory.

The chance is higher if:

  • You have more ingredients of the recipe
  • You have the end product of the recipe

The chances are "rolled" on every rest hour, so for example if you use the Learn action for 5 hours, you have 5 times the chance to learn a recipe.

Each hour can yield you at most one recipe.

Maths

The per-recipe discovery chances are calculated using the following logistic function:

1/(1+e^(-1(kx-3))) 0.3

where x is owned ingredients / ingr. count and k is the max possible ingredient count.

Note: The end result item "counts" as 2 ingredients.

The 0.3 multiplier caps the discovery chance at 30% (when all the ingredients and end result is present).

Warning: Experimental mod

This mod is experimental and might:

  • Not work
  • Teach you more recipes than intended - the exact chances are still being tweaked
  • Teach you recipes that are not supposed to be learned by the player (if any)
  • Teach you useless recipes (like salvaging weapons into metal)
  • Not work for the co-op partner, only the host
  • Break in unexpected ways, even soft lock your game on rest

Unlike my fully released mods, this mod comes with no support. Please do not report any bugs,

as they are possibly numerous, and I'm most likely aware of them. If the mod does not work for you, just

uninstall it and wait for a more stable version.

Changelog

0.1.0

  • Initial release

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPack_Outward

File & checksum

Filename
RestAndLearn-0.1.0.zip
File size
22.3 KiB