Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
EmeraudeCoffres
Craft From Containers fix: recipes that accept any one of several ingredients (like any fish at the food preparation table) now find that ingredient in nearby chests.
By Emeraude
| Last updated | 2 hours ago |
| Total downloads | 28 |
| Total rating | 0 |
| Categories | Client-side Utility AI Generated |
| Dependency string | Emeraude-EmeraudeCoffres-1.2.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360ValheimPortMods-Craft_Build_Smelt_Cook_Fuel_Pull_From_Containers
v4.0.7 by aedenthorn from NexusMods. A combination of more slots and equipment and quick slots that uses the vanilla inventory.
Preferred version: 4.1.0README
Emeraude Coffres
Two crafting improvements for Craft From Containers users:
- recipes that accept any one of several ingredients, like any fish at the food preparation table, now find that ingredient in nearby chests;
- Shift + Craft makes as many items as possible at once instead of 5.
Available in English (default) and French, see Configuration. (Version française plus bas.)
The problem
Some recipes accept any one of several ingredients: at the food preparation table, a fish recipe takes any kind of fish. The game needs only one of them, in a single quality (the same number of stars). Craft From Containers asks for all of them, and the game only looks for the chosen ingredient in the player's inventory: fish stored in a chest was never found.
The fix
- The craft button is enabled when one of the ingredients is available in a single quality, counting the player's inventory and the chests in Craft From Containers' range.
- When crafting, the missing amount is moved from the chests into the player's inventory, then the game uses it as usual. If the inventory is full, a message says so and nothing is crafted.
Craft From Containers keeps doing everything else. Its settings apply here too: range, ignored chest types, Enabled, and the key that prevents pulling.
Crafting many at once
In the base game, holding Shift while pressing Craft makes 5 items at once. With this mod it makes as many as possible: as many as the ingredients allow, chests in range included, and as fit in the inventory. The craft button shows the number while Shift is held. Crafting.MultiCraftAmount sets a fixed number instead.
Installation
Install it on every player's game, next to Craft From Containers. Nothing is needed on the server.
Configuration
BepInEx/config/emeraude.coffres.cfg
| Setting | Default | Effect |
|---|---|---|
General.Language |
English |
English or French: language of the in-game messages |
Crafting.MultiCraftAmount |
0 |
How many items Shift + Craft makes. 0 = as many as possible, or a fixed number (5 in the base game) |
Version française
Deux améliorations de fabrication pour les joueurs de Craft From Containers :
- les recettes qui acceptent un ingrédient au choix, comme n'importe quel poisson à la table de préparation, trouvent désormais cet ingrédient dans les coffres proches ;
- Maj + Fabriquer fabrique autant d'exemplaires que possible d'un coup, au lieu de 5.
Le problème
Certaines recettes acceptent un ingrédient au choix parmi plusieurs : à la table de préparation, une recette de poisson prend n'importe quel poisson. Le jeu n'en demande qu'un, d'une seule qualité (le même nombre d'étoiles). Craft From Containers les exigeait tous, et le jeu ne cherche l'ingrédient choisi que dans l'inventaire du joueur : le poisson rangé dans un coffre n'était jamais trouvé.
Le correctif
- Le bouton « Fabriquer » s'active dès qu'un des ingrédients est disponible en quantité suffisante dans une même qualité, en comptant l'inventaire du joueur et les coffres à portée de Craft From Containers.
- À la fabrication, la quantité manquante passe des coffres à l'inventaire du joueur, puis le jeu l'utilise normalement. Si l'inventaire est plein, un message le signale et rien n'est fabriqué.
Craft From Containers continue de gérer tout le reste, et ses réglages s'appliquent aussi ici : portée, types de coffres ignorés, Enabled et la touche qui empêche de puiser dans les coffres.
Fabriquer en lot
Dans le jeu de base, tenir Maj en cliquant sur Fabriquer fabrique 5 objets d'un coup. Avec ce mod, il en fabrique autant que possible : autant que les ingrédients le permettent, coffres à portée compris, et que l'inventaire peut en contenir. Le bouton affiche le nombre pendant que Maj est tenue. Le réglage Crafting.MultiCraftAmount fixe un nombre à la place (0 = autant que possible, 5 comme dans le jeu de base).
Installation et réglages
À installer chez chaque joueur, à côté de Craft From Containers. Rien à faire sur le serveur.
Le mod est en anglais par défaut. Pour le passer en français, mets Language = French dans BepInEx/config/emeraude.coffres.cfg.