Mods / Better Poultice 2

Tags: #QoL #Tweak
Author: Teknik
Side: Both
Created: Nov 20th 2023 at 10:01 PM
Last modified: Aug 28th at 2:52 PM
Downloads: 6227
Follow Unfollow 108

Latest release (for Vintage Story 1.21.0, potentially outdated):
BetterPoultice2_1.0.11.zip  1-click install


⚠️ This mod is not compatible with any other mods that modify poultice.json, bandage.json or ItemPoultice.cs.

 

ℹ️ About the Mod

 

✔️  You can install/uninstall this mod whenever you like, it won't affect your world.

  • ⏳ Healing is applied incrementally every second (by default).
  • 🚫 You cannot use poultices or bandages if you are:
    • ❤️ Already at full health
    • 💉 Currently healing
    • 🏊‍♀️ Swimming (Configurable)
    • 🏃‍♀️ Moving (Configurable)
    • 😰 Wearing armor (Configurable)
    • 👍 Not holding the required item in the left hand (Configurable)
  • 🥩 Healing effects from all food are disabled (Configurable)
  • 📢 A sound is played when healing ends (Configurable)

 

Item Required in left hand Only for Poultices

(Only if EnableLeftHandStorageModification = 1)

Poultice (Basic)

Default value

Poultice (Honey/Sulfur)

Default value

Bandage

Default value

flaxfibers
1x Flaxfibers
2 HP (0.075/sec) 4 HP (0.175/sec) Clean 3 HP (0.075/sec)
cattail
2x Cattailtops or Papyrustops
4 HP (0.075/sec) 7 HP (0.175/sec)

Alcoholed 7 HP (0.55/sec)

⚙️ Configuration

All settings are configurable. After first launch, a config file will be generated at:

%appdata%\VintagestoryData\ModConfig\BetterPoultniceConfig.json

🔁 The server configuration is automatically synced and overrides local settings.

❗ Restart the game or server to apply any config changes.

📄 Config File (JSON)

Show config
{
-Altering this number causes the game to regenerate the configuration file (using default settings) upon the next launch-
  "ConfigVersion": 12,

-Value min 1 max 20- "HowManyHpMaxRestoreLinenHoneySulfur": 7, "HowManyHpMaxRestoreReedHoneySulfur": 4, "HowManyHpMaxRestoreLinenHorsetail": 4, "HowManyHpMaxRestoreReedHorsetail": 2, "HowManyHpMaxRestoreBandageAlcoholed": 7, "HowManyHpMaxRestoreBandageClean": 3,

-Value min 1 max 64- "MaxStackPoultices": 8, "MaxStackBandages": 16,

-0 = false 1 = true- "DisableAllNutritionPositiveHeal": 1, "EnableLeftHandStorageModification": 1,

-Work only if LeftHandStorage is enabled.(Only Poultice requiert items) You can remove or add items and the number needed min 1 max 64- "ItemsAllowedInLeftHand": { "empty": 0, *SPECIAL Value 0 do nothing, value 1 The player must have left hand empty others items in list will be ignored.*
"flaxfibers": 1, "cattailtops": 2, "papyrustops": 2 },

-Ms betwen each Increment min 500 max 10000- "IncrementIntervalMs": 1000,

-How many hp each increment restore min 0,01 max 2- "HealthIncrementAlcoholed": 0.55, "HealthIncrementHoneySulfur": 0.175, "HealthIncrementHoneyHorsetail": 0.075,

-0 = false 1 = true- "PlayEndingHealSound": 1,

-file soundname, the file must be in survival/sounds/player and .ogg- "SoundName": "poultice",

-0 = false 1 = true- "WaterRestriction": 1, "MovementRestriction": 1, "ArmorRestriction": 1,

-Only if ArmorRestriction is Disabled. HP Reduction Multiplier 0 = No HP reduction with armor, 1 = same as vanilla, maximum value 10-
"HealingReductionMultiplier": 1, }

🌐 Lang File

