[0.16.51] Can't change map color of rails (not a bug, TY :)

Bugs that are actually features.

[0.16.51] Can't change map color of rails (not a bug, TY :)

Postby Taehl » Sun Aug 12, 2018 9:30 pm

While working on my mod, it came to my attention that straight_rail and curved_rail both seem to ignore map_color AND friendly_map_color! Am I missing something, or have I found a bug?
Last edited by Taehl on Mon Aug 13, 2018 9:27 am, edited 1 time in total.
User avatar
Taehl
Long Handed Inserter
Long Handed Inserter
 
Posts: 50
Joined: Sun Jan 18, 2015 2:23 am

Re: [0.16.51] Can't change the map color of rails

Postby Rseding91 » Mon Aug 13, 2018 1:16 am

Rails use the utility-constant rail chart color: data.raw["utility-constants].chart.rail_color.
If you want to get ahold of me I'm almost always on IRC and Discord.
Rseding91
Factorio Staff
Factorio Staff
 
Posts: 7708
Joined: Wed Jun 11, 2014 5:23 am


Return to Not a bug

Who is online

Users browsing this forum: No registered users and 1 guest