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. +