Mods / Stone Quarry

Category: #Crafting #QoL #Utility
Author: DArkHekRoMaNT
Side: Both
Created: Nov 15th 2021 at 4:57 AM
Last modified: Oct 7th at 3:49 PM
Downloads: 19037
Follow Unfollow 154

Do you love making things out of stone, but hate the process of mining it? This mod is for you!

  • Create quarries to collect rocks as stone slabs.
  • Process stone slabs into rock, stones, bricks or polished rock.
  • Smash stones into gravel and sand inside rubble storage.
  • Store and transport stones, gravel and sand in rubble storage.
  • Produce muddy gravel in rubble storage! No more having go to take it from far away lakes!

Practical guides can be found in the handbook

Known IMultiBlock issues for 2.0.0
- Particles on the subblock are black/transparent (when you hit)
- The breaking texture on the sub-block is missing
- emitSideAO doesn't work on subblock
- Selboxes are always hidden on the subblock
Config file
- PlugSizes - max size for different plugs (default: 3 - copper, 4 - any bronze, 5 - any iron, 6 - steel)
- RubbleStorageMaxSize - max total amount of sand, gravel and stones that can be stored in one rubble storage (default: 512)
- SlabInteractionTime - time of interaction with slabs to obtain stone in seconds (default: 0.2, it is desirable that this be a multiple of 0.2)
- PlugWorkModifier - modifier of the difficulty (hits number) of hammering plugs (default: 1)
- BreakPlugChance - chance for break plug after use (default: 0)

This is the new version (fork) of Quarry Works! for 1.15+

Version For Game version Downloads Release date Changelog Download
v2.0.0-rc.4 2385 Oct 7th at 3:49 PM Show StoneQuarry_v1.17.4_v2.0.0-rc.4.zip
v2.0.0-rc.3 1172 Sep 17th at 7:10 PM Show StoneQuarry_v1.17.3_v2.0.0-rc.3.zip
v2.0.0-rc.2 423 Sep 11th at 3:11 PM Show StoneQuarry_v1.17.3_v2.0.0-rc.2.zip
v2.0.0-pre.5 1827 May 30th at 5:46 AM Show StoneQuarry_v1.16.5_v2.0.0-pre.5.zip
v2.0.0-pre.4 681 May 14th at 12:36 AM Show StoneQuarry_v1.16.5_v2.0.0-pre.4.zip
v2.0.0-pre.3 219 May 10th at 10:02 PM Show StoneQuarry_v1.16.5_v2.0.0-pre.3.zip
v2.0.0-pre.2 363 Apr 29th at 7:47 AM Show StoneQuarry_v1.16.5_v2.0.0-pre.2.zip
v2.0.0-pre.1 558 Apr 10th at 3:08 PM Show StoneQuarry_v1.16.4_v2.0.0-pre.1.zip
v1.6.5 3421 Mar 12th at 12:25 AM Show StoneQuarry_v1.16.4_v1.6.5.zip
v1.6.4 163 Mar 11th at 1:11 PM Show StoneQuarry_v1.16.4_v1.6.4.zip
v1.6.3 1750 Feb 17th at 6:21 PM Show StoneQuarry_v1.16.3_v1.6.3.zip
v1.6.2 495 Feb 14th at 9:49 PM Show StoneQuarry_v1.16.3_v1.6.2.zip
v1.6.1 887 Jan 31st at 12:30 PM Show StoneQuarry_v1.16.1_v1.6.1.zip
v1.6.0 572 Jan 26th at 8:07 AM Show StoneQuarry_v1.16.1_v1.6.0.zip
v1.5.0 1608 Dec 27th 2021 at 3:20 PM Show StoneQuarry_v1.16.0-rc.2_v1.5.0.zip
v1.4.2 415 Dec 13th 2021 at 3:07 PM Show StoneQuarry_v1.16.0-pre.8_v1.4.2.zip
v1.4.1 435 Nov 28th 2021 at 10:09 AM Show StoneQuarry_v1.15.9_v1.4.1.zip
v1.4.0 184 Nov 28th 2021 at 5:11 AM Show StoneQuarry_v1.15.9_v1.4.0.zip
v1.3.0 297 Nov 24th 2021 at 8:36 AM Show StoneQuarry_v1.15.9_v1.3.0.zip
v1.2.0 248 Nov 22nd 2021 at 10:44 PM Show StoneQuarry_v1.15.9_v1.2.0.zip
v1.1.1 228 Nov 21st 2021 at 12:59 PM Show StoneQuarry_v1.15.9_v1.1.1.zip
v1.1.0 173 Nov 20th 2021 at 3:14 PM Show StoneQuarry_v1.15.9_v1.1.0.zip
v1.0.1 247 Nov 17th 2021 at 5:42 AM Show StoneQuarry_v1.15.7_v1.0.1.zip
v1.0.0 276 Nov 15th 2021 at 5:09 AM Show StoneQuarry_v1.15.7_v1.0.0.zip

