https://lua-api.factorio.com/latest/pro ... otype.html
For SEWO and SEWF, the picture property is listed as type Sprite. But the old wiki lists it as a Sprite4Way and the game appears to treat it like a Sprite4Way, i.e. directions do work. They inherit from SimpleEntity which the old wiki does list as Sprite, I haven't tested that one however.
SimpleEntityWithOwner/Force::picture type is wrong
- Deadlock989
- Smart Inserter
- Posts: 2529
- Joined: Fri Nov 06, 2015 7:41 pm
Re: SimpleEntityWithOwner/Force::picture type is wrong
The simple-entity-with-... don't inherit from simple-entity. Doesn't matter here but it occasionally confuses me, so I'm noting it.
Anyway, picture is indeed a Sprite4Way for all three simple entities, although only the -with-... variations allow rotation. All noted in the docs for the next version, thank you for the report!
Anyway, picture is indeed a Sprite4Way for all three simple entities, although only the -with-... variations allow rotation. All noted in the docs for the next version, thank you for the report!
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.