tModLoader

tModLoader

38 ratings
Auto Potion
2
   
Award
Favorite
Favorited
Unfavorite
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Language: English
File Size
Posted
Updated
129.838 KB
7 Jun, 2022 @ 12:20pm
18 Aug @ 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] 18 Aug @ 4:20pm 
I updated the mod. It will detect the alchemist charm now.
Knight  [author] 18 Aug @ 4:19pm 
I currently don't know if I will implement a change with the potion sickness.
! R_P 16 Aug @ 11:30am 
does it work with the alchemist charm from alchemistnpc mod?
farmer fox 26 Jul @ 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 26 Jul @ 3:23pm 
this is a good mod in theory. hopefully a good one in game
Honk 1 Jul @ 8:51am 
thank you!
Knight  [author] 25 Jun @ 7:44am 
If any bugs are found let me know so I can fix them.
Knight  [author] 25 Jun @ 7:43am 
Sorry for the very very late reply.

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