On Wed, 26 Oct 2011 07:33:59 +0000
Robert Robinson - Roundup <bugs@freedroid.org> wrote:
> Is there a reasonable way to check "if(superexterminator == current_weapon)
> {$dothis}"? I recall seeing, "if in inventory" but what of "if current?" If
> so, I may be able to implement this.
I don't think it currently exists, check lua.c for the complete API.
I'm OK with you adding it provided it's well written in lua.c (one function to
handle all inventory slots, referred to by name). |