This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
usage:atlatc:latcrail [2020-02-23 07:48] orwell |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== LuaAutomation ATC rail ====== | ||
- | {{ : | ||
- | LuaATC rails are the core component of the LuaAutomation system. They are used to automate trains by running custom Lua code whenever an event occurs. | ||
- | //Note: this page has been written for Advtrains 2.1.0 and Minetest 5.1.0. Examples and practices described in this page don't take advantage of improvements introduced in later releases.// | ||
- | |||
- | ===== Properties ===== | ||
- | Placer Item name: '' | ||
- | Node names: | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | ===== 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 '' | ||
- | * This node can be rotated by the [[usage: | ||
- | * Only straight nodes are supported. You can't put this node on a curve or as a switch. | ||
- | |||
- | ===== Operation ===== | ||
- | |||
- | The LuaATC Rail is an active LuaATC component. It holds Lua code that is executed on specific [[usage: | ||
- | |||
- | Every LuaATC rail must belong to an [[usage: | ||
- | |||
- | //Note: you have to create an environment before LuaATC components can be used. See [[usage: | ||
- | |||
- | ===== Trivia ===== | ||
- | |||
- | The LuaAutomation ATC rail has the same texture as the [[usage: |