Mods / Better Poultice 2

Category: #QoL #Tweak
Author: Teknik
Side: Both
Created: Nov 20th 2023 at 10:01 PM
Last modified: Dec 18th 2023 at 11:15 PM
Downloads: 1052
Follow Unfollow 18

Latest file for Various v1.19.x:
BetterPoultice2_1.0.2.zip 1-click install


This mod is not compatible with any others mods that edit poultice.json or bandage.json and ItemPoultice.cs

About the mod :

  • Health is restored each second by default.
  • You can't use poultice or bandage if you are at maximum health.
  • You can't use a poultice or bandage if you are currently healing.

  Give 2 HP, 0.075 each second.

Give 4 HP, 0.075 each second.

Give 4 HP, 0.175 each second.

Give 7 HP, 0.175 each second.

Alcoholed Give 10 HP, 0.55 each second.

In the future i want to forbid using poultice/bandage when moving. It will be configurable too ^^

If you want you can give me you'r translated file i will upload it each new release.

You can use Crowding to add translation : Coming soon

 

All is configurable after your first launch a config file will be created inside : %appdata%\VintagestoryData\ModConfig  `BetterPoultniceConfig.json`

 Server side config take always the priority players cannot cheat.

Config file :

Spoiler!
{
"ConfigVersion": 1,
"_TickListenerInterval": "Specifies The check interval for players Energy for poultice. Min : 1000, Max : 10 000 `Default : 2000`",
"TickListenerMsInterval": 2000,
"_HowManyHp": "Specify the maximum amount of HP restored by the poultnices/bandages items. Min : 1, Max : 10 `Default : LinenHoneySulfur = 7, ReedHoneySulfur = 4, LinenHorsetail = 4, ReedHorsetail = 2, BandageAlcoholed = 10, BandageClean = 2`",
"HowManyHpMaxRestoreLinenHoneySulfur": 7,
"HowManyHpMaxRestoreReedHoneySulfur": 4,
"HowManyHpMaxRestoreLinenHorsetail": 4,
"HowManyHpMaxRestoreReedHorsetail": 2,
"HowManyHpMaxRestoreBandageAlcoholed": 10,
"HowManyHpMaxRestoreBandageClean": 2,
"_IncrementIntervalMs": "Specifies at weach interval you get healed in ms. Min : 500, Max : 5000 `Default : 1000`",
"IncrementIntervalMs": 1000,
"_IncrementForVariant": "Specifies How many Hp are restored after each interval. Min : 0.01, Max : 2 `Default : Alcoholed 0.55, Sulfur 0.175, Horsetail 0.075`",
"HealthIncrementAlcoholed": 0.55,
"HealthIncrementHoneySulfur": 0.175,
"HealthIncrementHoneyHorsetail": 0.075
}

Lang file :

Spoiler!
{
"soinsactif": "You're already healing yourself!",
"soinsfinit": "Poultice effect over!",
"energymax": "Complete energy bar!"
}

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.2 663 Dec 18th 2023 at 11:15 PM Show BetterPoultice2_1.0.2.zip Install now
v1.0.1 176 Dec 3rd 2023 at 9:10 PM Show BetterPoultice2_1.0.1.zip Install now
v1.0.0 213 Nov 20th 2023 at 10:08 PM Show BetterPoultice2_1.0.0.zip Install now

3 Comments (oldest first | newest first)

💬 TeknikAuthor, Jun 19th at 10:28 PM

DeviousDoge Since Vanilla release 1.19.6 the "rollback lag" look like gone i never got it again.

💬 TeknikAuthor, Jan 13th at 6:13 PM

@DeviousDoge

Hello thank for the report, yes i noticed this bug too but was unable to resolve it. Its the same in vanilla with vintage beef if you eat a lot of vintage beef this will cause some "lag" - "rolll back". I think this bug is caused by the way how the player get healed or taking damage in vanilla. I have made this post https://github.com/anegostudios/VintageStory-Issues/issues/3319 I hope this is the cause of this issue, i'm sorry for that !

💬 DeviousDoge, Jan 13th 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)