40 Comments (oldest first | newest first)

💬 DArkHekRoMaNT, 21 hours ago

There are hints there as well. In the tooltip of the item, or on the stone slab itself l33tmaan

💬 l33tmaan, Nov 24th at 5:39 AM

I'd appreciate it if you could add some item descriptions to the quarry tools so I don't have to keep looking at the handbook to remind myself that the wedge chisel makes bricks and the finishing chisel makes polished blocks. You could probably just copy and paste the text from the handbook.

💬 DArkHekRoMaNT, Oct 21st at 7:01 PM

Michaloid Tested now. It works fine in new world (1.17.9) with ACA 1.0.8 and SQ 2.0.0-rc.4

💬 DArkHekRoMaNT, Oct 21st at 6:47 PM

Pabbley Must be fixed in v2.0.0-rc.4

💬 Michaloid, Oct 18th at 7:56 PM

This mod has a conflit with culinary artillery. The plugs, although can be hammered down, can't drop the stone and stay in the "hammered" position and it's impossible to quarry with the mod's method.

Don't understand what's making the issue tho.

💬 Pabbley, Oct 16th at 1:28 AM

Having split rocks with different values have really odd behaviours when stacked with other split rocks, a block of 3 would get stacked into a block of 1 turning the stack into blocks of 1's, the reverse can happen to with blocks of 27 stacking with blocks with values of 1's.

💬 DArkHekRoMaNT, Sep 17th at 7:13 PM

The problem most likely occurred in worlds with a removed mod that adds blocks. This is not related to Bricklayers, fixed in 2.0.0-rc.3

💬 NerdScurvy, Sep 17th at 5:29 PM

I think the error happens when mods introduce placeholder blocks resulting in null block codes. The Stone Quarry mod is not handling null block code values.

💬 Assassin_chad_23, Sep 17th at 3:07 AM

NerdScurvy the issue is not just with a conflict in brick layers.   I am getting the same error once i complete a block and dont run that mod.

 

💬 NerdScurvy, Sep 15th at 10:53 AM

DArkHekRoMaNT   

I've submitted a pull request which should resolve the null-ref error with the Bricklayers mod.

💬 Foxy_Grandpa, Sep 13th at 7:11 PM

@NerdScurvy

Is there an easy way to patch this? Just wondering if there's anything that could fix it right now since it's kinda dire for the functionality on the server I'm running. If not, that's totally fine. I can keep waiting.

💬 NerdScurvy, Sep 12th at 4:12 PM

Edit: Traced it to a compatibility issue with the Bricklayers Mod. Not the Expanded matter mod as I thought earlier. 

[RC2] Slab not dropping after hammering all plugs in.

Log:

13.9.2022 00:02:06 [Error] [stonequarry] An exception was thrown when trying to start the mod:
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.API.Util.WildcardUtil.Match(AssetLocation needle, AssetLocation haystack) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryApi\Util\WildcardUtil.cs:line 22
at StoneQuarry.RockManager.ResolveWildcards()
at StoneQuarry.RockManager.LoadRockData()
at StoneQuarry.RockManager.StartServerSide(ICoreServerAPI api)
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Common\API\ModLoader.cs:line 625
13.9.2022 00:02:06 [Error] Failed to start system StoneQuarry.RockManager

...

