summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/on_client.scr.example (renamed from scripts/on_client.scr)0
-rw-r--r--scripts/on_dedicated.scr.example (renamed from scripts/on_dedicated.scr)0
-rw-r--r--scripts/on_server.scr.example (renamed from scripts/on_server.scr)0
-rw-r--r--scripts/readme.txt11
4 files changed, 11 insertions, 0 deletions
diff --git a/scripts/on_client.scr b/scripts/on_client.scr.example
index b63563f4f..b63563f4f 100644
--- a/scripts/on_client.scr
+++ b/scripts/on_client.scr.example
diff --git a/scripts/on_dedicated.scr b/scripts/on_dedicated.scr.example
index 4df6c8be8..4df6c8be8 100644
--- a/scripts/on_dedicated.scr
+++ b/scripts/on_dedicated.scr.example
diff --git a/scripts/on_server.scr b/scripts/on_server.scr.example
index cc799d9e7..cc799d9e7 100644
--- a/scripts/on_server.scr
+++ b/scripts/on_server.scr.example
diff --git a/scripts/readme.txt b/scripts/readme.txt
new file mode 100644
index 000000000..20132b62c
--- /dev/null
+++ b/scripts/readme.txt
@@ -0,0 +1,11 @@
+Scripting
+---------
+
+OpenTTD supports scripts.
+
+ - 'on_client.scr' is runned when you join a server as client
+ - 'on_server.scr' is runned when you start a server
+ - 'on_dedicated.scr' is runned when you start a dedicated server
+
+For examples how a script can look, check the .example examples.
+