Show lang file
{
"soinsactif": "Healing in progress...",
"soinsfinit": "Healing effect over!",
"energymax": "Complete energy bar!",
"swimming": "Impossible to apply in water!",
"move": "You have to stand still!",
"lefthandmustbeempty": "The left hand must be free!",
"lefthandempty" : "Requires left-hand attachment!",
"notenoughitems": "Insufficient fastening!",
"removearmor": "Take off the armor!"
}

   

🌍 Feel free to send me your translated lang file — I'll include it in future releases!

🐞 Found a bug or need help? Please ask on the official Discord channel.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.11 betterpoultice2 344 Aug 17th at 7:01 PM BetterPoultice2_1.0.11.zip 1-click install
  • No change just updated for 1.21.0
1.0.10 betterpoultice2
1.20.11 - 1.20.12
1140 Jun 29th at 11:07 PM BetterPoultice2_1.0.10.zip 1-click install
  • Compiled with VS 1.20.12
  • Fix the mentioned crash SiiMeR
1.0.9 betterpoultice2
1.20.10 - 1.20.12
1153 May 28th at 2:58 AM BetterPoultice2_1.0.9.zip 1-click install
  • You can heal/Re alive Elk
  • Healing effect stop if you die
  • Bandage don't need item in left hand
  • Should fix players able to use multiple poultice at the same time
  • Thx to SiiMeR @Costardine @Augustine
1.0.8 betterpoultice2 52 May 13th at 1:44 AM BetterPoultice2_1.0.8.zip 1-click install
  • Update for 1.20.11-xx
  • Display a message if the required number of items in the left hand is not sufficient.
  • Refactored code
1.0.7 betterpoultice2
1.20.0-pre.0 - 1.20.10
832 May 7th at 12:09 AM BetterPoultice2_1.0.7.zip 1-click install
  • Update energy and healing statut on joining.
  • Add a new setting to require the left hand be empty to use a poultice.
  • Add /bp command to edit some settings without restart the game or the server. (for some settings you must restart game/server)
  • Cleaned refactored code.
1.0.6 betterpoultice2
1.20.0-pre.0 - 1.20.9
372 May 1st at 1:41 AM BetterPoultice2_1.0.6.zip 1-click install
  • Fixed Config in solo
  • Fixed Config in mp
  • Config file are sync from server to client
  • Cleaned the code
1.0.5 betterpoultice2
1.20.5-rc.1 - 1.20.6
349 Mar 18th at 9:16 PM BetterPoultice2_1.0.5.zip 1-click install
  • Removed the use of ticklistener to update energy player
  • Allow higher value in config
  • you can configure max stack size for Poultices and Bandages
  • You can enable, disable left hand
  • You can Specifies wich items to use in left hand if enabled
  • you can prohibit the use in water
  • you can prohibit the use in motion
  • you can prohibit the use in Armor
  • Now armor reduce healing hp
  • you can specifie a custom less healing multiplier for armor
  • you can disable all positive nutrition healing effect
1.0.4 betterpoultice2
1.20.0-pre.0 - 1.20.5-rc.3
234 Mar 8th at 10:05 PM BetterPoultice2_1.0.4.zip 1-click install
  • Tweak Only the player can listen ending heal sound
  • Remove player jitter each heal process
1.0.3 betterpoultice2
1.20.0-pre.0 - 1.20.5-rc.1
144 Mar 5th at 8:59 PM BetterPoultice2_1.0.3.zip 1-click install
  • Updated for VintageStory 1.20.X
  • Clean bandage give 3hp like vanilla
  • Alcoholed bandage give 7hp like vanilla
  • Show a message and play a sound when healing process take over (configurable)
  • You cant use poultnice/bandage when you are swimming (configurable)
  • You cant use poultnice/bandage when you are moving (configurable)
  • add something fishy
1.0.2 betterpoultice2
1.18.10 - 1.19.0-pre.0 1.19.2 - 1.19.3 1.19.5 - 1.19.8
912 Dec 18th 2023 at 11:15 PM BetterPoultice2_1.0.2.zip 1-click install
  • Fix the Fixed a rare Null reference value crash
  • Thx to nanotect
1.0.1 betterpoultice2
1.18.10 - 1.19.0-pre.0
330 Dec 3rd 2023 at 9:10 PM BetterPoultice2_1.0.1.zip 1-click install
  • Fixed a rare Null reference value crash
  • Updated mod icon
  • Cleaned the code
