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
commit376868b04077cca6ac7336544cfa45978af18166 (patch)
treee550e7462b60e59771b066e485cc4b4edcb1b1a7 /scripts
parent67731d344e860d9a1460011e054214f11eeb5d2b (diff)
downloadopenttd-376868b04077cca6ac7336544cfa45978af18166.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.
+