Page 1 of 1

SimpleEntityWithOwner/Force::picture type is wrong

Posted: Mon Oct 23, 2023 9:38 pm
by Deadlock989
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.

Re: SimpleEntityWithOwner/Force::picture type is wrong

Posted: Wed Oct 25, 2023 8:26 am
by Bilka
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!