Garry's Mod

Garry's Mod

66 ratings
STMining
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
33.814 KB
20 Jul, 2019 @ 3:44pm
7 Jul @ 2:39pm
13 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.
Need help? Check out docs.sweptthr.one/stsettings#stmining.

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


[sweptthr.one]

Credits:
Me - All of the code
14 Comments
Engineer_ZY 24 Jun, 2022 @ 2:45pm 
I reinstalled darkrp and it worked
SweptThr.one  [author] 24 Jun, 2022 @ 10:10am 
Something is very wrong with your DarkRP install
Engineer_ZY 24 Jun, 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 15 Mar, 2020 @ 1:34pm 
Thanks :D
SweptThr.one  [author] 15 Mar, 2020 @ 1:33pm 
lua/entities/urp_refinery.lua lines 62 and 79
self.HeldOres * 15
D0nut 15 Mar, 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ζ 26 Dec, 2019 @ 2:19pm 
Can you make a steel production ?
SweptThr.one  [author] 17 Sep, 2019 @ 8:54am 
rp_florida_v2
vortex 17 Sep, 2019 @ 7:50am 
whats the map?
UnhorsedGoose 29 Jul, 2019 @ 12:51pm 
Maybe you could add Uranium and make it super rare and highly valuable