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.
CoalGrades
Charcoal kilns bake graded coal from every kind of wood, and coal-fired smelting facilities accept the graded coal as proportionally stronger fuel. English/Korean.
By MM94
| Date uploaded | 2 weeks ago |
| Version | 0.1.1 |
| Download link | MM94-CoalGrades-0.1.1.zip |
| Downloads | 80 |
| Dependency string | MM94-CoalGrades-0.1.1 |
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.2350ValheimModding-Jotunn
Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.
Preferred version: 2.30.2README
CoalGrades
Charcoal kilns bake graded coal from every kind of wood, and coal-fired smelting facilities accept the graded coal as proportionally stronger fuel.
Made by MM94.
Features
- Kilns accept every kind of wood — not just regular wood/fine wood. Each wood type is converted 1:1 into its own grade of coal.
- Graded coal works as stronger fuel — any coal-fired facility (smelter, blast furnace, etc.) is detected automatically at runtime, with no hardcoded prefab list, and accepts graded coal with a fuel-value multiplier applied.
- Fully configurable — the wood-to-coal mapping, fuel multipliers, and consume order are all adjustable via config.
Coal Grades
| Wood | Coal Grade | Fuel Multiplier |
|---|---|---|
| Wood / Fine Wood | Coal | x1 |
| Round Log | Lignite | x1.5 |
| Elder Bark | Subbituminous Coal | x2 |
| Yggdrasil Wood | Bituminous Coal | x2.5 |
| Blackwood (Ashwood) | Anthracite | x3 |
| Frostwood (Timberwood) | Graphite | x4 |
Configuration
| Setting | Description |
|---|---|
EnableKilnConversions |
Enables kiln conversion of each wood type into its graded coal. |
EnableFuelValues |
Enables graded coal being accepted as multiplier-applied fuel at coal-fired facilities. |
ConversionMap |
The kiln conversion list (input prefab:output prefab, comma-separated). Entries here override the vanilla kiln conversion for that input. |
FuelValues |
The fuel value of each graded coal (item prefab:multiplier, comma-separated). Coal is always treated as multiplier 1 even if absent from the list. |
ConsumeOrder |
The priority used when automatically consuming coal of different grades (LowestFirst or HighestFirst). |
Notes
- Graded coal is fuel-only — it is never used as a crafting material.
- English and Korean are built in.
- Fuel/ore storage caps (
m_maxFuel/m_maxOre) are never modified, so this mod is compatible with other tweak mods that adjust storage capacity. - All players in a session need this mod installed.
한국어 요약
숯가마가 모든 종류의 나무를 받아 등급 석탄을 1:1로 산출하고, 등급 석탄은 제련소·용광로 등 석탄 연료 시설(프리팹 하드코딩 없이 자동 감지)에서 배율이 적용된 연료로 사용됩니다.
등급표: Wood/FineWood → Coal(x1), RoundLog → Lignite(x1.5), ElderBark → Subbituminous Coal(x2), YggdrasilWood → Bituminous Coal(x2.5), Blackwood(Ashwood) → Anthracite(x3), Frostwood(Timberwood) → Graphite(x4)
매핑·배율·소모 순서는 전부 config에서 조절할 수 있습니다(EnableKilnConversions, EnableFuelValues, ConversionMap, FuelValues, ConsumeOrder). 등급 석탄은 연료 전용이며 제작 재료로는 쓰이지 않습니다. 영어·한국어가 내장되어 있고, 최대 적재량은 건드리지 않아 적재량을 바꾸는 다른 트윅 모드와도 호환됩니다. 함께 플레이하는 모든 인원이 설치해야 합니다.
CHANGELOG
Changelog
0.1.4
- Fixed drop-model (ground-dropped item) still rendering dark despite correctly-recolored textures: the renderer's vertex colors and/or material
_Colorwere multiplying the texture toward black. Each clone prefab's drop-model renderer now gets its own mesh copy (never modifies the mesh shared with vanilla Coal) with vertex colors whitened (alpha preserved), and each material clone's_Coloris whitened as well (alpha preserved) — the recolored texture is now the sole color source. - Added per-renderer/per-material-slot diagnostic logging (shader name,
_Colorpresence/original value, vertex color count and original RGB min/max) to confirm the root cause, plus a fallback that enumerates all Color-type shader properties when neither vertex colors nor_Colorexplain the darkening.
0.1.3
- Fixed drop-model (ground-dropped item) recoloring: shadow/highlight normalization was computed over the entire shared texture atlas instead of just the region the coal mesh actually samples, so every grade's drop model showed only its shadow color. Normalization and recoloring now use the mesh's UV bounding box in texture space (inventory icons were already correct and are unaffected).
- Fixed a NullReferenceException when adding fuel to a smelter while the inventory contained an item with no
m_dropPrefab(e.g. a crafted item) —FindAvailableFuelno longer calls vanillaInventory.GetItem(isPrefabName:true)and instead does a null-safe scan overGetAllItems().
0.1.2
- Added runtime-recolored inventory icons and drop-model textures for all 5 coal grades (no new image assets — vanilla Coal's icon and drop texture are copied and recolored in-memory based on each grade's shadow/highlight/gamma).