The International Simutrans Forum

 

Author Topic: [Tutorial] Problems with elevated tracks  (Read 219 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
[Tutorial] Problems with elevated tracks
« on: October 14, 2018, 09:34:53 PM »
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.
« Last Edit: October 15, 2018, 03:08:27 AM by Yona-TYT »

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Re: [Tutorial] Problems with elevated tracks
« Reply #1 on: October 15, 2018, 12:55:24 AM »
Seems like rules::forbid_way_tool would need a fourth optional value for systemtype_t

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
Re: [Tutorial] Problems with elevated tracks
« Reply #2 on: November 04, 2018, 07:34:34 PM »
Seems 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:
Code: [Select]
rules.forbid_way_system_tool (pl, tool_id, st_ type)