13.9.2022 00:03:21 [Error] System.NullReferenceException: Object reference not set to an instance of an object.
at StoneQuarry.BEPlugAndFeather.GetRocksInside(IWorldAccessor world, IServerPlayer byPlayer)
at StoneQuarry.BEPlugAndFeather.BreakAll(IWorldAccessor world, IServerPlayer byPlayer)
at StoneQuarry.BlockPlugAndFeather.OnBlockInteractStart(IWorldAccessor world, IPlayer byPlayer, BlockSelection blockSel)
at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockInteract(Packet_Client packet, ConnectedClient client) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\BlockSimulation.cs:line 396
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction(Packet_Client packet, ConnectedClient client) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\Inventory.cs:line 258
at Vintagestory.Server.ServerMain.ProcessNetMessage(NetIncomingMessage msg, NetServer mainSocket) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\ServerMainNetworking.cs:line 110

💬 Foxy_Grandpa, Sep 12th at 3:33 AM

Attempted to quarry underground on a server and upon hammering the plugs fully it threw an exception and kicked me from the server. No other player was affected by this.

Crash Log:
12.9.2022 03:40:17 [Error] System.NullReferenceException: Object reference not set to an instance of an object
at StoneQuarry.BEPlugAndFeather.GetRocksInside (Vintagestory.API.Common.IWorldAccessor world, Vintagestory.API.Server.IServerPlayer byPlayer) [0x00042] in <5621ffa104404de288e2e360d9af6f10>:0
at StoneQuarry.BEPlugAndFeather.BreakAll (Vintagestory.API.Common.IWorldAccessor world, Vintagestory.API.Server.IServerPlayer byPlayer) [0x00001] in <5621ffa104404de288e2e360d9af6f10>:0
at StoneQuarry.BlockPlugAndFeather.OnBlockInteractStart (Vintagestory.API.Common.IWorldAccessor world, Vintagestory.API.Common.IPlayer byPlayer, Vintagestory.API.Common.BlockSelection blockSel) [0x00189] in <5621ffa104404de288e2e360d9af6f10>:0
at Vintagestory.Server.ServerSystemBlockSimulation.HandleBlockInteract (Packet_Client packet, Vintagestory.Server.ConnectedClient client) [0x00196] in <6215ae1029cd4696b4c4b2c34106b061>:0
at Vintagestory.Server.ServerSystemInventory.HandleHandInteraction (Packet_Client packet, Vintagestory.Server.ConnectedClient client) [0x00017] in <6215ae1029cd4696b4c4b2c34106b061>:0
at Vintagestory.Server.ServerMain.HandleClientPacket (Vintagestory.Server.ConnectedClient client, System.Byte[] data) [0x0005a] in <6215ae1029cd4696b4c4b2c34106b061>:0
at Vintagestory.Server.ServerMain.ProcessNetMessage (Vintagestory.Common.NetIncomingMessage msg, Vintagestory.Common.NetServer mainSocket) [0x00151] in <6215ae1029cd4696b4c4b2c34106b061>:0

💬 DArkHekRoMaNT, Sep 11th at 2:20 PM

2.0.0-rc.1 not work now, fixing time 😄

💬 Vronizos, Sep 11th at 9:05 AM

Does this mod get an 1.17 update?

💬 Craluminum, Aug 8th at 8:35 AM

Because the mod is not compatible with 1.17

💬 Kirona, Aug 8th at 4:23 AM

Also crashes in 1.17-rc.4 if the Handbook tries to show stone slabs.

💬 Nebux, Aug 7th at 5:42 PM

crashes in the 1.17 rc4 when the slabs are supposed to drop

 

💬 WesCookie, Apr 25th at 12:52 AM

I'm running into some sort of issue with stone slabs and their contents. It seems that when you combine like stone slabs in your inventory, the game considers them the same block forever. Once you place a single stone slab and smash it with a rubble hammer, it will begin to consume the stone in the slab, but it will also consume the stone in all other slabs of the same stack that are placed and in your inventory (you can notice that the amount of stone in all other slabs from the same stack that are placed will have their amounts updated). Its like the game considers the slabs the same block, like they're quantumly entangled or something. 

If you keep the slabs in seperate stacks when you place them in the world (taking one slab out of a stack manually inside of your inventory, and then placing that one slab), then they won't be "entangled" in this way and will function as expected.

💬 eightykv, Mar 29th at 5:09 PM

