|
Simutrans-Squirrel-API
|
Static Public Member Functions | |
| static city_x | find_nearest_city (coord k) |
| static integer | generate_goods (coord from, coord to, good_desc_x desc, integer count) |
| static attraction_list_x | get_attraction_list () |
| static array< integer > | get_citizens () |
| static array< integer > | get_citycars () |
| static convoy_list_x | get_convoy_list () |
| static array< integer > | get_convoys () |
| static array< integer > | get_factories () |
| static array< integer > | get_generated_mail () |
| static array< integer > | get_generated_pax () |
| static array< integer > | get_growth () |
| static label_list_x | get_label_list () |
| static player_x | get_player (integer pl) |
| static array< integer > | get_ratio_goods () |
| static array< integer > | get_ratio_mail () |
| static array< integer > | get_ratio_pax () |
| static integer | get_season () |
| static coord | get_size () |
| static time_ticks_x | get_time () |
| static array< integer > | get_towns () |
| static array< integer > | get_transported_goods () |
| static array< integer > | get_year_citizens () |
| static array< integer > | get_year_citycars () |
| static array< integer > | get_year_convoys () |
| static array< integer > | get_year_factories () |
| static array< integer > | get_year_generated_mail () |
| static array< integer > | get_year_generated_pax () |
| static array< integer > | get_year_growth () |
| static array< integer > | get_year_ratio_goods () |
| static array< integer > | get_year_ratio_mail () |
| static array< integer > | get_year_ratio_pax () |
| static array< integer > | get_year_towns () |
| static array< integer > | get_year_transported_goods () |
| static bool | is_coord_valid (coord k) |
| static bool | remove_player (player_x pl) |
| static bool | use_timeline () |
Table with methods to access the world, the universe, and everything.
Definition at line 5 of file api_world.cc.
Searches city next to the given coordinate.
| k | coordinate |
|
static |
Returns iterator through the list of attractions on the map.
|
static |
Get monthly statistics of total number of citizens.
|
static |
Get monthly statistics of total number of citycars.
|
static |
Returns list of convoys on the map.
|
static |
Get monthly statistics of total number of convoys.
|
static |
Get monthly statistics of total number of factories.
|
static |
Get monthly statistics of total number of generated mail.
|
static |
Get monthly statistics of total number of generated passengers.
|
static |
Get monthly statistics of total city growth.
|
static |
Returns iterator through the list of labels on the map.
|
static |
Returns player number pl. If player does not exist, returns null.
| pl | player number |
|
static |
Get monthly statistics of ratio of factories that got supplied.
|
static |
Get monthly statistics of ratio transported to generated mail.
|
static |
Get monthly statistics of ratio transported to generated passengers.
|
static |
Current season.
|
static |
Returns size of the map.
|
static |
|
static |
Get monthly statistics of total number of towns.
|
static |
Get monthly statistics of total number of transported goods.
|
static |
Get per year statistics of total number of citizens.
|
static |
Get per year statistics of total number of citycars.
|
static |
Get per year statistics of total number of convoys.
|
static |
Get per year statistics of total number of factories.
|
static |
Get per year statistics of total number of generated mail.
|
static |
Get per year statistics of total number of generated passengers.
|
static |
Get per year statistics of total city growth.
|
static |
Get per year statistics of ratio of factories that got supplied.
|
static |
Get per year statistics of ratio transported to generated mail.
|
static |
Get per year statistics of ratio transported to generated passengers.
|
static |
Get per year statistics of total number of towns.
|
static |
Get per year statistics of total number of transported goods.
|
static |
Checks whether given coordinate is valid.
| k | coordinate |
|
static |
1.8.14