I am looking for a hidden inventory. I think the invisible chest solution is overcomplicated.
Is it possible to instantiate a LuaInventory by code ? How do I do that ? There is a "new" word or something like in C++ ?
Regards
Is it possible to instantiate a Lua class from API
- TelemakFactorio
- Long Handed Inserter
- Posts: 53
- Joined: Fri Oct 14, 2016 4:30 pm
- Contact:
- eradicator
- Smart Inserter
- Posts: 5207
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Is it possible to instantiate a Lua class from API
No. Inventories only exist when they're bound to an actual entity.TelemakFactorio wrote: Is it possible to instantiate a LuaInventory by code ? How do I do that ? There is a "new" word or something like in C++ ?
- TelemakFactorio
- Long Handed Inserter
- Posts: 53
- Joined: Fri Oct 14, 2016 4:30 pm
- Contact: