Mods / Alternative Offhand Penalty
Author: Lodish
Side: Both
Created: Apr 24th 2024 at 1:43 PM
Last modified: Nov 7th at 4:40 AM
Downloads: 6411
Follow Unfollow 172
Recommended download (for Vintage Story 1.21.0, 1.21.1 and 1.21.2 - 1.21.5):
altoffhandpenalty_1.2.3.zip
1-click install
Currently in Vanilla holding anything in your offhand slot increases your hungerrate by 20% (VS Wiki) and I felt this debuff was too strong, especially to people who like to always be holding a light source. This mod adds a different hunger rate increase depending on the item in your offhand slot and also new different penalties.
Smaller items like the basic torch and the ink and quill - 5% hunger increase
Shields - 15% hunger increase
Anything else (lanterns hammers tongs etc.) - 10% hunger increase
In balance to this buff to the hunger rates, now when you have an item in your offhand you get -10% to your animal harvesting speed and block breaking speed regardless of offhand item.
All values can be changed to your liking by editing the config file (AltOffhandPenaltyConfig.json in the ModConfig folder)
This mod is heavily based on previous mods changing the offhand penalty, this mod is an alternative balance to them, check them out here: https://news.kalataka.ru/offhanddebuffpatch https://news.kalataka.ru/show/mod/8034 https://news.kalataka.ru/show/mod/276
To work on versions of Vintage Story before 1.20.1 please use the 1.0.0 version.
Two Handed Mode
Currently if you're holding something in your right hand there are no debuffs so by my logic there should be no debuff if you're only holding something in one hand regardless if it's a in a normal slot or the offhand slot. If you enable two handed mode, penalties will only be applied to you when both of your hands are holding items. (Off by default, set "twoHandedOnlyPenalty": as true in the config)
To Do:
Find a way to change speed of breaking dirt blocks, currently only able to change speed of mining stone/ore blocks .
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.2.3 | offhandpenalty | 960 | Nov 7th at 4:40 AM | altoffhandpenalty_1.2.3.zip | 1-click install | ||
|
Fixed an error if you were selecting your backpack slots as your active slot. Improved checking when picking up items into your active slot or via inventory moving items into and out of active slot. The basic vanilla candle was added into the 'small' category of items. | |||||||
| 1.2.2 | offhandpenalty | 879 | Oct 11th at 3:23 AM | altoffhandpenalty_1.2.2.zip | 1-click install | ||
|
Attempted to fix a report of freezing clients. net8.0 build. | |||||||
| 1.2.1 | offhandpenalty | 2097 | Mar 24th at 6:45 PM | altoffhandpenalty_1.2.1.zip | 1-click install | ||
|
Added a config so all the values can now be changed to your needs, the default config has the same values as previous versions of the mod. Only server config should apply settings in multiplayer.
| |||||||
| 1.1.1 | offhandpenalty | 1355 | Jan 20th at 7:46 AM | altoffhandpenalty_1.1.1.zip | 1-click install | ||
|
Updated to work in 1.20, also fixed bug with animal harvesting speed, old version was actually speeding up harvesting by 10% when holding an item in the offhand, this has been changed to the intended 10% debuff. | |||||||
| 1.0.0 | offhandpenalty | 1120 | Apr 24th 2024 at 1:45 PM | Empty | altoffhandpenalty_1.0.0.zip | 1-click install | |
Mamotromico I'm glad to hear it, thanks.
I just wanted to report that I'm running a server with a friend using this and a handful of other mods (including toolsmith) and so far I haven't had any crashes!
not sure it's this mod, im crashing even without it now.. but once in a while i DO get crash reports.. this one was mentioned at some point..
ManaWei very strange, I tried installing toolsmith but I'm unable to make the game crash picking up sticks, I don't think anything toolsmith changes should effect this mod in anyway. The only mods that might mess up this mod would ones that change how the hotbar works or the backpack slots.
was when i picked up the sticks.. crash log didn't say anything useful as it didn't register.. game just shut down..
im using Toolsmith.. only other mod that has anything to do with offhand and it shouldn't interfere with the offhand hunger penalty..
ManaWei was this immediately when loading a world? What other mods are you using? Do you know what your crashlogs say?
Crashes me directly to desktop
To be honest, i think the offhand penalty for holding anything is completely ridiculous,
you don't get magically more hungry for holding something in your other hand.. it's ridiculous..
i wish it would be an actual setting so you could turn it off..
Lodish It is very infrequent, I suspect they are auto-picking up items not "normally" in the offhand slot?
We have One Bed Sleeping and Dyehydtrate mods, I think it may have to do with them also, sleeping with "an odd man out in slot" situation and a different rate set in Diehydrate?
I haven't seen them since the day of the error, but they should be back this weekend. I checkl on it then and ask about hunger rates....
Ensorcelled thank you for letting me know, was this in the logs a lot? Did the player notice their hunger rate being incorrect at all?
Howdy, just saw my logs and this error, but I have no idea what the player was doing.... figured you might know since it mentions telling you?
Running 1.21.5 with 1.2.2 of your mod.
I only just saw your reply Lodish! I'll try out the new version and if the problem recurs, I'll try to give you more details next time.
Rex87 EthelVril this mod lets you completely remove the debuff, just set all the debuffs to 0 in the config file (AltOffhandPenaltyConfig.json)
I agree Rex87
to be honest would be nicer if the debuff didn't even exist, hoping to see version that just removes this all together because hunger in this game is already quite fast anyway.
Marshy I've tried my best to recreate the issue (hosted a 1.21.1 server and had clients connect) but I never had any errors, how consistent is the hanging? does it happen soon after connecting or randomly after some hours? does the server run a lot of mods? I'm not actually really sure what could even conflict with the mod, but there's always a chance, is there for instance a mod that's changing how the hotbar works? If the error in the server-main log always refers to line 87 then a temporary fix would be to set "twoHandedOnlyPenalty" to false, but I'm very confused what the error could be, at that point the player has changed what slot on the hotbar is being selected and it's checking if the new active hotbar slot is empty or not and if the offhand slot is empty, but it only does this if "twoHandedOnlyPenalty" is set to true. If anyone else hosting a server has also got this error I'd be very interested.
@Lodish yes, server in 1.21.1 stable and the two handed only config was true.
Marshy Thank you for the bug report, was this server in 1.21.1? Did they have "twoHandedOnlyPenalty" set to true in the server config?
I get the following error in server-main logs that seems to lead to clients getting stuck (hanging, not responding, no immediate crash but must be force closed) shortly after:
can confirm, works as described, in 1.21.1
hi,
is this being updated for 1.21.0?
this works in 1.21.0.
thanks
working in 1.20.6
Thank you!
holy cow THANK YOU for the config! i was really really hoping for it haha
Likely just a mod conflict for me then. I'll keep testing it, thanks for getting back.
I've been using it since 1.20.4 and it's still working for me. vOv
I appreciate this mod, but yeah, it would be even better with configurability. I could see a small hunger penalty for shields, since those can be as heavy as armor, but for everything else it's pretty silly and a bit annoying as a gameplay effect. Ratcheting up the work rate penalty to 20% instead would make perfect sense to me (try using a shovel or something with just one hand free, lol), and I don't think it would be too annoying to play. Would more obviously prod the player to place their torch when possible while mining, which is a natural-feeling workflow to me.
Strange, I just tested it in 1.20.6 and it seems to still be working, anyone else having issues? Roidgy
There's no settings/config file yet but I plan on working on that next DudeBroManGuy
Doesn't seem to be working on 1.20.5 , still at 120% no matter what I have offhand. Wish the vanilla game just had it toggleable or at least more nuanced, such a baffling feature.
Is there a settings file or something that I can modify to set that extra hunger to 0% in order to fix the game dev's clear and obvious poor game design choice?
Honestly, a version of this that just ditches the hunger rate penalty entirely and doubles that animal harvesting + block breaking penalty would make a lot more sense imo. Shouldn't really be exhausting to hold a torch or lantern in your offhand, but it should be cumbersome and impede manual dexterity tasks. :)
I'm so with Mendell on this.. This debuff should not even be a thing it's ridiculous.. might as well just mod it out..
It does not work in 1.20, I will try to update fixed it @Desolae
Anyone know if this still works in 1.20?
i just straight up went ahead and removed the debuff because it makes no sense
This hole mechanic is and has always been just plain strange to me. I am over 50 years old, and I have had two hands for all those years.
And I can say for sure I have never felt hungrier when holding something in both hands.
What is the point to it at all. If its game balance what does the hands have to do with anything. Just make hunger increase when exerting yourself.
Or just increase hunger rate all together. You should not feel guilty, ComradeTum. Unless you find holding your fork in your left hand to make you ravenous in real life.
Just up hunger rate 5% across the board and make this lame mechanic disappear altogether.
Personally, I just hold what ever I want, where ever I want, and try real hard to forget this is even a thing. It strains credibility and breaks immersion.
And if I get hungry................ I eat.
This is great! Id feel guilty removing the offhand penalty entirely but your rebalance is exactly what I needed. Should be in the base game!