Mods / Minerz - An additional miner class

Tags: #QoL #Tweak
Authors: Ritzga, Syd
Side: Both
Created: Jan 2nd 2024 at 1:31 PM
Last modified: Apr 8th at 6:39 PM
Downloads: 7139
Follow Unfollow 90

Latest release (for outdated Vintage Story v1.20.x):
minerz-v0.1.9-1.20.0.zip  1-click install


Description

Adds a new class to vintage story: the miner class. This class get some positive/negative benefits and class specific items.

This is my first mod so please share your feedback with me if you want something changed or if you find bugs.

Whats the Content ?

Class: Miner

Traits:

  • Loves closed rooms (positive)
    • -15% hunger rate in rooms/underground
    • -12.5% slower stability decrease
  • Real miner (mixed)
    • +20% mining speed
    • +40% ore drop rate
    • +25% hunger rate
  • Coal lung (negative)
    • -10% walk speed
    • -2 extra health points

General recipes:

  • Handle: (every knife, walnut/oak/redwood/ebony/oak-block or unbarked walnut/oak/redwood/ebony/oak)
    • wood-block: 2 outcomes
    • unbarked-wood: 4 outcomes

Class specific recipes:

  • Big ore blasting bomb
  • Wearables
    • Mining helmet (light in the dark)
  • Bags:
    • Enhanced mining helmet (light in the dark)
    • Bigger mining bag (can store more items)
  • Tools:
    • Reinforced pickaxe
      • Faster and higher durability
    • Reinforced prospecting pick
      • More durability 
      • 3 New types of prospecting
        • Ore localisation (8 blocks with with location)
        • Small area search 16 blocks
        • Bigger area search 32 blocks

Handle attributes:

  • Oak: higher durability, faster then normal pickaxe
  • Walnut: lower durability then oak handle, faster then oak handle
  • redwood: work in progress
  • pine: work in progress
  • ebony: best material on all values

Mod config

The config is created at VintagestoryData->ModConfig->Minerz.json

Config data

Spoiler!

How long a check for caves should take in seconds
CheckInCaveSpeed

How often check if the player is in a cave at the start
CheckInCaveTriesAtStart

Modifier for hunger rate in caves for the miner class
HungerRateInCaveModifier

Modifiers for temporal stability in caves for the miner class (1 / n) e.g. default is 1 / 8
TemporalStabilityInCaveModifier

Mining speed multiplier for the miner class
MinerClassMiningSpeedMul

Ore drop rate for the miner class
MinerClassOreDropRate

Hunger rate for the miner class
MinerClassHungerrate

Heal points of the miner class
MinerClassMaxhealthExtraPoints

Walking speed multiplier for the miner class
MinerClassWalkspeed

Whats planned ?

  • Mod settings for customized class modifier (priority 1 from now)
  • Own reinforced pickaxe handbook guide

Known Bugs

  • If the config values are changed the translation and texts are bugged (no text translation availabled)
  • The miner helmet is on all classes on class selection (only visibly while selecting your class and not after creation!)
  • The light source is overriden if the player has other lights sources active (like lanterns)
  • Lags at prospecting types (work in progress)
  • The enhanced mining helmet is too bright (work in progress)

Mod support

Spoiler!
  • X-Skills (from version 0.1.1): XSkillsItemPickaxe for pickaxes and XSkillsBomb for small and big bomb (big bomb gets 1.5x exp)
  • Armory (from version 0.1.6): Mining helmet is wearable and have lightning again (0.1.8) added reinforced pickaxes recipies out of medium handels
  • Combat Overhaul (from version 0.1.8): Reinforced pickaxes are using the pickaxe animation from the mod

Changelog

