container

Place to get help with not working mods / modding interface.
Post Reply
gabberworld
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat Aug 17, 2019 11:06 pm
Contact:

container

Post by gabberworld »

is there way rotate picture in type="container" ??

i see that some commands use the north =, west = , south =, east =

but when i try those i get error only

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: container

Post by Deadlock989 »

No, containers don't have a direction.

There are hacks and tricks to make them behave a bit like they sort of have a direction maybe but they are all infinitely more hassly and breakable than they're worth in my view.
Image

Hiladdar
Fast Inserter
Fast Inserter
Posts: 214
Joined: Mon May 14, 2018 6:47 pm
Contact:

Re: container

Post by Hiladdar »

I've not tried to rotate containers in mod yet, but when there is rotation for some sort of entity, there is png graphics file with 4 images, one for each cardinal, in addition to the appropriate definition within the .lua file.

Hiladdar

gabberworld
Long Handed Inserter
Long Handed Inserter
Posts: 70
Joined: Sat Aug 17, 2019 11:06 pm
Contact:

Re: container

Post by gabberworld »

yeah, i stop make mod anyway as it turns out this game have Lua limits what i don't like.

Post Reply

Return to “Modding help”