Temple Termagant
Posts: 8
Joined: Thursday, 9th June 2011, 11:20
newbie question
i would like to use lua to add features however i never coded any lua and somehow i dont find an overview of most important objects and methods e.g. you.turns().
are lua scripts always triggered by pressing a key? or is it possible to execute a script on ingame conditions (e.g. rat comes into view)?
it would be nice if someone could help me with some example code:
i would like to inscribe slaughtered food with the turn number when i pick it up