Difference between revisions of "NML:Features"
From GRFSpecs
Jump to navigationJump to search (content of nml r1625)  | 
				m (Changed from table to sortable.)  | 
				||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| + | == Features ==  | 
||
| + | |||
NewGRFs can be used to modify various types of items. Examples include trains, stations and industries. Such a type of item is called a ''feature''. The following table contains a list of features and their identifiers. These identifiers may be used to refer to the feature when needed.  | 
  NewGRFs can be used to modify various types of items. Examples include trains, stations and industries. Such a type of item is called a ''feature''. The following table contains a list of features and their identifiers. These identifiers may be used to refer to the feature when needed.  | 
||
| − | {| class="  | 
  + | {| class="wikitable sortable"  | 
! Name  | 
  ! Name  | 
||
! Description  | 
  ! Description  | 
||
| Line 55: | Line 57: | ||
| FEAT_RAILTYPES  | 
  | FEAT_RAILTYPES  | 
||
| Rail types  | 
  | Rail types  | 
||
| + | |-  | 
||
| + | | FEAT_ROADTYPES  | 
||
| + | | Road types  | 
||
| + | |-  | 
||
| + | | FEAT_TRAMTYPES  | 
||
| + | | Tram types  | 
||
|-  | 
  |-  | 
||
| FEAT_AIRPORTTILES  | 
  | FEAT_AIRPORTTILES  | 
||
Latest revision as of 15:21, 30 August 2022
Features
NewGRFs can be used to modify various types of items. Examples include trains, stations and industries. Such a type of item is called a feature. The following table contains a list of features and their identifiers. These identifiers may be used to refer to the feature when needed.
| Name | Description | 
|---|---|
| FEAT_TRAINS | Trains | 
| FEAT_ROADVEHS | Road vehicles | 
| FEAT_SHIPS | Ships | 
| FEAT_AIRCRAFT | Aircraft | 
| FEAT_STATIONS | Train stations | 
| FEAT_CANALS | Canals | 
| FEAT_BRIDGES | Bridges | 
| FEAT_HOUSES | Town houses | 
| FEAT_GLOBALVARS | Various global variables | 
| FEAT_INDUSTRYTILES | Industry tiles (visible part of industries) | 
| FEAT_INDUSTRIES | Industries | 
| FEAT_CARGOS | Cargo types | 
| FEAT_SOUNDEFFECTS | Sound effects | 
| FEAT_AIRPORTS | Airports | 
| FEAT_SIGNALS | Train signals | 
| FEAT_OBJECTS | Non-interactive objects (example: lighthouse) | 
| FEAT_RAILTYPES | Rail types | 
| FEAT_ROADTYPES | Road types | 
| FEAT_TRAMTYPES | Tram types | 
| FEAT_AIRPORTTILES | Airport tiles (visible part of airports) |