Text 1

Content Idgame-script-library/54455854/e9465dbf
NameText
Project site http://www.tt-forums.net/viewtopic.php?f=65&t=57876
Version1
Upload date2011-12-20T22:48:08+00:00
MD5 (partial)e9465dbf
LicenseGPL v2
Download Available ingame
Compatibility
  • Official OpenTTD: >= 1.1.3, < 1.2.0
Dependencies
Tags
  • text
Authors
  • Zuu
Description This library simplifies the usage of GSText. With this library you do not need to store the instance of GSText in order to set parameters. Using variable argument count it calls GSText.AddParam internally.

-- Usage example: --

Squirrel code:
GSSign.BuildSign(some_tile, Text(GSText.STR_GOAL, company_id, goal_value));

lang/english.txt:
STR_GOAL :{COMPANY} should build {NUM} connections