Constants to identify tools, ie actions a player can perform to alter the state of the game.
Enumerator |
---|
tool_remover | remover tool
|
tool_raise_land | raise land tool
|
tool_lower_land | lower land tool
|
tool_setslope | artificial slope
|
tool_restoreslope | restore natural slope
|
tool_set_marker | set marker
|
tool_clear_reservation | clear block reservation
|
tool_build_transformer | build transformer
|
tool_add_city | add city
|
tool_change_city_size | change city size
|
tool_plant_tree | plant a tree
|
tool_build_groundobj | build groundobj/movingobj
|
tool_build_way | build ways
|
tool_build_bridge | build bridges
|
tool_build_tunnel | build tunnel
|
tool_remove_way | remove way
|
tool_build_wayobj | build overhead wires
|
tool_build_station | build stations
|
tool_build_roadsign | build signals and road signs
|
tool_build_depot | build depot
|
tool_build_house | build city houses
|
tool_land_chain | create industry chain with end consumer not in cities
|
tool_city_chain | create industry chain with end consumer in cities
|
tool_build_factory | build a factory
|
tool_link_factory | link factories
|
tool_headquarter | build headquarters
|
tool_lock_game | lock map: switching players not allowed anymore
|
tool_add_citycar | add city car
|
tool_forest | create forest
|
tool_stop_mover | move stop tool
|
tool_make_stop_public | make stop public
|
tool_remove_wayobj | remove way objects like overheadwires
|
tool_buy_house | buy a house
|
tool_build_cityroad | build city road with pavement
|
tool_change_water_height | alter water height
|
tool_set_climate | change climate of tiles
|
tool_rotate_building | rotate a building
|
tool_merge_stop | merge two stops
|
tool_exec_script | scripted tool (one-click)
|
tool_exec_two_click_script | scripted tool (two-click)
|
tool_set_owner | change owner of nth object on tile
|
tool_increase_industry | increase industry density
|
tool_switch_player | switch player
|
tool_step_year | step year forward
|
tool_fill_trees | fill area with trees
|
tool_set_traffic_level | set traffic level
|
dialog_edit_factory | open factory editor window
|
dialog_edit_attraction | open tourist attraction editor window
|
dialog_edit_house | open house editor window
|
dialog_edit_tree | open tree editor window
|
dialog_enlarge_map | open map enlargement window
|
27 begin_enum(
"tool_ids");
29 enum_slot(vm,
"tool_remover", TOOL_REMOVER | GENERAL_TOOL);
31 enum_slot(vm,
"tool_raise_land", TOOL_RAISE_LAND | GENERAL_TOOL);
33 enum_slot(vm,
"tool_lower_land", TOOL_LOWER_LAND | GENERAL_TOOL);
35 enum_slot(vm,
"tool_setslope", TOOL_SETSLOPE | GENERAL_TOOL);
37 enum_slot(vm,
"tool_restoreslope", TOOL_RESTORESLOPE | GENERAL_TOOL);
39 enum_slot(vm,
"tool_set_marker", TOOL_MARKER | GENERAL_TOOL);
41 enum_slot(vm,
"tool_clear_reservation", TOOL_CLEAR_RESERVATION | GENERAL_TOOL);
43 enum_slot(vm,
"tool_build_transformer", TOOL_TRANSFORMER | GENERAL_TOOL);
45 enum_slot(vm,
"tool_add_city", TOOL_ADD_CITY | GENERAL_TOOL);
47 enum_slot(vm,
"tool_change_city_size", TOOL_CHANGE_CITY_SIZE | GENERAL_TOOL);
49 enum_slot(vm,
"tool_plant_tree", TOOL_PLANT_TREE | GENERAL_TOOL);
53 enum_slot(vm,
"tool_build_groundobj", TOOL_PLANT_GROUNDOBJ | GENERAL_TOOL);
55 enum_slot(vm,
"tool_build_way", TOOL_BUILD_WAY | GENERAL_TOOL);
57 enum_slot(vm,
"tool_build_bridge", TOOL_BUILD_BRIDGE | GENERAL_TOOL);
59 enum_slot(vm,
"tool_build_tunnel", TOOL_BUILD_TUNNEL | GENERAL_TOOL);
61 enum_slot(vm,
"tool_remove_way", TOOL_WAYREMOVER | GENERAL_TOOL);
63 enum_slot(vm,
"tool_build_wayobj", TOOL_BUILD_WAYOBJ | GENERAL_TOOL);
65 enum_slot(vm,
"tool_build_station", TOOL_BUILD_STATION | GENERAL_TOOL);
67 enum_slot(vm,
"tool_build_roadsign", TOOL_BUILD_ROADSIGN | GENERAL_TOOL);
69 enum_slot(vm,
"tool_build_depot", TOOL_BUILD_DEPOT | GENERAL_TOOL);
71 enum_slot(vm,
"tool_build_house", TOOL_BUILD_HOUSE | GENERAL_TOOL);
73 enum_slot(vm,
"tool_land_chain", TOOL_BUILD_LAND_CHAIN | GENERAL_TOOL);
75 enum_slot(vm,
"tool_city_chain", TOOL_CITY_CHAIN | GENERAL_TOOL);
77 enum_slot(vm,
"tool_build_factory", TOOL_BUILD_FACTORY | GENERAL_TOOL);
79 enum_slot(vm,
"tool_link_factory", TOOL_LINK_FACTORY | GENERAL_TOOL);
81 enum_slot(vm,
"tool_headquarter", TOOL_HEADQUARTER | GENERAL_TOOL);
83 enum_slot(vm,
"tool_lock_game", TOOL_LOCK_GAME | GENERAL_TOOL);
85 enum_slot(vm,
"tool_add_citycar", TOOL_ADD_CITYCAR | GENERAL_TOOL);
87 enum_slot(vm,
"tool_forest", TOOL_FOREST | GENERAL_TOOL);
89 enum_slot(vm,
"tool_stop_mover", TOOL_STOP_MOVER | GENERAL_TOOL);
91 enum_slot(vm,
"tool_make_stop_public", TOOL_MAKE_STOP_PUBLIC | GENERAL_TOOL);
93 enum_slot(vm,
"tool_remove_wayobj", TOOL_REMOVE_WAYOBJ | GENERAL_TOOL);
96 enum_slot(vm,
"tool_buy_house", TOOL_BUY_HOUSE | GENERAL_TOOL);
98 enum_slot(vm,
"tool_build_cityroad", TOOL_BUILD_CITYROAD | GENERAL_TOOL);
100 enum_slot(vm,
"tool_change_water_height", TOOL_CHANGE_WATER_HEIGHT | GENERAL_TOOL);
102 enum_slot(vm,
"tool_set_climate", TOOL_SET_CLIMATE | GENERAL_TOOL);
104 enum_slot(vm,
"tool_rotate_building", TOOL_ROTATE_BUILDING | GENERAL_TOOL);
106 enum_slot(vm,
"tool_merge_stop", TOOL_MERGE_STOP | GENERAL_TOOL);
108 enum_slot(vm,
"tool_exec_script", TOOL_EXEC_SCRIPT | GENERAL_TOOL);