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

NxLabs / Vintage Story

All The Stats

ZBy Zetal

A dual-purpose library for players and mod creators interested in new stats for traits and recipes.

Description

<h2>For Players:</h2> <p>All The Stats is a mod that lets you configure and adjust the following stats dynamically using a simple config file by setting the Override Value to true:</p> <ul> <li>Off-hand Hunger Rate: In vanilla, this is the 20% bonus hunger when holding a thing in your offhand. Want to disable it? Set this value in the ATS config to 0!</li> <li>Hand-Smithing Hammer Swing Speed: By adjusting this config value, you can swing your hammer faster. For the impatient, but hard-working. ;)</li> <li>Night Vision: '1' is normal vision, '2' is full night vision, and anything less is cursed anti-vision that's weirdly purple. 😅 But you could have 1.5 for half-night vision for instance. <ul> <li>The night vision smoothly fades in and out depending on your current darkness level, so it's not blinding you during the day.</li> </ul> </li> <li>Knapping Speed: Tap away at those rocks faster than ever :)</li> <li>Clayforming Speed: Faster or slower, as desired!</li> <li>Tempering Power Loss Rate: A percentage modifier on the amount of power lost by a player during the tempering process. 0 means no power lost at all!</li> <li>Quenching Shatter Rate: A percentage modifier on the chance to shatter an item. 0 means it can never ever shatter. Tooltip won't be accurate, since it's an action performed by a specific player.</li> <li>Healing Item Use Speed: A percentage modifier on how quickly healing items are used.</li> <li>Bit Recovery Rate: A ratio of how many bits are recovered for the voxels in a smithed item. 1.5, for example would recover every other voxel as a bit.</li> <li>Cave Vision: Like Night Vision, but only for caves! Config controls the height that it activates at, and it only works if you can't see the sky.</li> <li>Temporal Instability Damage Received. Lets you take more or less damage from going nuts. :)</li> </ul> <p>&nbsp;</p> <p><strong>The config is located in the standard Vintage Story file system location for mod configs.&nbsp;</strong>Usually, this is %<em>appdata%\vintagestorydata\modconfig </em>on Windows, but can vary depending on your installation. The file is named AllTheStatsConfig.json.</p> <h2>For Modders:</h2> <ul> <li>This mod allows you to attach 'requiresTrait' onto Knapping, Clayforming, and Smithing recipes as if they were normal gridcrafting recipe. This means that a simple Content Mod can now have class-based recipes for these forms of crafting, too! :)</li> <li>The same stats available to the players for overriding can be used for traits with the following codes: <ul> <li>ats:offhandhungerrate&nbsp;</li> <li>ats:handsmithingspeed</li> <li>ats:nightvisionstrength</li> <li>ats:handclayformingspeed</li> <li>ats:handknappingspeed</li> <li>ats:temperingpowerlossrate</li> <li>ats:quenchshatterrate</li> <li>ats:healitemusetime</li> <li>ats:bitrecoveryrate</li> <li>ats:cavevisionstrength</li> <li>ats:temporalstabilitydamagereceived</li> </ul> </li> <li>ALL stats, features, etc. in ATS can be toggled off with the config file, in the event of compatibility issues with other mods or overlapping Harmony patches.</li> <li>Adds dynamic per-item damage stats. This allows you to be as broad or specific with the damage of items for a particular trait. <ul> <li>For example:</li> </ul> </li> </ul> <p><code><span style="color: oklab(0.998329 0.000578977 0.000822301); font-family: 'gg mono', 'Source Code Pro', Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; font-size: 10.5px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: oklab(0.654256 0.00784171 -0.0687224 / 0.12451); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span style="background-color: #000000;"><span style="background-color: #2b3e50;"> "attributes": { "ats:bow-?-rangedDamageMult": 0.5, "ats:bow-recurve-rangedDamageMult": 0.5, "ats:unarmed-meleeDamageMult": 0.33, "ats:blade-?-meleeDamageMult": 1.0, "ats:aculinaryartillery:cleaver-*-meleeDamageMult": 1.0 }</span></span></span></code></p> <ul> <li style="list-style-type: none;"> <ul> <li>The above section of JSON would increase all damage dealt by bows by 50%, further increase that by another 50% for specifically recurves (for a total of 100% increase), unarmed punch damage by 33%, all blade melee damage (falx use this item code) by 33%, and specifically A Culinary Artillery modded cleavers by 100%.</li> <li>These codes are completely dynamic, and work for any wildcard matching for all items in the game! The '?' is used as a wildcard character instead of '*' to avoid conflicting with vanilla VS.</li> </ul> </li> <li>Using the same system as the per-item damage, also supports: <ul> <li>Per-item Item Durability Loss modifications. For example:</li> </ul> </li> </ul> <p><code><span style="color: oklab(0.998329 0.000578977 0.000822301); font-family: 'gg mono', 'Source Code Pro', Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; font-size: 10.5px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: oklab(0.654256 0.00784171 -0.0687224 / 0.12451); text-decoration-thickness: initial; text-decoration-style

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.