read/set Tree/entity variation

read/set Tree/entity variation

Postby Graveeater » Mon Mar 20, 2017 9:48 pm

I am currently experimenting with a tree growth mod. The easiest approach is to create scaled down versions of existing trees and use them.
Growing works by removing the old tree and placing a larger version at the same place. But since the trees have more than one variation, which is apparently selected at random, the new tree often looks quite different.
Can we get a way to read/set a tree's graphic variation? For me it would be enough to specify the variation when placing the entity.

The work around I can think of is to split (during data phase) the trees into individual prototypes with each only one variation, but that would generate quite a lot of trees.
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Jul 07, 2016 8:00 pm

Re: read/set Tree/entity variation

Postby Rseding91 » Sun Apr 02, 2017 9:21 pm

Added for 0.15.
If you want to get ahold of me I'm almost always on IRC and Discord.
Factorio Staff
Factorio Staff
Posts: 7498
Joined: Wed Jun 11, 2014 5:23 am

Return to Implemented mod requests

Who is online

Users browsing this forum: No registered users and 1 guest