jtull1127 Posted June 27, 2023 Posted June 27, 2023 Hey I was wondering does anyone know of a way of detecting whether a potion placed in a specific chest is made by a player or not I am working on a auto potion crafter but its doesn't work for player made potions so I wanted to just stop them from being inputed to saves any bugs or stuff Thanks for any input
greyday01 Posted June 27, 2023 Posted June 27, 2023 You could put all the vanilla potions in a formlist and then check to see if the added potion is in that list.
scorrp10 Posted June 27, 2023 Posted June 27, 2023 There is a defined 'QA Potion Container' (000C2CE2) which supposedly has one of each vanilla potion. You should be able to check that.
jtull1127 Posted June 28, 2023 Author Posted June 28, 2023 Thanks greyday01 and scorrp for the reply, I was hoping to avoid a fourmlist full of potions so it would be more compatible with modded potions
Recommended Posts