I love this mod, thank you so much! I was initially a little bothered because it seemed to make it too easy, but then I discovered the config file and made some tweaks and it feels a lot better. Got that nice tedium I've come to expect from VS, haha.

💬 Qucumber, Mar 16th at 1:49 AM

I really like this mod. The tool durability modifier in the world settings doesn't seem to impackt the tools from ther mod.

💬 YourCreator, Feb 15th at 4:29 PM

I not use this but players from my servers like it. 
5 stars

 

💬 DArkHekRoMaNT, Feb 14th at 9:59 PM

An important advantage of github is that at least I get notifications there, unlike moddb 😅

💬 Vallen, Feb 4th at 5:25 PM

Heya. Love the mod. Not sure if you'll see it as you've never had any reports there but I registered a bug report with crashes on your github.

💬 Vinter_Nacht, Jan 31st at 6:47 PM

I really love these updates! Thank you for adding the requested changes. :)

💬 DArkHekRoMaNT, Jan 26th at 8:17 AM

Is it on 1.5.0+? And how often does it happen? It is difficult for me to test the actual version on a heavy loaded server. On a small local server, I didn't have this problem Novocain

💬 DArkHekRoMaNT, Jan 26th at 8:10 AM

Update Fix Handbook Clutter TGWeaver Shion

💬 TGWeaver, Jan 25th at 9:47 AM

Seems to have some trouble with the latest version of the game. Once a slab is cut, only the roughcut chisel seems to produce any items. The other 2, as well as the rubble hammer, still play their animation, but produce no items. They just chip away at it endlessly. The hammer doesn't even produce an impact sound or visual effect. Probably just needs an update.

Really cool mod idea, though, here's hoping it gets brought up to speed. An immersive, realistic method of handling raw stone and variants is more than welcome.

💬 Shion, Jan 21st at 12:18 PM

Unable to put hammer and two chisels on the tool rack. Those two chisels also don't have the "Result" in their description and don't work.

💬 Novocain, Jan 20th at 3:24 AM

There is some client-server desync when finishing slabs.
The block exists server side but not client side.

💬 DArkHekRoMaNT, Dec 13th 2021 at 3:09 PM

Works with VS 1.16.0-pre.8 too

Fixed Tingcat

💬 Tingcat, Dec 7th 2021 at 1:33 PM

Hey, the tin bronze roughcut chisel has a spelling error, it says tim bronze instead atm.

💬 DArkHekRoMaNT, Nov 25th 2021 at 8:22 AM

Will be fixed in new versions of the game, now crashes in worlds with StoneQuarry block IDs more than 32,767 (int16) YourCreator

💬 Snekans, Nov 24th 2021 at 6:52 PM

Thanks for the quick fix, brother

💬 DArkHekRoMaNT, Nov 24th 2021 at 8:38 AM

Fixed in 1.3 Snekans

💬 Snekans, Nov 23rd 2021 at 10:01 PM

Am I overseeing something or why do I only get rocks? I got a Small Slate Slab, used a Wedge Chisel on it but still received Rocks instead of Bricks

Same result when I try using the Roughcut Chisel and using the Rubble Hammer. They all drop me big amounts of Slate Rocks

Awesome idea for a mod either way 

💬 DArkHekRoMaNT, Nov 20th 2021 at 11:11 AM

I still don't understand what you mean and what is wrong 😕
What mods besides SQ do you have?
YourCreator

💬 YourCreator, Nov 17th 2021 at 9:48 AM

And this is not entirely clear, can you give it more details? o.O
"Also quarry drops blocks near with main quarry box."

Around quarry

💬 DArkHekRoMaNT, Nov 17th 2021 at 5:20 AM

Can you send a full stack trace from crash please? (at..at..at.. / в..в..в..) (seen this crash before, try new version 1.0.1)

And this is not entirely clear, can you give it more details? o.O
"Also quarry drops blocks near with main quarry box."

YourCreator

💬 YourCreator, Nov 16th 2021 at 9:06 PM

Sorry but if start making quarry on server, all near players are crashes except quarriyng player.

System.IndexOutOfRangeException: Индекс находился вне границ массива.
в Vintagestory.Common.BlockList.get_Item(Int32 index)


Also quarry drops blocks near with main quarry box.

(edit comment delete)