Get where is an item

Place to get help with not working mods / modding interface.
Post Reply
xFrekaut
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed May 23, 2018 10:14 pm
Contact:

Get where is an item

Post by xFrekaut »

Hi, is there a way to get where is an item?

For example: I have a "item" in a chest, is possible to get the name of the chest (also the position on the map) or get the name of the machine where is in it?

Thank you very much!! I will put the name of who will help me in my mod.

PS: My native language is not english, so forgive me for my bad english.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Get where is an item

Post by eradicator »

If you're asking if you can derive the location of a LuaItemStack from a reference to the LuaItemStack the answer is: No. Impossible. But more importantly: Why do you want that?

User avatar
moon69
Fast Inserter
Fast Inserter
Posts: 181
Joined: Sun Sep 18, 2016 6:53 pm
Contact:

Re: Get where is an item

Post by moon69 »


Post Reply

Return to “Modding help”