I would like to stop STKM from creating elements without altering the ctype. I have a potion script but it is based on ctype. However, I don't want the stickman to create more potion out of thin air as he does with dust and water.
So checking if the STKM's ctype equals de ID's of your potions and then change it to 1 wouldn't work? What you wrote is a bit confusing.
I mean stopping the STKM from creating elements without altering it's ctype. Like if the ctype is water, I want the STKM to not make water but still have the ctype of water.
try setting tmp2 of it to ctype's id and changing ctype to 0