usage:nodes:atc_rail
This is an old revision of the document!
Table of Contents
LuaAutomation ATC rail
Properties
Mod: advtrains_luaautomation
Node name: advtrains_luaautomation:dtrack_placer
Other names:
advtrains_luaautomation:dtrack_stadvtrains_luaautomation:dtrack_st_30advtrains_luaautomation:dtrack_st_45advtrains_luaautomation:dtrack_st_60
Craft recipe
This node has no craft recipe.
Extended description
- When the rail is first built, this rail node does nothing. But once right-clicking (or double tapping on Android) the node, a formspec displays, allowing you to write Lua code for the current node.
- Interacting with the ATC rail requires the
atlatcprivilege. - The code in the ATC rail is executed when an event is fired. See Events for a list of events this node supports.
- This node can be rotated by the Trackworker.
- Only straight nodes are supported. You can't put this node on a curve or as a switch.
- This node is an active component.
API
For details how to program LuaATC rails, refer to the Lua ATC section:
Trivia
The LuaAutomation ATC rail has the same texture as the ATC controller rail, but its functions are different.
usage/nodes/atc_rail.1619613457.txt.gz · Last modified: by orwell

