tModLoader

tModLoader

25 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
124.339 KB
Jun 7, 2022 @ 12:20pm
May 21 @ 4:35am
23 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.

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*
* 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]
58 Comments
Knight  [author] May 26 @ 11:43am 
Please let me know what you are doing and what you expect to happen? That way I can try and replicate the problem. Thank you.

You can also and try and follow the steps below, which I posted in a different comment to another person where it did not work.
cute.as.ducks39 May 23 @ 3:33pm 
its not working
Tundek May 21 @ 7:11pm 
Thx its working right now
Knight  [author] May 21 @ 4:35am 
I updated the mod. I think this should of fixed the PotionSickness removal not working.
Tundek May 20 @ 2:38pm 
Hello, remove PotionSickness on single player not working for me. When it saves the changes it returns to the off position and sickness is back.
Knight  [author] Apr 18 @ 3:58am 
Can you change the settings to default by pressing "Restore Defaults" in the settings menu of the mod. And then setting a keybind for "Toggle auto potion". Then pressing that key should enable automatic potion consumption for the potions in the Piggy Bank (This is the Default, it can be changed). If it still does not work can you tell me what potions you are trying to use?
edgymuch Apr 17 @ 2:24pm 
this aint working
Vic 2.0 Mar 16 @ 7:13pm 
Okay, I get it now. I mainly wanted to use it for food buffs and your instructions helped me set that up. Tested it just now and it works, thank you!
Knight  [author] Mar 16 @ 11:51am 
Can you change the settings to default by pressing "Restore Defaults". And then setting a keybind for "Toggle auto potion". Then pressing that key should enable automatic potion consumption for the potions in the inventory. I just tested it and it worked. Are you using modded potions? (They should work but maybe there are weird ones which don't work with this mod)

The mod also does not consume potions when taking damage. This mod also does not use potions which have no duration. For example healing potions fall under this category.
Vic 2.0 Mar 15 @ 12:42pm 
This isn't working for me at all, sadly. I've tried switching the setting (and my potions) to my inventory, my void bag, piggy bank and safe. Nothing happens when I take damage and there is no active cooldown or anything.