Difference between revisions of "Documentation/Engine/Configuration variables/g cargo sort"
Jump to navigation
Jump to search
(Created page with "\t\tcase ([0-9])+:\n\t\t\tjobs.sort_by<cargo_sort_trait_(.*)_(.*)_order_t>\(\);\n\t\t\tbreak; {| |'''Name:''' || g_cargo_sort |- |'''Purpose:''' || Current cargo sort metho...") |
m (ErykDwornicki moved page Engine/Configuration variables/g cargo sort to Documentation/Engine/Configuration variables/g cargo sort without leaving a redirect) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{| | {| | ||
|'''Name:''' || g_cargo_sort | |'''Name:''' || g_cargo_sort | ||
Line 23: | Line 22: | ||
| 3 || Sort by price/km in ascending order. | | 3 || Sort by price/km in ascending order. | ||
|- | |- | ||
− | | 4 || | + | | 4 || Sort by expiration ascending order. |
|- | |- | ||
| 5 || Sort by expiration in descending order. | | 5 || Sort by expiration in descending order. |
Latest revision as of 12:44, 15 February 2016
Name: | g_cargo_sort |
Purpose: | Current cargo sort method. |
Config: | global |
Value: | integer - sort_method |
sort_method:
Value | Description |
---|---|
0 | Sort by price in descending order. |
1 | Sort by price in ascending order. |
2 | Sort by price/km in descending order. |
3 | Sort by price/km in ascending order. |
4 | Sort by expiration ascending order. |
5 | Sort by expiration in descending order. |
6 | Sort by origin in ascending order. |
7 | Sort by origin in descending order. |
8 | Sort by dest in ascending order. |
9 | Sort by dest in descending order. |
10 | Sort by route length in ascending order. |
11 | Sort by route length in descending order. |
12 | Sort by weight in ascending order. |
13 | Sort by weight in descending order. |
14 | Sort by source company in ascending order. |
15 | Sort by source company in descending order. |
16 | Sort by target company in ascending order. |
17 | Sort by target company in descending order. |