1.0.0 betterpoultice2
1.18.10 - 1.19.0-pre.0
365 Nov 20th 2023 at 10:08 PM BetterPoultice2_1.0.0.zip 1-click install
  • Initial Release

44 Comments (oldest first | newest first)

💬 El_Neuman, Aug 17th at 7:55 PM

I really love this mod, it makes my game much more harder!

💬 GnawNibble, Jun 30th at 6:29 PM

LOL thanks a lot Teknik, I can now sleep at night.🤣

💬 Teknik , Jun 29th at 4:32 PM

GnawNibble This picture come from chatgpt :) Maybe its mandella effect !

💬 GnawNibble, Jun 29th at 2:47 PM

Hey, sorry if this is unrelated, but I recall seeing a mod that changes the player model to match the one in your thumbnail image. If this isn't just the mandella effect and you happen to know the mod, would you mind sharing its name? Or where you may have found the image (if you didn't make it yourself)?

💬 Teknik , Jun 21st at 2:19 PM

SiiMeR

Thx will try to fix soon !

Michaloid
yes i will continue.

💬 SiiMeR, Jun 21st at 4:35 AM

In 1.20.11 and 1.20.12, using a poultice will make a player crash 25% of the time


On the server, the following error can be seen: 

 
Error log
21.6.2025 01:50:55 [Error] Exception: Object reference not set to an instance of an object.
   at Vintagestory.GameContent.ItemPoulticeEDIT.OnHeldInteractStop(Single secondsUsed, ItemSlot slot, EntityAgent byEnt, BlockSelection blockSel, EntitySelection entSel)
   at Vintagestory.API.Common.CollectibleObject.OnHeldUseStop(Single secondsPassed, ItemSlot slot, EntityAgent byEntity, BlockSelection blockSel, EntitySelection entitySel, EnumHandInteract useType) in VintagestoryApi\Common\Collectible\Collectible.cs:line 1184
   at Vintagestory.Server.ServerSystemInventory.callOnUsing(ItemSlot slot, ServerPlayer player, BlockSelection blockSel, EntitySelection entitySel, Single& secondsPassed, Boolean callStop) in VintagestoryLib\Server\Systems\Inventory.cs:line 505
   at Vintagestory.Server.ServerSystemInventory.OnUsingTick(Single dt) in VintagestoryLib\Server\Systems\Inventory.cs:line 126
   at Vintagestory.Common.GameTickListener.OnTriggered(Int64 ellapsedMilliseconds) in VintagestoryLib\Common\Model\GameTickListener.cs:line 31
   at Vintagestory.Common.EventManager.TriggerGameTick(Int64 ellapsedMilliseconds, IWorldAccessor world) in VintagestoryLib\Common\EventManager.cs:line 174
   at Vintagestory.Server.ServerMain.Process() in VintagestoryLib\Server\ServerMain.cs:line 932
 
💬 Michaloid , Jun 18th at 1:32 PM

Will this mod still update past 1.21? Because, i figure that this mod becomes obsolete after 1.21.

💬 Teknik , May 28th at 3:03 AM

SiiMeR Costardine

 

Thanks for the report, the last release should fix thoses bugs, and now bandages don't requiert items in the left hand.

💬 SiiMeR, May 23rd at 12:47 PM

The mod also updates the Health variable directly on the behavior, not through a DamageSource, meaning that downed elks will stay downed (they rely on having a healing DamageSource come through to trigger the standup logic) 

💬 SiiMeR, May 23rd at 11:55 AM

Your mod makes it so you can heal elks only if you yourself are not full health

💬 RaptorMother, May 22nd at 7:36 AM

Hi! I'm trying to figure out why healing mortally wounded elks has become so difficult in our server, and for some reason, it's the mod that makes it hard. Tested on a separate world by removing the mod and critically wounding elk, could heal normally, with the mod, it's incredibly finnicky, and only in very specific angles and situations did elk healing go through. Is there any idea why this is happening? We love the mod so much so we really want to keep it but elks are also quite precious..

💬 Teknik , May 22nd at 1:43 AM

