Rail remove Decorative?

Place to get help with not working mods / modding interface.
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Rail remove Decorative?

Post by TheSAguy »

Is there a way to have Rail remove Decorative?

This looks so ugly to me...
The below seems to have no effect

Code: Select all

	data.raw["rail-planner"]["bi-rail-wood"].decorative_removal_probability = 1.0
	data.raw["straight-rail"]["straight-rail"].decorative_removal_probability = 1.0
	data.raw["half-diagonal-rail"]["half-diagonal-rail"].decorative_removal_probability = 1.0
	data.raw["curved-rail-a"]["curved-rail-a"].decorative_removal_probability = 1.0
	data.raw["curved-rail-b"]["curved-rail-b"].decorative_removal_probability = 1.0
09-05-2025, 17-59-01.png
09-05-2025, 17-59-01.png (1.65 MiB) Viewed 194 times
User avatar
Silari
Filter Inserter
Filter Inserter
Posts: 592
Joined: Sat Jan 27, 2018 10:04 pm
Contact:

Re: Rail remove Decorative?

Post by Silari »

decorative_removal_probability is only on Tile prototypes, not entities.

Entities have remove_decoratives and rail prototypes also have removes_soft_decoratives
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: Rail remove Decorative?

Post by TheSAguy »

Great, Thanks!
Post Reply

Return to “Modding help”