tModLoader

tModLoader

40 ratings
Auto Potion
3
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Language: English
File Size
Posted
Updated
129.838 KB
Jun 7, 2022 @ 12:20pm
Aug 18 @ 4:18pm
27 Change Notes ( view )

Subscribe to download
Auto Potion

Description
Auto Potion is a mod which gives a player the ability to automatically consume potions and foods which are located in certain inventories.
While auto potion is enabled it consumes the potions inside the defined inventory and once the duration of a potion runs out it automatically drinks the potion again.

Potions with no duration DO NOT WORK (Example: Healing Potions)

The mod configurations has the following options.

The inventories are:
* Player Inventory
* Bank
* Safe
* Defender's Forge
* Void Vault

There are also multiple config options for this mod like:
* Infinite Potions *This can be allowed/disallowed by the server*
* Buy Potions *This can be allowed/disallowed by the server and configured*
* Use Last Potion
* Remove Potion Sickness *This can be allowed/disallowed by the server*
* Disable on death
* Whitelist Mode
* Print empty potions & print color
* Increase the maximum number of available buffs (default in Terraria is 22 or 44 as of 1.4.4) *This is a server only option. Works on Single-player as well.*

There are also 2 keybind options.
* "Toggle auto potion" which enables or disables the auto potion consumption
* "Single use potion" which is similar to the default Terraria keybind "B" which consumes all potions which are located in the defined inventory

GitHub[github.com]
79 Comments
Knight  [author] Aug 18 @ 4:20pm 
I updated the mod. It will detect the alchemist charm now.
Knight  [author] Aug 18 @ 4:19pm 
I currently don't know if I will implement a change with the potion sickness.
! R_P Aug 16 @ 11:30am 
does it work with the alchemist charm from alchemistnpc mod?
farmer fox Jul 26 @ 3:27pm 
also maybe add a config to reduce potion sickness since i dont want to have a heal all the time instantly. potion sickness is a good thing but also a bit too long
farmer fox Jul 26 @ 3:23pm 
this is a good mod in theory. hopefully a good one in game
Honk Jul 1 @ 8:51am 
thank you!
Knight  [author] Jun 25 @ 7:44am 
If any bugs are found let me know so I can fix them.
Knight  [author] Jun 25 @ 7:43am 
Sorry for the very very late reply.

I updated the mod and the settings 'BuyPotionsAllowed' , 'PotionBuyMultiplier' and 'BuyPotions' are available.
Honk Apr 25 @ 9:22am 
Would it be possible to add also option to autobuy potion, for example for 10 times the price?
Knight  [author] Feb 27 @ 11:29am 
Thank you for reporting the bug. I found the cause for the bug and fixed it in the latest version.