Caliess Actualy if you set this : "empty": 1,  Bandages and poultices requiert left hand to  be empty. But yes in the next release i will add a settings to let Poultices requiert items and Bandage empty hand. Thy to you.

💬 Caliess, May 21st at 8:54 PM

yea only needing empty left hand would be nice,, thank you!!

 

💬 Teknik , May 21st at 3:27 AM

Caliess In real life, it's hard to apply a bandage while holding an item in your left hand. You can easily craft a bandage using a knife and some cloth. You can disable left-hand use in the config file.Maybe in the next release, I'll try to make the bandage require only an empty left hand.

💬 Caliess, May 21st at 1:32 AM

why do clean bandages still require the offhand? the sprite implies its a long strip of gauze which if you've ever used, you dont actually need to tie it on with anything since you just use itself to tie on. especially considering they're weaker than the actual poultices and more expensive (in amount of flax/ hp healed) it would be nice for them to actually have a purpose (as shitty bandaids that dont require an offhand)

💬 Teknik , May 7th at 12:12 AM

Maxilos33 I have to collaborate with the author of that mod, will check when i have the time !

💬 Maxilos33, May 5th at 11:09 AM

Any chance for compatibility with poultices the Wildcraft mods add? (trees&shrubs / fruits&nuts)

💬 Teknik , May 1st at 2:04 AM

McTaco
StewBag

I just release a new version now config work fine and the server config is sent to client. Everything should work fine now thx.

💬 xCoiotex, Apr 11th at 8:37 PM

I've got totally confused, first I thought it was a feature/bug from vanilla game, then I entered the discord and have search if anyone was having the same thing, well nobody had this, so I was like, wth just happened, I don't understand lmao, never that I would guess would be this mod that introduced that XD

💬 Teknik , Apr 6th at 10:42 AM

@xCoiotex  Oh my good ^^ i hope you enjoyed :D

💬 xCoiotex, Apr 6th at 1:05 AM

So i've been fooled in april fools, i thought it was the fish king miracle

💬 McTaco, Mar 29th at 10:00 PM

StewBag

All you have to do is sync up each clients settings, I already have to modpack a few mods that I am unable to upload because they are broken and the mod author flipped a wig. So I include the ModConfig folder with the settings I want them to use.

 

We do not use the left hand stuff. I think that is asking too much. a bit silly even. I think that it would be better to include that ingredient the recipe to make it more difficult.

 

Also, found out a common issue that is currently affecting a lot of mods.

 

1.20 changed the way a lot of code is processed. Its much more client side now, which broke a ton of mods. Appareently this change was to increase server performance. And im sure on the few servers with 30 people playing, it does.

 

We are still using this mod, I like it.

💬 StewBag, Mar 28th at 9:14 AM

McTaco

Makes sense, not sure if its related to this conflict as well but clients are having issues with items held in the left hand disappearing and the items used in the left for bandaging getting duplicated in their inventory screen. So unfortunately we had to remove the mod from our server. Hopefully this gets fixed because I really do love the idea of this mod and it fits iin perfectly with what im trying to achieve gameplay wise. 

💬 McTaco, Mar 27th at 4:43 PM

Multiplayer compatiblity.

" Server side config take always the priority."

This is incorrect.

 

This mod does sync to the clients, but it creates a config on the client, and uses client settings, which means, server sets custom settings.

Then clients connect, download the mod, and the mod creates a vanilla config on the client, and now the client can't use server settings.

 

StewBag

This is likely the same problem you are having

 

💬 Teknik , Mar 24th at 9:02 PM

xCoiotex I think this mod are not compatible with xskills. Because xskills change the way how the player get healed.

💬 xCoiotex, Mar 24th at 8:33 PM

does this mod have compability with xskills "healer" skill which heals a bit more for 30 seconds after healing?

💬 Teknik , Mar 20th at 4:49 PM


StewBag  are you sure ? i juste tested it yet with this : "EnableLeftHandStorageModification": 0, and i'm able to use poultice without left hand attachment.

Try to stop the server, edit config and then restart.

 

xCoiotex wait, now to heal we need a item in left hand? woot                  You can disable it in config

