News:

Simutrans Tools
Know our tools that can help you to create add-ons, install and customize Simutrans.

[Tutorial] Problems with elevated tracks

Started by Yona-TYT, October 14, 2018, 09:34:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

The use of elevated tracks breaks the scenario.
I needed a method to filter the elevated tracks so they do not show up in the toolbar or some other way to prevent them from being built.

An_dz

Seems like rules::forbid_way_tool would need a fourth optional value for systemtype_t

Yona-TYT

Quote from: An_dz on October 15, 2018, 12:55:24 AMSeems like rules::forbid_way_tool would need a fourth optional value for systemtype_t
I would be very happy to be able to use that.  ;D ;D ;D

Maybe another rule for the "systemtype".  ;)

example:rules.forbid_way_system_tool (pl, tool_id, st_ type)