SimpleEntityWithOwner/Force::picture type is wrong

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

SimpleEntityWithOwner/Force::picture type is wrong

Post 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.
Image

Bilka
Factorio Staff
Factorio Staff
Posts: 3165
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: SimpleEntityWithOwner/Force::picture type is wrong

Post 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!
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Resolved Requests”