SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Pack Your Shovel

SBy Sopi

No more crafting packed dirt or paths - pack and path directly using a shovel!

Pack Your Shovel

Description

<p><strong>No more crafting packed dirt or paths - pack soil and make paths directly using a shovel!</strong></p> <p>&nbsp;</p> <p><strong>How to use:</strong></p> <p>By default, use 'F' to change mode to <strong>pack mode</strong> or <strong>path mode </strong>or <strong>ramming mode</strong>. Simply crouch and dig to create packed dirt (or pack dirt into rammed earth) or paths.</p> <p>Creating paths require you to have the required stones in your toolbar and will use the first ones found - <strong>so beware if you have valuable stones!</strong></p> <p>&nbsp;</p> <p><strong>Applicable blocks:</strong></p> <p>Currently, packing and making paths works when digging any low to medium quality soil and forest floor. I made sure not to include high fertility soil (etc) to prevent unhappy accidents.</p> <p>If double-packing is enabled, packed dirt can be dug to create the basic variant of rammed earth.</p> <p>Making paths on gravel and sand is also allowed by default, provided you have both the required soil and stones when doing so.</p> <p>&nbsp;</p> <details> <summary><strong>Configurations:</strong></summary> <p>By editing the <em>packyourshovel.json</em> file that appears in your ModConfig folder once you have launched the game with the mod, you can tweak how it should work.</p> <pre class="language-markup"><code> "animationName": "hammerhit", "rightClickEnabled": false, "leftClickEnabled": true, "leftClickSneakRequired": false, "doublePackingEnabled": true, "packingCooldownEnabled": true, "packingCooldownSeconds": 2, "shouldConsumeDurability": true, "enableMakePathsOnSandGravel": true, "enableSandGravelPathIngredient": false, "toolModeEnabled": true, "onlyAllowModeAction": true "rammingModeEnabled": true "existingToolModeCompatibilityFix": true</code></pre> <p><strong>* animationName:</strong> The animation that will be used for packing and pathmaking. Not supported for right-click action.</p> <p><strong>rightClickEnabled:</strong> Can hold right click with a shovel to perform the packing/pathmaking. Not as visually informative as the default dig modification.</p> <p><strong>leftClickEnabled:</strong> Enables packing/pathmaking by digging an appropriate tile.</p> <p><strong>leftClickSneakRequired:</strong> If this is set to true, the player will need to crouch when digging to perform packing/pathmaking.</p> <p><strong>doublePackingEnabled:</strong> Allows you to pack packed dirt into rammed earth.</p> <p><strong>* packingCooldownEnabled:</strong> If set to true, prevents you from accidentally digging the block you just packed or pathed.</p> <p><strong>* packingCooldownSeconds:</strong> The amount of time you are blocked from digging on the recently packed/pathed block type.</p> <p><strong>shouldConsumeDurability:</strong> If these actions should consume durability, like regular digging would.</p> <p><strong>enableMakePathsOnSandGravel:</strong> Path mode can be used to create paths on sand and gravel.<br /><strong>enableSandGravelPathIngredient:</strong> If a path is created on sand/gravel, that block will be used as the ingredient to the path. By default this is disabled.</p> <p><strong>toolModeEnabled:</strong> Enables tool modes for shovels: regular mode, packing and pathing.</p> <p><strong>onlyAllowModeAction:</strong> If enabled, you will be blocked from performing an incorrect action for the current mode - e.g. you cannot make paths on a packeddirt block with path</p> <p><strong>rammingModeEnabled:</strong> If enabled, ramming mode will be available to make rammed earth from soil or packed dirt. Also cycles between the rammed earths.</p> <p><strong>existingToolModeCompatibilityFix:&nbsp;</strong>If enabled, tries to ensure compatibility with existing shovel tool modes from other mods.</p> <p><strong>*</strong> <em>signifies that these are client-side configurations</em></p> </details> <p>&nbsp;</p> <p>&nbsp;</p> <p><strong>Disclaimers:</strong></p> <p>I appreciate any help in testing the mod out: let me know if the mod is stable in older versions and I can add them as supported.</p> <p>Please do not redistribute my mod without my consent.</p> <p>Reach out to me if there are any issues or something you'd like me to implement. Thank you!</p> <p>&nbsp;</p> <p><strong>TO-DO:</strong></p> <ul> <li>Compatibility with other modded paths</li> <li>Fix tool modes in multiplayer</li> <li>Add configuration for pack/ram time</li> <li>Add config option to disable crafting recipes for packed/rammed dirt/earth</li> <li>Enable creating paths on packed dirt</li> <li>Add translation strings to language files</li> <li>Add config option to toggle server log output</li> <li>Add config option to include additional blocks as packable/rammable/pathable</li> <li>Toggle sneak mod compatibility</li> <li>Stone amount config</li> <li>Soil instability mechanic</li> <li><span style="text-decoration: line-through;">Config option to include additional modded shovels</span></li> <li><span style="text-decoration: line-through;">Config lib compatibility</span></li> <li><span style="text-decoration: line-through;">Investigate issue with disabling sneak</span></li> <li><span style="text-decoration: line-through;">Existing tool mode compatibility</span></li> <li><span style="text-decoration: line-through;">Rammed earth tool mode &amp; ability to cycle between different rammed earth blocks</span></li> <li><span style="text-decoration: line-through;">Sand/gravel pathing</span></li> <li><span style="text-decoration: line-through;">Vanilla variants compatibility</span></li> </ul> <p>&nbsp;</p> <p><a href="https://ko-fi.com/B0B41A5TLL" target="_blank" rel="noopener"><img style="border: 0px; height: 36px;" src="https://storage.ko-fi.com/cdn/kofi6.png?v=6" alt="Buy Me a Coffee at ko-fi.com" height="36" border="0" /></a></p> <p>&nbsp;</p> <p><strong>Check out my other mods:</strong></p> <p><a href="https://mods.vintagestory.at/cobbler" target="_blank" rel="noopener"><strong><img style="border-style: inse

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.