What is this?

This script has two tax-related mechanics you can tune in Advanced Game Settings.

Taxes

The Goal list shows total, rail/road, and dock taxes paid, plus each amount for last month and the rebate. Its Tax history entry opens a company StoryBook page with a 36-month history, a relative text line graph, and Older/Newer buttons.

Invest in an area

There is no direct GameScript button for a one-time area investment action. You get tax impact through play:

Taxes-paid trend

OpenTTD’s GameScript API has no custom graph widget. The Tax history StoryBook page draws a 12-month text line graph instead: each month plots a # marker on a dotted scale, so reading down the page traces the trend. Older and Newer buttons browse up to 36 months.