Spoiler!
  •  0.1.9
    • Added config file for customization
    • Fixed bug from 0.1.8 where a optional recipe is loaded on operating systems like linux
    • Fixed error with XSkills prospecting tool has no modes
  •  0.1.8
    • Added Combat Overhaul mod support (pickaxe animation)
    • Added better Armory support (medium handles can be used for crafting now)
    • Added stability decrease in caves by 12.5%
    • Balanced ore chance and multiplyier based on new properties
  •  0.1.7
    • Added missing translations for EN and DE
  • 0.1.6
    • Added Armory mod support
    • Added new prospecor tool
      • Added 3 new prospecting modes
    • Fixed material textures of different wood types
  • 0.1.5
    • Updated to 1.20.x (tested on 1.20.4)
    • Removed smaller ore blast bomb
    • Updated recipe of bigger mining bag
  • 0.1.4
    • Added bigger mining bag
    • Added enhanced mining helmet
  • 0.1.3
    • Changed hunger value to 20% and reduced the hunger in cave to 25% (so 95% hunger)
  • 0.1.2
    • Bug fixed lantern recipe (currently bugged because of the generic lantern but it works)
  •  0.1.1
  • 0.1.0
    • Added reinforced stick for reinforced pickaxes
    • Added reinforced pickaxes
    • Added recipes for reinforced stick and reinforced pickaxes
  •  0.0.7
    • Added lightning to the miner helmet
    • Updated to 1.19.4
  • 0.0.6
    • Balanced bombs recipies
    • Added custom model for both versions (variants planned)
  • 0.0.5
    • Bomb recipes added (custom model planned)
  • 0.0.4
    • 3D Model added
    • Miner outfit is used now
  • 0.0.3
    • Fixed server/client crashes
    • Updated json-patching for better behavior adding
    • Better naming for mod/game version
  • 0.0.2
    • Changed better handling of behavior
  •  0.0.1
    • Init mod upload

THANKS FOR 6500 DOWNLOADS!!

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v0.1.9 586 Apr 8th at 6:39 PM Show minerz-v0.1.9-1.20.0.zip 1-click install
v0.1.8 320 Mar 23rd at 4:38 PM Show minerz-v0.1.8-1.20.0.zip 1-click install
v0.1.7 122 Mar 22nd at 12:02 PM Show minerz-v0.1.7-1.20.0.zip 1-click install
v0.1.6 48 Mar 21st at 11:21 PM Show minerz-v0.1.6-1.20.0.zip 1-click install
v0.1.5 470 Feb 23rd at 6:42 PM Show minerz-v0.1.5-1.20.0.zip 1-click install
v0.1.4 357 Dec 14th 2024 at 9:39 PM Show minerz-v0.1.4-1.19.0.zip 1-click install
v0.1.3 274 Nov 27th 2024 at 6:43 PM Show minerz-v0.1.3-1.19.0.zip 1-click install
v0.1.2 1856 May 25th 2024 at 11:23 AM Show minerz-v0.1.2-1.19.0.zip 1-click install
v0.1.1 606 Apr 14th 2024 at 9:35 AM Show minerz-v0.1.1-1.19.7.zip 1-click install
v0.1.0 741 Mar 3rd 2024 at 2:32 PM Show minerz-v0.1.0-1.19.0.zip 1-click install
v0.0.7 259 Feb 28th 2024 at 9:28 PM Show minerz-v0.0.7-1.19.4.zip 1-click install
v0.0.6 484 Jan 28th 2024 at 3:47 PM Show minerz-v0.0.6-1.19.3.zip 1-click install
v0.0.5 160 Jan 27th 2024 at 9:46 PM Show minerz-v0.0.5-1.19.3.zip 1-click install
v0.0.4 204 Jan 26th 2024 at 9:33 PM Show minerz-v0.0.4-1.19.3.zip 1-click install
v0.0.3 272 Jan 19th 2024 at 3:21 PM Show minerz-v0.0.3-1.19.1.zip 1-click install
v0.0.2 200 Jan 7th 2024 at 5:51 PM Show Minerz.zip 1-click install
v0.0.1 155 Jan 2nd 2024 at 1:32 PM Show Minerz.zip 1-click install

32 Comments (oldest first | newest first)

💬 Ritzga , May 4th at 1:02 PM

MyuriC thanks for reporting. Its hard in vintage story to have a custom light point, but I'll try to check if its possible to fix. There is also a enhanced helmet for brighter light already there.

