Page 1 of 1

Linking a food to a script?

Posted: Thu Aug 27, 2015 10:28 am
by Enko
Just something I am playing with, is there a way to have consuming a particular food link to a custom Lua script?

Re: Linking a food to a script?

Posted: Thu Aug 27, 2015 10:14 pm
by kjLotus
every food goes to onItemUse in the foods script file, just like any other usable item

Re: Linking a food to a script?

Posted: Fri Aug 28, 2015 12:26 am
by tabitaru
!