Going Medieval

Going Medieval

Not enough ratings
Simple Mining
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
475.533 KB
28 Nov, 2024 @ 11:03am
1 Change Note ( view )

Subscribe to download
Simple Mining

Description
This mod reduces the amount dig attempts you need to dig or mine a voxel down to one. This makes the tedious process of mining limestone and clay much faster.

A more in depth explanation:
Each mine-able or dig-able voxel has a set 'dig amount' necessary to remove the voxel completely. In the case of dirt, wetland dirt, and grass - it is only one. Limestone, Clay, Iron, Silver, Gold, Coal, and Sand all have a 'dig amount' of four; Rocky Dirt has three. As you have likely noticed, it take multiple digs at these voxels to remove them. This mod reduces that number down to one.

There is an issue that arises with that change, however. The amount of resources retrieved from the voxel overall is reduced by a good bit. This is because its resources are given at each dig attempt verses as a whole. To correct this problem, I have increased the amount of resources obtained overall. In other words, if I decreased the dig attempts from four down to one, I only get a quarter of the resources. So I multiply the number of resources gained at each attempt by four to counteract this.

That was a long winded way of saying, it now only takes one dig attempt on each voxel, and the correct amount of resources will still be obtained.


Any mod that changes the files listed below has a high chance of incompatibility.

Files Modified:
DigMarkers.json
VoxelTypes.json


此模组将挖掘或开采一个体素所需的挖掘次数减少到一次。这使得开采石灰石和粘土的繁琐过程变得更快。

更深入的解释:
每个可开采或可挖掘的体素都有一个固定的“挖掘量”,需要完全移除体素。对于泥土、湿地泥土和草来说,挖掘量只有一次。石灰石、粘土、铁、银、金、煤和沙子的“挖掘量”都是四;岩石泥土的挖掘量是三。您可能已经注意到,需要多次挖掘这些体素才能将其移除。此模组将该数字减少到一次。

但是,这种变化带来了一个问题。从体素中检索到的资源总量减少了不少。这是因为其资源是在每次挖掘尝试中给出的,而不是作为一个整体给出的。为了解决这个问题,我增加了总体获得的资源量。换句话说,如果我将挖掘尝试次数从四次减少到一次,我只能获得四分之一的资源。因此,我将每次尝试获得的资源数量乘以四以抵消这种情况。

这是一种冗长的说法,现在每个体素只需要一次挖掘尝试,并且仍然会获得正确数量的资源。

任何更改下面列出的文件的模组都有很高的不兼容可能性。

修改的文件:
DigMarkers.json
VoxelTypes.json
14 Comments
horussi 26 Jan @ 12:43am 
yetihead90 merci pour votre réponse, oui j'ai essayé avec une nouvelle partie mais les ressources sont toujours moins que ce que je doit récolter.
yetihead90  [author] 6 Jan @ 4:12pm 
Horussi - Merci pour votre retour. Avez-vous essayé le mod avec un nouveau jeu?

Gareth - Thank you for the feedback. I think that may be where some people are running into an issue. I haven't been able to replicate an issue.
horussi 2 Jan @ 4:46am 
Hello le mod ne fonctionne pas correctement, il y a bien le simple mining mais les quantitees récoltées sont moins que la base.
gareth 30 Dec, 2024 @ 8:04am 
Works great you do need to start a new game with the mod.
The voxels from an old save retain the hitpoints assigned without the mod.
yetihead90  [author] 26 Dec, 2024 @ 12:39pm 
What sort of issue are you having? I have downloaded the mod from the workshop and tried it on a new game - it is working as intended there and on my currently playthrough.
Whitewolf 23 Dec, 2024 @ 9:01pm 
Last little update seems to have killed this mod.
FatRatInaTophat 5 Dec, 2024 @ 4:30pm 
Doesn't seem to work for me sadly :(
EO3CB 29 Nov, 2024 @ 4:30pm 
Np love the mod. I hope we see many more mods. Good job!
yetihead90  [author] 29 Nov, 2024 @ 4:40am 
Oh good, I'm glad its working for you!
EO3CB 28 Nov, 2024 @ 8:10pm 
Nvm I completely thought it meant 1 hit literally. Its working as intended.