The International Simutrans Forum

Development => Scripting Scenarios and AI => Topic started by: Yona-TYT on July 28, 2021, 04:53:14 PM

Title: tool_id = 4099? What tool is this?
Post by: Yona-TYT 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.
Title: Re: tool_id = 4099? What tool is this?
Post by: Dwachs on August 23, 2021, 05:45:28 PM
This is from terra forming the terrain for the tunnel portals.
Title: Re: tool_id = 4099? What tool is this?
Post by: Yona-TYT on August 23, 2021, 05:48:40 PM
Quote from: Dwachs on August 23, 2021, 05:45:28 PMThis is from terra forming the terrain for the tunnel portals.
But I think it is not defined in the constants.
Title: Re: tool_id = 4099? What tool is this?
Post by: prissi 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.
Title: Re: tool_id = 4099? What tool is this?
Post by: Dwachs on August 24, 2021, 03:14:56 PM
should be defined as constants tool_raise_land/tool_lower_land