RachelTGG I can't find the mods (it returns 404)

 

💬 MyuriC, Apr 21st at 3:40 PM

Ritzga

Thx for the response back then.
Btw - the Helmet light is bugged. If you wear it - any other light source you hold or have equipped will not work. Also - have you thought about making the Helmets craftable - so they can be brighter / upgraded? 

 

💬 RachelTGG, Apr 15th at 7:03 PM

Take a look into using or making it compatible wiht the Toolsmith mod as it adds a lot of handles and other things to the game
https://mods.vintagestory.at/toolsmith

💬 Ritzga , Apr 5th at 8:59 PM

Mister_Chuckles I'll look if I can make a fix for that. Thanks for reporting!

Update: it's fixed now!

💬 Mister_Chuckles, Apr 3rd at 3:10 PM

Hey there, I've been loving the class but I've run into an issue with the X-skills mod. 

whenever I have it installed the menu to change settings on any of the reinforced prospecting picks disappears and makes them useless. 

I was wondering if anyone has run else has run into this issue? 

💬 Ritzga , Mar 22nd at 10:49 AM

Thap the reduced stability loss is a nice idea. I also like the idea to add stability in underground if you mine ore blocks.

 

I'll think about it, thanks for sharing!

 

Update: I added a test for less stability lost it needs to be more tested if its too powerfull.

💬 Thap, Mar 22nd at 7:24 AM

Have you thought about slower temporal stability loss underground trait? Could replace the hunger trait, seems way more useful for a miner.

 

Also would love a rename to "Delver" but that's just because I'm a Tolkien dweeb.

💬 Ritzga , Mar 21st at 11:24 PM

MyuriC the mod supports Combat Overhaul now!

💬 Ritzga , Feb 23rd at 6:44 PM

LumpyAcidFish and VaelophisNyx

The mod is compatible to vintage story 1.20.x now!

💬 VaelophisNyx, Jan 22nd at 5:52 PM

attempted to load this in 1.20.1

System.MissingMethodException: Method not found: 'Vintagestory.API.Common.IInventory Vintagestory.API.Common.EntityAgent.get_GearInventory()'.

💬 LumpyAcidFish, Dec 28th 2024 at 9:55 AM

will your glass mods be continued into 1.20?

💬 MyuriC, Oct 26th 2024 at 4:24 PM

Incompatible with Combat Overhaul. The Helmet at least. Wont be able to equip it or requip it.

💬 Pixi, Aug 19th 2024 at 8:15 AM

"Miners - the lowest, and the highest!"

I'm actually kinda surprised to see a vanilla-like class with a bonus to ore drop rate. The default classes either have no effect or a penalty to the drop rate, after all.
But I feel this is good to see, and maybe more people will add to the class system going forwards. So, good job! I'll have to install this mod when I get around to playing VS again.

💬 Enigmayster, Jul 8th 2024 at 12:10 PM

Just popped in to let anyone interrested know, that if you're using a "Blacksmith" skill from Metalworking perk tree (Xskills), than the quality of the item works fine with new pickaxe. You can get insanely sturdy pick that way.

Also i think the brightness of mining helmet seems a bit underwhelming. I am using oil lamp from A Wearable Light mod, and it feels much better. Also it does allow you to wear a proper helmet. I assume you made this mod based on assumption that it won't be used alongside other mods that allow you to use light source without a hand, so i guess it's fair when used as intended. The new bombs are cool, since you can get into blasting pretty quickly with the Improvised ones as long as you have some bauxite on hand.

It's a very nice mod overall - the class seems well ballanced and vanilla'ish. Keep up the good work!

💬 Ritzga , May 25th 2024 at 11:25 AM

GmanAmatin yes, I guess ^^

💬 GmanAmatin, May 14th 2024 at 3:03 PM

This still good to use?

💬 Ritzga , Apr 23rd 2024 at 7:10 PM

dashr I'll check the recipe for the lantern. The Level of brightness is a bit hacky and you only have to wear it and the helmet doen't block the hand so there have to be a tradeoff for this.

