The International Simutrans Forum

 

Author Topic: tool_id = 4099? What tool is this?  (Read 555 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1845
    • Simutrans-BLOG
  • Languages: ES
tool_id = 4099? What tool is this?
« on: July 28, 2021, 04:53:14 PM »
tool_id = 4099? What tool is this? Why does it run without clicking and breaks into the tunnel construction? I think this is what is confusing me.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4957
  • Languages: EN, DE, AT
Re: tool_id = 4099? What tool is this?
« Reply #1 on: August 23, 2021, 05:45:28 PM »
This is from terra forming the terrain for the tunnel portals.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1845
    • Simutrans-BLOG
  • Languages: ES
Re: tool_id = 4099? What tool is this?
« Reply #2 on: August 23, 2021, 05:48:40 PM »
This is from terra forming the terrain for the tunnel portals.
But I think it is not defined in the constants.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 11097
  • Languages: De,EN,JP
Re: tool_id = 4099? What tool is this?
« Reply #3 on: August 24, 2021, 02:57:40 PM »
Any number larger than 4096 conatins the tool flag. 4096 indicates general tool, 9291 dialog tools and 0x4000 simple tools.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4957
  • Languages: EN, DE, AT
Re: tool_id = 4099? What tool is this?
« Reply #4 on: August 24, 2021, 03:14:56 PM »
should be defined as constants tool_raise_land/tool_lower_land