Page 1 of 1

Gamescript: Auto Pause

Posted: 01 Feb 2019 11:58
by PikkaBird
This is an extremely basic gamescript, mainly for testing AIs and NewGRF town expansion.

The script opens the storybook and pauses the game after a number of years (configurable, default 10) have passed. This lets you put a game in fast-forward and walk away, to see how the game grows over the period. Closing the storybook unpauses the game and restarts the counter.

It is available from Bananas. :)

Re: Gamescript: Auto Pause

Posted: 01 Feb 2019 12:00
by planetmaker
That indeed sounds like a useful script for AI testing. Thanks for sharing it with us :)

Re: Gamescript: Auto Pause

Posted: 21 Dec 2019 03:16
by PikkaBird
v2! :lol:

v2 adds save/load compatibility.

- the script now remembers the date counter through save/load, rather than restarting the counter each time.
- If the game is save/loaded after counter has reached 0, the game is no longer irreparably paused - rather, the storybook will open and closing it will restart the counter and unpause the game as usual.

Available now on the fruit stand.

Re: Gamescript: Auto Pause

Posted: 31 Dec 2020 10:04
by pda1573
谢谢分享!但不能用在专用服务器上。