💬 dashr, Apr 18th 2024 at 6:58 PM

Hey Ritzga it's working without any issues now. Thank you for your hard work! 

Btw. I'm having trouble crafting the helmet. The handbook doesn't show a recipe, and the one on your mod page isn't working for me either.

Also, it would be great if the helmet wasn't available right at the start and if it could be made brighter. Considering the resources that you need; 3 plates and a lantern, it should at least match the brightness of a regular lantern, if not exceed it.

Would be awesome if you could consider it. Thank you!

💬 Ritzga , Apr 14th 2024 at 8:35 AM

dashr thanks for the advice. I'll add the mod support!

Update: I added the behaviour, please test it, thanks!

💬 dashr, Apr 10th 2024 at 9:48 AM

Hey, awesome mod! Quick question though; I have trouble running this with Xskills. The reinforced pickaxe doesn't work with the "veinminer" skill of XSkills. What do I need to change to get it to work?

This is directly from the "XSkills" forum:

"Q: Is this mod compatible with weapon mods?

A: Yes, as long as the author of the weapon mod categorized their weapons as one of the game's weapon categories."

Although they talking about weapons, it seems this is the same for tools.

💬 Ritzga , Apr 2nd 2024 at 9:14 AM

onenaser, you have a 50% chance of getting more ores. Every drop is a roll and with +50% the chance to get aditional ores are hihgher: 3 ores could be 8 ores

💬 onenaser, Mar 19th 2024 at 6:12 PM

first thing: thank you so much for the mod

I want to ask you, what is (50% ore drop rate)? is that mean there's 50% chance I'll get double ore?

💬 Ritzga , Mar 16th 2024 at 10:12 AM

Thank you all for using this mod, 1000 downloads are amazing <3

💬 Boyarde, Feb 29th 2024 at 10:40 PM

Ooh, a blacksmith class sounds great. That's fair.

Reinforcing sounds nice, just anyway to keep a pickaxe around for longer is great.

💬 Ritzga , Feb 29th 2024 at 6:46 PM

Boyarde I'll think about the repair feature, but I currently work on a blacksmith class who can repair tools, which is way more immersive. I think I create some recipies for more durable/reinforced pickaxes.

💬 Boyarde, Feb 28th 2024 at 11:37 PM

The light works great. This is a great class mod, as someone who loves playing a dwarf miner any chance I get. Definitely keeping this mod around in my game. I think an earlier pickaxe would be too much, but a way to repair/maintain a pickaxe to save on resources/time would be cool if feasible.

💬 Ritzga , Feb 19th 2024 at 7:49 PM

Boyarde It should be class exclusive recipe but they are useable by everyone after crafting. I also had some new features for the coming version!

💬 Boyarde, Feb 19th 2024 at 12:26 AM

The improvised bomb works great btw. Tried it out finally (been busy with school).

It doesn't help cheese progress too much because you still need a hammer before you can use anything from what you get from using it.

It would be nice to have the bombs as class exclusive recipes just to help add some flavor/balance to the class. (Balance in the sense of keeping some of the progression cheese lower)

💬 Ritzga , Jan 27th 2024 at 10:47 AM

Boyarde good idea, I think about it!

Update: I think a kind of welding powder (rust, aluminum => rusty gear and bauxite) with some clay could work as a bomb.

💬 Boyarde, Jan 27th 2024 at 9:23 AM

It would be interesting to have some sort of simple but less effective ore blasting bomb that could be made early maybe to give miners an advantage in getting early ore. Would be nice since any miner class usually feels useless until you get your first pickaxe, it would help since you could just find copper bits above surface copper and blast that.

Flax string for a fuse, flax cloth for a wrapping, and maybe terra preta since it still requires making charcoal so its not too fast of progression.

💬 Ritzga , Jan 19th 2024 at 8:16 PM

Aksyl these mods are outdated (not for 1.19) but it looks intresting, thanks for the idea.

💬 Aksyl, Jan 19th 2024 at 5:00 PM

Consider X-Skills compatibility?

 (edit comment delete)