well I think it takes 10 seconds to heal now, used to be one increment each 10 seconds, is this right?
Yes 1000 each seconds and 10000 10 seconds you can configure it too

💬 StewBag, Mar 20th at 9:23 AM

Disabling left hand attachment doesnt seem to have an effect, with the option set to 0 it still wont let the user heal with out the left hand attachment.

 

💬 StewBag, Mar 19th at 8:43 AM

Awesome changes! Looking forward to tweaking it just the way i need it for my server. Thank You!

💬 xCoiotex, Mar 19th at 3:48 AM

wait, now to heal we need a item in left hand? woot

  "_IncrementIntervalMs": "Specifies at wich interval you get healed in ms. Min : 500, Max : 10000 `Default : 1000`",
  "IncrementIntervalMs": 10000,

well I think it takes 10 seconds to heal now, used to be one increment each 10 seconds, is this right?
💬 Teknik , Mar 18th at 9:22 PM

xCoiotex okay in the last release you can now enable/diiable those things :

"_ArmorRestriction": "1 or 0 To prohibit use with an armor, this can affect any mods too.`Default 1`",
"ArmorRestriction": 1,
"_DisableAllNutritionPositiveHeal": "1 or 0 To disable all nutrition healing effect, this can affect any mods too. `Default 1`",
"DisableAllNutritionPositiveHeal": 1

I tested it few minutes with butchering mod and combatoverhaul mod all look fine, it will disable vanilla item too and all others mods if they din't conflict with Itempoultice.cs

 

StewBag It's done in the last release :)

💬 xCoiotex, Mar 14th at 4:54 PM

I think your mod doesn't work/have compability with combat overhaul, i'm equiping a amour that says -5% healing, but when i heal, it heals instantly, sad :(

💬 Teknik , Mar 13th at 11:53 AM

StewBag  I'm listening, for the next release I'll leave a wider range of settings.

💬 StewBag, Mar 13th at 8:58 AM

Its your mod, cant argue with that. I would say that having more configurability is never a bad thing that way it can fit into anyone's playstyle.

💬 Teknik , Mar 11th at 10:02 PM

@StewBag Thank you, i understand you'r point of view but i do this mod to fit with vanilla survival style.

💬 StewBag, Mar 11th at 1:35 PM

Enjoying the mod, would be sweet if you could configure the overall amount healed beyond the Max of 7.

💬 Teknik , Mar 9th at 2:04 AM

xCoiotex Try to ask CaptainOats if he can make it configurable i can't do that from my mod.

If you need more than 5 secondes you can reduce thoses values :
"HealthIncrementAlcoholed": 0.55,
"HealthIncrementHoneySulfur": 0.175,
"HealthIncrementHoneyHorsetail": 0.075,

Thank for you'r feedback :)

💬 xCoiotex, Mar 9th at 1:06 AM

could you make a patch for the 'healthy primemeat', cured and smoked from butchering mod? it also heals like a poultice


if you want some feedback from me, I've edited the timing for healing to be each one 5 seconds, imo, that's better, default it's a bit too fast for me.

💬 Teknik , Mar 5th at 9:08 PM

Thank you xCoiotex !! I can't do much testing at the moment, so let me know if you find any bugs and I'll try to fix them as soon as possible.

💬 xCoiotex, Mar 5th at 9:05 PM

thank you so much for updating this, now i can start a new world with this

💬 Teknik , Feb 1st at 10:29 PM

Quaker i'am actually busy but i'm gonna to try to do next release near 1 or 2  weeks.

💬 QuakerOatz, Jan 28th at 11:02 PM

please patch for 1.20 i love this mod and use in on my server

💬 Teknik , Jan 13th 2024 at 6:13 PM

@DeviousDoge

Hello thank for the report, this is fixed in last release.

💬 DeviousDoge, Jan 13th 2024 at 6:32 AM

Noticed an odd bug with this where when you try to apply a poultice at an invalid time (so basically any time you use one, since using one will inevitably lead to holding rclick too long and getting the "You're already healing yourself!" notification), it causes an odd, minor amount of rubberbanding of the player. Not sure if it's just on my end or not but it's very odd to say the least.

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом