Garry's Mod

Garry's Mod

60 ratings
STMining
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
305.082 KB
Jul 20, 2019 @ 3:44pm
Apr 12 @ 5:36pm
11 Change Notes ( view )

Subscribe to download
STMining

In 1 collection by SweptThr.one
SweptThrone Catalogue
135 items
Description
Mine your days away like a certain block game.

STMining was a system that was supposed to appear in the now-cancelled RP project.

To mine rocks, you obviously need a pickaxe. Hit the rock four times and you'll get a random assortment of ores. Take these ores to your local refinery machine and throw them in, ten at a time. Wait around a bit and you'll get a random assortment of refined minerals, which can then be sold to the nearest Mine Man for some money.

There are four different minerals you can get: platinum, rhodium, gold, and diamond. Each mineral gets progressively rarer and more expensive.

Want players to drop their ores and minerals when they die instead of them just disappearing? Pick up the Rock Bag DLC: https://sweptthr.one/exclusives/#RockBagDLC

Features and Contents
Functionality in sandbox.
Functionality in DarkRP (setup required).
Auto-respawning rocks.
Mine Man NPC.
Lose ores and minerals upon death.

Configurable settings include:
Money earned per one of each type of mineral.
In order to modify these config values, go to garrysmod/data/sweptthrone_addons/stmining.txt. Do not add or remove any spaces when modifying values.

I made this originally for a system on my massive serious RP project, but since that's scrapped, I'm releasing everything related.

[discord.gg]
[forums.sweptthr.one]

Disclaimer
This addon contains a model and material from HL2:Ep2. I do not claim ownership to this content. I am not making any revenue from this addon. All rights reserved to their original owners.

Credits:
Me - All of the code
Valve - Pickaxe model and materials
14 Comments
Engineer_ZY Jun 24, 2022 @ 2:45pm 
I reinstalled darkrp and it worked
SweptThr.one  [author] Jun 24, 2022 @ 10:10am 
Something is very wrong with your DarkRP install
Engineer_ZY Jun 24, 2022 @ 8:50am 
[STMining] lua/entities/urp_refinery.lua:55: attempt to call field 'notify' (a nil value)
1. unknown - lua/entities/urp_refinery.lua:55


[STMining] lua/entities/urp_refinery.lua:47: attempt to call field 'notify' (a nil value)
1. unknown - lua/entities/urp_refinery.lua:47 (x2)


Why?
D0nut Mar 15, 2020 @ 1:34pm 
Thanks :D
SweptThr.one  [author] Mar 15, 2020 @ 1:33pm 
lua/entities/urp_refinery.lua lines 62 and 79
self.HeldOres * 15
D0nut Mar 15, 2020 @ 1:24pm 
How do you change the time it takes for the refinery to refine ores? I can't find it in the any of the scripts.
Kɛlroζ Dec 26, 2019 @ 2:19pm 
Can you make a steel production ?
SweptThr.one  [author] Sep 17, 2019 @ 8:54am 
rp_florida_v2
xXvortexXx Sep 17, 2019 @ 7:50am 
whats the map?
UnhorsedGoose Jul 29, 2019 @ 12:51pm 
Maybe you could add Uranium and make it super rare and highly valuable