I'm trying to make an inventory that requires keeping track of the items that were placed into it. Specifically, I need to add custom logic to the 'insert' and 'can_insert' methods of the LuaInventory instance, but as I just found out from the IRC, those are not actually called when the base game interacts with an inventory. Is there / would it be possible to add a way to track / override those base operations?a
If this already exists, I apologize, but I was unable to find it.
Thanks,
-tlf
Call lua interfaces on game actions
-
- Burner Inserter
- Posts: 8
- Joined: Sun Aug 31, 2014 10:27 pm
- Contact:
Re: Call lua interfaces on game actions
Its not possiblethislooksfun wrote:I'm trying to make an inventory that requires keeping track of the items that were placed into it. Specifically, I need to add custom logic to the 'insert' and 'can_insert' methods of the LuaInventory instance, but as I just found out from the IRC, those are not actually called when the base game interacts with an inventory. Is there / would it be possible to add a way to track / override those base operations?a
If this already exists, I apologize, but I was unable to find it.
Thanks,
-tlf
Re: Call lua interfaces on game actions
And is never going to be possible.Klonan wrote:Its not possible
If you want to get ahold of me I'm almost always on Discord.