LithoCost
Customize stone, black marble, Grausten, crystal, and other rock-based Valheim building costs per material or piece.
About this mod Author’s original text
LithoCost
LithoCost lets you change the resource and quantity required by Valheim building pieces that use stone, black marble, Grausten (Ashlands stone), crystals, obsidian, or other rock-like materials.
You can set one cost for every piece using a material, or give an individual piece its own override. For example, make a black-marble wall cost Stone x 1 or Stone x 10000. Other non-rock ingredients on that piece stay unchanged.
Install
Install Mod Manager or r2modman. Requires BepInExPack for Valheim.
Configure
Run Valheim once with the mod installed. LithoCost scans the build-piece catalog and creates sections in:
BepInEx/config/com.lithocost.valheim.cfg
Edit the file and restart Valheim for changes to take effect.
Change one piece
Find a section named Piece:, for example:
[Piece: piece_blackmarble_wall_2x1]
Enabled = true
ReplacementPrefab = Stone
Amount = 10000
Piece rules replace all rock-like ingredients for that piece and take priority over material rules. The prefab ID is the section name generated by the mod; use it exactly as shown.
Change every piece using one material
Find a section named Material:, such as Material: BlackMarble, then set Enabled = true, choose a ReplacementPrefab, and set Amount.
ReplacementPrefab is Valheim's internal item prefab ID, such as Stone, BlackMarble, or Crystal. Amount = 0 removes that rock cost. Invalid item IDs are ignored and the original cost is retained.
Add modded rock materials
The General section contains RockResourceKeywords. Add comma-separated words that appear in a modded material's prefab ID, then restart. The default terms are stone,marble,grausten,rock,crystal,obsidian.
Multiplayer
LithoCost changes local build requirements and does not synchronize settings. Install it with the same configuration for every player who builds in a multiplayer world.
Disclosure
AI tools were used to generate a substantial portion of this mod. Select 's AI Generated category when uploading.
Español
LithoCost te permite cambiar qué material y cuánta cantidad cuestan las piezas de construcción que usan piedra, mármol negro, Grausten (piedra de las Tierras de Ceniza), cristales, obsidiana u otros materiales rocosos.
Puedes configurar un coste para todas las piezas que usan un material o establecer una excepción para una pieza concreta. Por ejemplo, puedes hacer que una pared de mármol negro cueste Stone x 1 o Stone x 10000. Los ingredientes que no sean rocosos se conservan.
Instalación
Instala LithoCost con Mod Manager o r2modman. Necesitas BepInExPack para Valheim. Inicia Valheim una vez para que el mod detecte las piezas de construcción y cree el archivo de configuración:
BepInEx/config/com.lithocost.valheim.cfg
Después de editarlo, reinicia Valheim para aplicar los cambios.
Cambiar el coste de una pieza
Busca una sección [Piece:...] en el archivo. El mod genera una para cada pieza rocosa detectada. Usa exactamente el ID que aparece en tu archivo. Por ejemplo:
[Piece: piece_blackmarble_wall_2x1]
Enabled = true
ReplacementPrefab = Stone
Amount = 10000
- Enabled = true activa la regla.
- ReplacementPrefab es el ID interno del objeto que quieres cobrar; por ejemplo, Stone, BlackMarble o Crystal.
- Amount es la cantidad por pieza. Pon 0 para quitar el coste rocoso de esa pieza.
La regla individual reemplaza todos los ingredientes rocosos de esa pieza y tiene prioridad sobre la regla general del material. Los demás ingredientes no cambian.
Cambiar el coste de todas las piezas de un material
Busca una sección [Material:...], por ejemplo [Material: BlackMarble]. Activa Enabled = true y configura ReplacementPrefab y Amount con los mismos valores explicados arriba. La regla se aplicará a todas las piezas detectadas que usen ese material y que no tengan una regla individual activada.
Si el ID de objeto escrito en ReplacementPrefab no existe, LithoCost avisa en el registro y conserva el coste original.
Materiales de otros mods
En
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- 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.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- 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. In multiplayer, the host and every client need the same mods installed.
Install these first, or the mod will not work: