From 4d7c2e9d90caaec42962e57b8700b170c000607c Mon Sep 17 00:00:00 2001 From: truelight Date: Mon, 13 Dec 2004 14:43:41 +0000 Subject: [PATCH] (svn r1050) -Fix: [Network] Scripts are no longer under revision control -Add: [Network] Moved original scripts to be example scripts --- scripts/{on_client.scr => on_client.scr.example} | 0 .../{on_dedicated.scr => on_dedicated.scr.example} | 0 scripts/{on_server.scr => on_server.scr.example} | 0 scripts/readme.txt | 11 +++++++++++ 4 files changed, 11 insertions(+) rename scripts/{on_client.scr => on_client.scr.example} (100%) rename scripts/{on_dedicated.scr => on_dedicated.scr.example} (100%) rename scripts/{on_server.scr => on_server.scr.example} (100%) create mode 100644 scripts/readme.txt diff --git a/scripts/on_client.scr b/scripts/on_client.scr.example similarity index 100% rename from scripts/on_client.scr rename to scripts/on_client.scr.example diff --git a/scripts/on_dedicated.scr b/scripts/on_dedicated.scr.example similarity index 100% rename from scripts/on_dedicated.scr rename to scripts/on_dedicated.scr.example diff --git a/scripts/on_server.scr b/scripts/on_server.scr.example similarity index 100% rename from scripts/on_server.scr rename to scripts/on_server.scr.example diff --git a/scripts/readme.txt b/scripts/readme.txt new file mode 100644 index 0000000000..20132b62c8 --- /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. +