Files @ r831:988a3e103fad
Branch filter:

Location: cpp/openttd-patchpack/source/scripts/readme.txt

truelight
(svn r1302) -Fix: [ 1091655 ] In some older maps somehow water is owned by
OWNER_NONE instead of OWNER_WATER.
-Fix: On InitializeLandscape the map was made MP_WATER, but OWNER_NONE.
When ConvertGroundTilesIntoWaterTiles() is not called, this gives big
problems (see above). Now the owner is set to OWNER_WATER by default.
Scripting
---------

OpenTTD supports scripts.

 - 'on_client.scr' is executed when you join a server as client
 - 'on_server.scr' is executed when you start a server / dedicated server
 - 'on_dedicated.scr' is additionally executed when you start a dedicated server
 - 'pre_server.scr' is executed before the server is started
 - 'pre_dedicated.scr' is additionally executed when you start a dedicated server
 - 'autoexec.scr' is executed on gamestart [use this for custom aliases per ex.]

For examples how a script can look, check the .example examples.