aboutsummaryrefslogtreecommitdiff
path: root/assets/manual/man/man7advtrains/node_definition.7advtrains.md
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-08-11 19:07:42 +0200
committerY. Wang <yw05@forksworld.de>2022-08-11 19:55:30 +0200
commitb4ac74c41911ee7771e88da91208c1eb16c4b752 (patch)
treeb2d9678b8c09260f28ca8ccd1b66f27ca0ae4a96 /assets/manual/man/man7advtrains/node_definition.7advtrains.md
parentbdcd24f6f78ed62f43b418a5bb50553001b5a6ec (diff)
downloadadvtrains-b4ac74c41911ee7771e88da91208c1eb16c4b752.tar.gz
advtrains-b4ac74c41911ee7771e88da91208c1eb16c4b752.tar.bz2
advtrains-b4ac74c41911ee7771e88da91208c1eb16c4b752.zip
Reformat manual pages
Diffstat (limited to 'assets/manual/man/man7advtrains/node_definition.7advtrains.md')
-rw-r--r--assets/manual/man/man7advtrains/node_definition.7advtrains.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/assets/manual/man/man7advtrains/node_definition.7advtrains.md b/assets/manual/man/man7advtrains/node_definition.7advtrains.md
index c662614..8b6407a 100644
--- a/assets/manual/man/man7advtrains/node_definition.7advtrains.md
+++ b/assets/manual/man/man7advtrains/node_definition.7advtrains.md
@@ -1,23 +1,24 @@
---
-title: 'NODE_DEFINITION(7ADVTRAINS) | Advtrains Developer''s Manual'
+title: 'node_definition(7advtrains)'
+manual: 'Advtrains Developer''s Manual'
seealso:
- signal_aspects(7advtrains)
---
-# NAME
+# Name
`node_definition` - Advtrains-specific node definition entries
-# DESCRIPTION
+# Description
This page describes various fields in node definition tables that are used by Advtrains.
-# NODE GROUPS
+# Node Groups
Advtrains uses node groups to identify certain properties of a node. The following node groups are currently read by Advtrains:
* `advtrains_signal`: When set, this property defines the type of signal this node belongs to. `1` indicates that this node is a static signal, and `2` indicates that this node is a signal with a variable aspect.
* `not_blocking_trains`: When set to 1, trains can move through this node.
* `save_in_at_nodedb`: When set to 1, this node should be saved in the internal node database used by Advtrains.
-# THE `advtrains` FIELD
+# The `advtrains` Field
The `advtrains` field in the node definition may contain the following fields:
* `get_aspect(pos, node)`: This function should return the signal aspect of the node at the given position.