GoldenJude / Mineshafts

MIT License
0 stars 1 forks source link

Notes

Use the mod on a server to sync configs.
In case of questions you may find me on the OdinPlus or the Valheim modding discord servers.
You may also file an issue on GitHub.

Features

Underground mining

Abandoned mineshafts

Configuration

Configuration for the mod is done within the GoldenJude_Mineshafts.cfg file created upon game launch.
All configs reload during runtime.

General configuration

stone_health = configures the damage required to break underground rock
min_pickaxe_tier = minimum pickaxe tier needed to begin mining

Building piece recipe

items = array of items followed by their required amounts for this building piece
recover = defines if required items should be recovered upon destruction

Abandoned mineshaft configuration

quantity = amount of abandoned mineshafts to be generated throughout the world
min_spacing = minimum spacing between abandoned mineshafts (if an abandoned mineshaft is spawned another one cannot spawn within this distance of it)
rooms = amount of rooms to be generated in an abandoned mineshaft

Drops

biomes = array of possible bioms this drop may occur in
possible biomes: Global, None, Meadows, Swamp, Mountain, BlackForest, Plains, AshLands, DeepNorth, Ocean, Mistlands
min_pickaxe_tier = minimum pickaxe tier required for this drop to occur
prefab = prefab spawned when this drop is rolled (can be any prefab from the game, creatures for example)
drop min/max = amount of drops
to define a drop the header must start with drop_ followed by anything, for example [drop_my_drop-epic_ore-mistlands-32]

Screenshots

pic1
pic2
pic3
pic4

Changelog

Prefab names

mineshaft entrance - MS_Entrance
abandoned mineshaft location - MS_D_AbandonedMineshaft
mine chunk/tile - MS_MineTile
wood planks 2x2 - MS_woodwall_2x2
damaged wood planks 2x2 - MS_woodwall_2x2_damaged
wood planks 2x4 - MS_woodwall_2x4
damaged wood planks 2x4 - MS_woodwall_2x4_damaged
wooden stairs - MS_woodstairs
damaged wooden stairs - MS_woodstairs_damaged
tier 1 chest - MS_chest_T1
tier 2 chest - MS_chest_T2
underground wall on hit effect - MS_FX_Tile_Hit
underground wall on destroy effect - MS_FX_Tile_Destroyed
bone pile skeleton spawner - MS_Bonepile