Mods / Alchemy Exclusive Potion Patch
- Tags:
- Author:
- Arkzenir
- Side:
- Both
- Created:
- Jun 7th at 1:56 AM
- Last modified:
- Jun 9th at 2:18 AM
- Downloads:
- 1043
-
Recommended download (for Vintage Story 1.22.0-pre.1 - 1.22.3):
alchemyexclusivepotions_2.0.1_vs1.22.zip 1-click install
Had enough of potion addicts in your backyard?
Sick and tired of your friend who pre-buffs every excursion like it is a WoW raid?
Want to save yourself the trouble of carrying 15 potions at all times?
Fear not!
With this mod, you can now customise how many potion effects are achievable at one time!
This is a harmony patch that adjusts PotionManager in the Alchemy mod to prevent applying a second potion effect, dependent on group and blacklist rules.
X.0.1 Update:
With this new update, now you can group what categories of potions cannot be taken together, or outright restrict them from being taken alongside any potion via the config. Uses the PotionID values from Alchemy mod
Within each group, only one potion may be active at a time. Potions from different groups can be stacked. Below is the default config
Combat
| Potion | ID |
|---|---|
| Archer's Flask | archerpotionid |
| Hunter's Delight | hunterpotionid |
| Fighter's Flask | meleepotionid |
| Predator Pheromones | predatorpotionid |
| Vitality Flask | vitalitypotionid |
| Sprinter's Flask | speedpotionid |
Survival
| Potion | ID |
|---|---|
| Hunger Enhance | hungerenhancepotionid |
| Hunger Suppress | hungersupresspotionid |
| Potent Oil (Heal Effectiveness) | healingeffectpotionid |
| Healing Oil | regentickpotionid |
Utility
| Potion | ID |
|---|---|
| Scent Mask | scentmaskpotionid |
| Looter's Delight | looterpotionid |
| Miner's Flask | miningpotionid |
Special
| Potion | ID |
|---|---|
| Recall Flask | recallpotionid |
| Nutrition Potion | nutritionpotionid |
| Glow Flask | glowpotionid |
| Water Breathing Flask | waterbreathepotionid |
| Reshape Potion | reshapepotionid |
Requires: Alchemy mod
(1.21 requires Alchemy 1.8.2)
(1.22 requires Alchemy 2.0.34)
(You can change the mod version requirement in the modinfo.json very easily for your own version use case for singleplayer worlds. It adjusts a very small amount of Alchemy functionality and should generally work. If you need a fork with a differing version or something, let me know)
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 2.0.1 | alchemyexclusivepotions | 1026 | Jun 9th at 2:18 AM | alchemyexclusivepotions_2.0.1_vs1.22.zip | 1-click install | ||
|
Add group based blacklist system | |||||||
| 2.0.0 | alchemyexclusivepotions | 11 | Jun 7th at 2:03 AM | Empty | alchemyexclusivepotions_2.0.0_vs1.22.zip | 1-click install | |
| 1.0.1 | alchemyexclusivepotions | 2 | Jun 9th at 2:18 AM | alchemyexclusivepotions_1.0.1_vs1.21.zip | 1-click install | ||
|
Add group based blacklist system | |||||||
| 1.0.0 | alchemyexclusivepotions | 4 | Jun 7th at 2:04 AM | Empty | alchemyexclusivepotions_1.0.0_vs1.21.zip | 1-click install | |

Hey, I'm the alchemy mod creator.
Great work, this solves the problem of players basically skipping base game mechanics with boat load of potions.
I was planning to do add this as a config option at some point. Also planning add a config for the opposite if its possible allowing drink the same potion multiple times and to have it stack. I have changed quite a bit on the test build so it probably work on the test build.
Hello!
Thanks a lot for the praise. I love using your mod in the servers I am in. This really got made because I got sick and tired of every player pre-buffing themselves for 10 seconds with every potion ever in PvP situations.
If it gets added as a config option, I'll probably just stop maintaining or updating this mod so I'm looking forward to seeing that implemented.
Love your work!
Yeah fair enough potions can be pretty overpowered especially when using multiple at the same time. Feel free to continue making patches if you want too.
I should have this option in the next test release. I wouldn't reccomend updating to the test release at the moment if you are running a serious/large server though.
We are currently on 1.21.5 and using Alchemy 1.8.2 so we will stay here for a good while and use this patch I'd suspect.
On the config options, (And I can discuss this in your mod's comments as well if you'd like):
-From what I understand of the Alchemy system, you are applying effects in WatchedAttributes, which means you should be able to have a "stacking" mechanic very easily if you decide to add it, by simply modifying the value if it is a potion ID is applied twice. You would be more familiar with the ins and outs of it of course tho.
-It's a good idea to have this as a config option, but if it is getting added officially, I would suggest having a "duplicate whitelist" "duplicate blacklist" system in the config, so that SOME potions can be taken together, and some can't. It will allow for finer control.
(Let me know if you want a more detailed discussion in the alchemy mod comments section)
Yeah thats what I figured.
On the config options, I'm happy to discuss it here, in the alchemy comments or on discord in the alchemy as long as I get a notification.
I have tentatively made an update to the mod that restricts only certain potions within a group from being taken together, as well as an outright blacklist. It uses potionID values of course, since I did not wish to mess with configlib at this stage. This will allow for at least bit of a better customisability until the official updates release
Cool, I might have a look at your implementation to give me ideas on my own implementation if thats okay.
Feel free. It's under "AlchemyExclusivePotionsMod.cs" method name: "CheckExclusivity"
Nice Job!