summaryrefslogtreecommitdiff
path: root/ondemand/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'ondemand/nodes')
-rw-r--r--ondemand/nodes/(194,19,-186).lua2
-rw-r--r--ondemand/nodes/(194,19,-187).lua2
-rw-r--r--ondemand/nodes/(197,19,-185).lua3
-rw-r--r--ondemand/nodes/(209,17,-190).lua15
-rw-r--r--ondemand/nodes/(24,5,3).lua15
-rw-r--r--ondemand/nodes/(30,7,8).lua2
-rw-r--r--ondemand/nodes/(31,7,8).lua2
-rw-r--r--ondemand/nodes/(33,7,6).lua3
-rw-r--r--ondemand/nodes/(49,13,-112).lua2
-rw-r--r--ondemand/nodes/(49,13,-113).lua2
-rw-r--r--ondemand/nodes/(49,13,-115).lua3
11 files changed, 51 insertions, 0 deletions
diff --git a/ondemand/nodes/(194,19,-186).lua b/ondemand/nodes/(194,19,-186).lua
new file mode 100644
index 0000000..7b1226e
--- /dev/null
+++ b/ondemand/nodes/(194,19,-186).lua
@@ -0,0 +1,2 @@
+S.rc = "ori"
+F.call("ewd") \ No newline at end of file
diff --git a/ondemand/nodes/(194,19,-187).lua b/ondemand/nodes/(194,19,-187).lua
new file mode 100644
index 0000000..c231a69
--- /dev/null
+++ b/ondemand/nodes/(194,19,-187).lua
@@ -0,0 +1,2 @@
+S.rc = "chuw"
+F.call("ewd") \ No newline at end of file
diff --git a/ondemand/nodes/(197,19,-185).lua b/ondemand/nodes/(197,19,-185).lua
new file mode 100644
index 0000000..b48dd31
--- /dev/null
+++ b/ondemand/nodes/(197,19,-185).lua
@@ -0,0 +1,3 @@
+if event.type == "ext_int" then
+digiline_send("lcd", event.message)
+end \ No newline at end of file
diff --git a/ondemand/nodes/(209,17,-190).lua b/ondemand/nodes/(209,17,-190).lua
new file mode 100644
index 0000000..919b98d
--- /dev/null
+++ b/ondemand/nodes/(209,17,-190).lua
@@ -0,0 +1,15 @@
+if event.type == "ext_int" and atc_arrow then
+ set_rc("ewd"..S.rc)
+ if not event.message == "ewd" then
+ atc_send("OCD1RSM")
+ else
+ atc_send("D5OCD1RSM")
+ end
+end
+
+
+if event.train then
+F.send_station("Edenwood")
+S.avail = true
+atc_send("B0WOL")
+end \ No newline at end of file
diff --git a/ondemand/nodes/(24,5,3).lua b/ondemand/nodes/(24,5,3).lua
new file mode 100644
index 0000000..5849086
--- /dev/null
+++ b/ondemand/nodes/(24,5,3).lua
@@ -0,0 +1,15 @@
+if event.type == "ext_int" and atc_arrow then
+ set_rc("ori"..S.rc)
+ if not event.message == "origin" then
+ atc_send("OCD1RSM")
+ else
+ atc_send("D5OCD1RSM")
+ end
+end
+
+
+if event.train then
+S.avail = true
+F.send_station("Origin")
+atc_send("B0WOR")
+end \ No newline at end of file
diff --git a/ondemand/nodes/(30,7,8).lua b/ondemand/nodes/(30,7,8).lua
new file mode 100644
index 0000000..111aae4
--- /dev/null
+++ b/ondemand/nodes/(30,7,8).lua
@@ -0,0 +1,2 @@
+S.rc = "chuw"
+F.call("origin") \ No newline at end of file
diff --git a/ondemand/nodes/(31,7,8).lua b/ondemand/nodes/(31,7,8).lua
new file mode 100644
index 0000000..8048fcb
--- /dev/null
+++ b/ondemand/nodes/(31,7,8).lua
@@ -0,0 +1,2 @@
+S.rc = "ewd"
+F.call("origin") \ No newline at end of file
diff --git a/ondemand/nodes/(33,7,6).lua b/ondemand/nodes/(33,7,6).lua
new file mode 100644
index 0000000..b48dd31
--- /dev/null
+++ b/ondemand/nodes/(33,7,6).lua
@@ -0,0 +1,3 @@
+if event.type == "ext_int" then
+digiline_send("lcd", event.message)
+end \ No newline at end of file
diff --git a/ondemand/nodes/(49,13,-112).lua b/ondemand/nodes/(49,13,-112).lua
new file mode 100644
index 0000000..8a39d19
--- /dev/null
+++ b/ondemand/nodes/(49,13,-112).lua
@@ -0,0 +1,2 @@
+S.rc = "chori"
+F.call("chur") \ No newline at end of file
diff --git a/ondemand/nodes/(49,13,-113).lua b/ondemand/nodes/(49,13,-113).lua
new file mode 100644
index 0000000..f97a336
--- /dev/null
+++ b/ondemand/nodes/(49,13,-113).lua
@@ -0,0 +1,2 @@
+S.rc = "chew"
+F.call("chur") \ No newline at end of file
diff --git a/ondemand/nodes/(49,13,-115).lua b/ondemand/nodes/(49,13,-115).lua
new file mode 100644
index 0000000..b48dd31
--- /dev/null
+++ b/ondemand/nodes/(49,13,-115).lua
@@ -0,0 +1,3 @@
+if event.type == "ext_int" then
+digiline_send("lcd", event.message)
+end \ No newline at end of file