summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-13 14:43:41 +0000
committertruelight <truelight@openttd.org>2004-12-13 14:43:41 +0000
commit4d7c2e9d90caaec42962e57b8700b170c000607c (patch)
treee550e7462b60e59771b066e485cc4b4edcb1b1a7 /scripts
parentf80094deb729fc889003a33420ad4b6bb09444e3 (diff)
downloadopenttd-4d7c2e9d90caaec42962e57b8700b170c000607c.tar.xz
(svn r1050) -Fix: [Network] Scripts are no longer under revision control
-Add: [Network] Moved original scripts to be example scripts
Diffstat (limited to 'scripts')
-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.
+