TjalfesMarrow
BETA. A grey trinket amulet: faster movement, a bigger discovery radius on the map, faster stamina regeneration, cheaper running and jumping. Made from a mould and a cast in the Frost Foundry. Configurable, and decided by the server.Tjalfes Marrow (beta)
Beta, version 0.11.0. The mod works in the author's own game, but it is new and has not been tested widely, for example on many different servers. Expect rough edges, and please report problems with the log.
A trinket amulet for Valheim. It looks grey and white, and while you wear it you are faster, see more of the world on your map, and your stamina lasts longer.
What it does (default values)
- Movement speed +10 %
- Discovery radius +50 %: the circle that is uncovered on the map around you is bigger.
- Stamina regeneration +10 %
- Run stamina use -40 %
- Jump stamina use -10 %
Every value can be changed in the config file, and on a server the server decides.
Crafting
By default the amulet is made in three steps (the setting Mould needed):
- A mould (
TjalfesMarrowMould_TM) is needed. It is not crafted and has no source of its own: the server gives it to the players (spawn TjalfesMarrowMould_TMwith the console commands on, or a loot list). - At a Black Forge (level 1) the mould (used up) and 3 Amber Pearls, 3 Leather Scraps and 5 Bone Fragments make a cast (
TjalfesMarrowCast_TM). - In the Frost Foundry, fuel it and add the cast: after 60 seconds it has made the amulet.
With Mould needed set to false, the amulet is crafted directly at a workbench (level 1) for the same cost. The stations, their levels, the ingredients and the time can be changed in the settings.
For testing, spawn TjalfesMarrow works with the console commands on.
How to craft the amulet directly, like version 0.10.2 (no mould)
From version 0.11.0 the amulet needs a mould, a cast and the Frost Foundry (see Crafting above). Version 0.10.2 and older crafted it directly at a workbench. If you want that again (for example because your
players have no way to get a mould), change one setting: Mould needed, from true to false. It is a setting in the config file, so you do not have to change anything in the game or reinstall the mod.
The amulet then costs 3 Amber Pearls, 3 Leather Scraps and 5 Bone Fragments and is crafted at a workbench (level 1), exactly as before. Your amulets and your settings are not touched.
Who has to change it: the config file of the server decides (on a dedicated server, or when you host the game yourself, it is the host's file). Players on a server do not have to change their own file: the server's value replaces theirs while they are connected. In a single player game, you are the server, so change your own file.
Step by step
- Start the game once with the mod installed, so that the config file is made. (If you update from 0.10.2 you already have it, and the new setting is added to it the first time you start 0.11.0.)
- Close the game (or stop the server). This is the safest way, and you do not have to restart afterwards: the file is read when the game starts.
- Find the file
TjalfesMarrow.cfg.- Thunderstore Mod Manager or r2modman: choose your profile, open Settings (the left column), and click Browse profile folder. In the window that opens, go into
BepInEx, thenconfig, and findTjalfesMarrow.cfg. (The mod manager also has a Config editor page in the left column: if you use it, findTjalfesMarrow.cfgin the list, and look forMould neededunder2 - Crafting.) - Manual install or a dedicated server: it is in the
BepInEx/configfolder inside the Valheim folder (on a server: the server's Valheim folder).
- Thunderstore Mod Manager or r2modman: choose your profile, open Settings (the left column), and click Browse profile folder. In the window that opens, go into
- Open the file with a text editor (Notepad is fine; right click, Open with).
- Find the section
[2 - Crafting]. Below it, find the lines aboutMould needed. They look like this:
## The amulet is made in three steps: the mould ... With false, no mould, cast or foundry is needed ...
# Setting type: Boolean
# Default value: true
Mould needed = true
- Change the last line (the one that starts with
Mould needed =) so that it saysfalse:
Mould needed = false
Only change the word after the equals sign. Do not change the lines that start with # (they are only the description), and do not remove the equals sign or the spaces around it. Write false in lower case.
7. Save the file (Ctrl+S) and close the editor.
8. Start the game (or the server). In the game, open a workbench, and the Tjalfes Marrow amulet is in the crafting list, with the three ingredients. (You need the ingredients in your inventory, and a level 1 workbench close by.)
To check that it worked
- The log (
BepInEx/LogOutput.log) is a text file that you can open in Notepad. It does not sayMould neededby itself, but the crafting menu shows the amulet at the workbench. - If the amulet is not in the workbench list, the change did not take: open the file again and check that the line says
Mould needed = false(and notFalsewith a capital F, a missing space, or a#at the start of the line), and that you edited the file of the server, if you play on one. Also check thatCraftableunder the same section istrue,Crafting stationisWorkbenchandStation levelis1(those are the defaults).
To change it back: set Mould needed = true again. The recipe at the workbench disappears, and the cast is made at the Black Forge again.
What happens to the mould and the cast: the items stay in the game (they must, so the server and the players have the same items), but nobody needs them when Mould needed = false.
Other changes in the same section: Crafting station and Station level set where the amulet is crafted when no mould is needed (for example Forge), and Ingredients sets the cost, for example Ingredients = AmberPearl:2,LeatherScraps:5.
Settings
The file is BepInEx/config/TjalfesMarrow.cfg, made the first time the game starts with the mod.
1 - Effects:Speed bonus (%),Discovery radius increase (%),Stamina regeneration bonus (%),Run stamina saving (%),Jump stamina use reduction (%).2 - Crafting:Mould needed(default true),Cast station,Cast station level,Foundry time (seconds),Frost Foundry prefab,Craftable,Crafting station(Workbench, Forge, Cauldron, Stonecutter, ArtisanTable, BlackForge, MageTable, or the prefab name of a station, orNone),Station level,Ingredients(ItemPrefab:amount, comma separated; the default isPearl:3,LeatherScraps:3,BoneFragments:5, wherePearlmeans the Amber Pearl).3 - Look:Grey amount (%)andLightness (%), how grey and light the amulet is compared to the trinket it is made from.
Servers and multiplayer
- Install the mod on the server and on every player's computer. It adds an item, so everybody must have it.
- All settings are synced from the server (they are admin only): the server's config file decides, and a player's own values are replaced by the server's while connected. A change is used at once.
- When you join, the log (
BepInEx/LogOutput.log) saysThe settings of the server were receivedwith the values.
Requires
BepInExPack for Valheim, and Jotunn (both are installed with the mod by the mod manager).
Notes
- The amulet is made from an existing trinket (only its model and icon are used, in grey and white colours). Its own effects, such as the adrenaline of that trinket, are removed.
- If something does not work, the log has lines that start with
In effect:the first time that each effect is used. A message that says "not found" means that part is off in your game version. Please send the log with your report.
AI disclosure
Large parts of this mod's code were written with the help of an AI assistant (Claude), and the icon was drawn by a program written by it. Please report problems, with the log.
Changes
See the changelog.
