item grid persistence and identification

Things that we aren't going to implement
Post Reply
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

item grid persistence and identification

Post by Adil »

Many objects provide links to the objects higher in hierarchy (entity - force\surface, gui - parent element). Can we have grid point to the owner entity or item? Can we have item_stack class point to inventory? Can we have inventory point to entity?
Secondly, aka item with unit number
Last edited by Adil on Sat Feb 25, 2017 9:43 am, edited 1 time in total.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13235
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: item grid persistence and identification

Post by Rseding91 »

An equipment grid has no reference to what owns it. The Lua object points directly at it.

As for inventory: it may or have an associated entity, item, or none.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Won't implement”