defines.alert_type.entity_destroyed | |
defines.alert_type.entity_under_attack | |
defines.alert_type.not_enough_construction_robots | |
defines.alert_type.no_material_for_construction | |
defines.alert_type.not_enough_repair_packs | |
defines.alert_type.turret_fire | |
defines.alert_type.custom | |
defines.alert_type.no_storage | |
defines.alert_type.train_out_of_fuel |
AI command exit status. See LuaEntity::set_command
defines.behavior_result.in_progress | |
defines.behavior_result.fail | |
defines.behavior_result.success | |
defines.behavior_result.deleted |
defines.build_check_type.script | |
defines.build_check_type.manual | |
defines.build_check_type.manual_ghost | |
defines.build_check_type.script_ghost | |
defines.build_check_type.blueprint_ghost | |
defines.build_check_type.ghost_revive |
State of a chain signal.
defines.chain_signal_state.none | |
defines.chain_signal_state.all_open | |
defines.chain_signal_state.partially_open | |
defines.chain_signal_state.none_open |
defines.chunk_generated_status.nothing | |
defines.chunk_generated_status.custom_tiles | |
defines.chunk_generated_status.basic_tiles | |
defines.chunk_generated_status.corrected_tiles | |
defines.chunk_generated_status.tiles | |
defines.chunk_generated_status.entities |
defines.circuit_condition_index.inserter_circuit | |
defines.circuit_condition_index.inserter_logistic | |
defines.circuit_condition_index.lamp | |
defines.circuit_condition_index.arithmetic_combinator | |
defines.circuit_condition_index.decider_combinator | |
defines.circuit_condition_index.constant_combinator | |
defines.circuit_condition_index.offshore_pump | |
defines.circuit_condition_index.pump |
defines.circuit_connector_id.accumulator | |
defines.circuit_connector_id.constant_combinator | |
defines.circuit_connector_id.container | |
defines.circuit_connector_id.programmable_speaker | |
defines.circuit_connector_id.rail_signal | |
defines.circuit_connector_id.rail_chain_signal | |
defines.circuit_connector_id.roboport | |
defines.circuit_connector_id.storage_tank | |
defines.circuit_connector_id.wall | |
defines.circuit_connector_id.electric_pole | |
defines.circuit_connector_id.inserter | |
defines.circuit_connector_id.lamp | |
defines.circuit_connector_id.combinator_input | |
defines.circuit_connector_id.combinator_output | |
defines.circuit_connector_id.offshore_pump | |
defines.circuit_connector_id.pump |
Command given to units describing what they should do.
defines.command.attack | Attack another entity. |
defines.command.go_to_location | Go to a specific position. |
defines.command.compound | Chain commands together, see defines.compound_command. |
defines.command.group | Do what your group wants you to do. |
defines.command.attack_area | Go to a place and attack what you see. |
defines.command.wander | Chill. |
defines.command.flee | Flee from another entity. |
defines.command.stop | Stop moving and stay where you are. |
defines.command.build_base | Go to a position and build a base there. |
How commands are joined together in a compound command (see defines.command.compound).
defines.compound_command.logical_and | Fail on first failure. Only succeeds if all commands (executed one after another) succeed. |
defines.compound_command.logical_or | Succeed on first success. Only fails if all commands (executed one after another) fail. |
defines.compound_command.return_last | Execute all commands in sequence and fail or succeed depending on the return status of the last command. |
defines.control_behavior.inserter.circuit_mode_of_operation.none | |
defines.control_behavior.inserter.circuit_mode_of_operation.enable_disable | |
defines.control_behavior.inserter.circuit_mode_of_operation.set_filters | |
defines.control_behavior.inserter.circuit_mode_of_operation.read_hand_contents | |
defines.control_behavior.inserter.circuit_mode_of_operation.set_stack_size |
defines.control_behavior.inserter.hand_read_mode.hold | |
defines.control_behavior.inserter.hand_read_mode.pulse |
defines.control_behavior.logistic_container.circuit_mode_of_operation.send_contents | |
defines.control_behavior.logistic_container.circuit_mode_of_operation.set_requests |
defines.control_behavior.lamp.circuit_mode_of_operation.use_colors |
defines.control_behavior.mining_drill.resource_read_mode.this_miner | |
defines.control_behavior.mining_drill.resource_read_mode.entire_patch |
defines.control_behavior.transport_belt.content_read_mode.pulse | |
defines.control_behavior.transport_belt.content_read_mode.hold |
defines.control_behavior.type.container | LuaContainerControlBehavior |
defines.control_behavior.type.generic_on_off | LuaGenericOnOffControlBehavior |
defines.control_behavior.type.inserter | LuaInserterControlBehavior |
defines.control_behavior.type.lamp | LuaLampControlBehavior |
defines.control_behavior.type.logistic_container | LuaLogisticContainerControlBehavior |
defines.control_behavior.type.roboport | LuaRoboportControlBehavior |
defines.control_behavior.type.storage_tank | LuaStorageTankControlBehavior |
defines.control_behavior.type.train_stop | LuaTrainStopControlBehavior |
defines.control_behavior.type.decider_combinator | LuaDeciderCombinatorControlBehavior |
defines.control_behavior.type.arithmetic_combinator | LuaArithmeticCombinatorControlBehavior |
defines.control_behavior.type.constant_combinator | LuaConstantCombinatorControlBehavior |
defines.control_behavior.type.transport_belt | LuaTransportBeltControlBehavior |
defines.control_behavior.type.accumulator | LuaAccumulatorControlBehavior |
defines.control_behavior.type.rail_signal | LuaRailSignalControlBehavior |
defines.control_behavior.type.rail_chain_signal | LuaRailChainSignalControlBehavior |
defines.control_behavior.type.wall | LuaWallControlBehavior |
defines.control_behavior.type.mining_drill | LuaMiningDrillControlBehavior |
defines.control_behavior.type.programmable_speaker | LuaProgrammableSpeakerControlBehavior |
defines.controllers.ghost | Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen. |
defines.controllers.character | The controller controls a character. This is the default controller in freeplay. |
defines.controllers.god | The controller isn't tied to a character. This is the default controller in sandbox. |
defines.controllers.editor | The Editor Controller near ultimate power to do almost anything in the game. |
defines.controllers.cutscene | The player can't interact with the world, and the camera pans around in a predefined manner. |
defines.controllers.spectator | Can't change anything in the world but can view anything. |
defines.deconstruction_item.entity_filter_mode.whitelist | |
defines.deconstruction_item.entity_filter_mode.blacklist |
defines.deconstruction_item.tile_filter_mode.whitelist | |
defines.deconstruction_item.tile_filter_mode.blacklist |
defines.deconstruction_item.tile_selection_mode.normal | |
defines.deconstruction_item.tile_selection_mode.always | |
defines.deconstruction_item.tile_selection_mode.never | |
defines.deconstruction_item.tile_selection_mode.only |
defines.difficulty.easy | |
defines.difficulty.normal | |
defines.difficulty.hard |
defines.difficulty_settings.recipe_difficulty.normal | |
defines.difficulty_settings.recipe_difficulty.expensive |
defines.difficulty_settings.technology_difficulty.normal | |
defines.difficulty_settings.technology_difficulty.expensive |
defines.direction.north | |
defines.direction.northeast | |
defines.direction.east | |
defines.direction.southeast | |
defines.direction.south | |
defines.direction.southwest | |
defines.direction.west | |
defines.direction.northwest |
defines.disconnect_reason.quit | |
defines.disconnect_reason.dropped | |
defines.disconnect_reason.reconnect | |
defines.disconnect_reason.wrong_input | |
defines.disconnect_reason.desync_limit_reached | |
defines.disconnect_reason.cannot_keep_up | |
defines.disconnect_reason.afk | |
defines.disconnect_reason.kicked | |
defines.disconnect_reason.kicked_and_deleted | |
defines.disconnect_reason.banned | |
defines.disconnect_reason.switching_servers |
defines.distraction.none | Perform command even if someone attacks the unit. |
defines.distraction.by_enemy | Attack closer enemy entities with force. |
defines.distraction.by_anything | Attack closer enemy entities, including entities "built" by player (belts, inserters, chests). |
defines.distraction.by_damage | Attack when attacked. |
defines.entity_status.working | |
defines.entity_status.normal | |
defines.entity_status.no_power | |
defines.entity_status.low_power | |
defines.entity_status.no_fuel | |
defines.entity_status.disabled_by_control_behavior | |
defines.entity_status.opened_by_circuit_network | |
defines.entity_status.closed_by_circuit_network | |
defines.entity_status.disabled_by_script | |
defines.entity_status.marked_for_deconstruction | |
defines.entity_status.not_plugged_in_electric_network | Used by generators and solar panels. |
defines.entity_status.networks_connected | Used by power switches. |
defines.entity_status.networks_disconnected | Used by power switches. |
defines.entity_status.charging | Used by accumulators. |
defines.entity_status.discharging | Used by accumulators. |
defines.entity_status.fully_charged | Used by accumulators. |
defines.entity_status.out_of_logistic_network | Used by logistic containers. |
defines.entity_status.no_recipe | Used by assembling machines. |
defines.entity_status.no_ingredients | Used by furnaces. |
defines.entity_status.no_input_fluid | Used by boilers, fluid turrets and fluid energy sources: Boiler has no fluid to work with. |
defines.entity_status.no_research_in_progress | Used by labs. |
defines.entity_status.no_minable_resources | Used by mining drills. |
defines.entity_status.low_input_fluid | Used by boilers and fluid turrets: Boiler still has some fluid but is about to run out. |
defines.entity_status.fluid_ingredient_shortage | Used by crafting machines. |
defines.entity_status.full_output | Used by crafting machines, boilers, burner energy sources and reactors: Reactor/burner has full burnt result inventory, boiler has full output fluidbox. |
defines.entity_status.item_ingredient_shortage | Used by crafting machines. |
defines.entity_status.missing_required_fluid | Used by mining drills when the mining fluid is missing. |
defines.entity_status.missing_science_packs | Used by labs. |
defines.entity_status.waiting_for_source_items | Used by inserters. |
defines.entity_status.waiting_for_space_in_destination | Used by inserters and mining drills. |
defines.entity_status.preparing_rocket_for_launch | Used by the rocket silo. |
defines.entity_status.waiting_to_launch_rocket | Used by the rocket silo. |
defines.entity_status.launching_rocket | Used by the rocket silo. |
defines.entity_status.no_modules_to_transmit | Used by beacons. |
defines.entity_status.recharging_after_power_outage | Used by roboports. |
defines.entity_status.waiting_for_target_to_be_built | Used by inserters targeting entity ghosts. |
defines.entity_status.waiting_for_train | Used by inserters targeting rails. |
defines.entity_status.no_ammo | Used by ammo turrets. |
defines.entity_status.low_temperature | Used by heat energy sources. |
defines.entity_status.disabled | Used by constant combinators: Combinator is turned off via switch in GUI. |
defines.entity_status.turned_off_during_daytime | Used by lamps. |
defines.entity_status.not_connected_to_rail | Used by rail signals. |
defines.entity_status.cant_divide_segments | Used by rail signals. |
See the events page for more info on what events contain and when they get raised.
defines.events.on_tick | |
defines.events.on_gui_click | |
defines.events.on_gui_confirmed | |
defines.events.on_gui_text_changed | |
defines.events.on_gui_checked_state_changed | |
defines.events.on_entity_died | |
defines.events.on_post_entity_died | |
defines.events.on_entity_damaged | |
defines.events.on_picked_up_item | |
defines.events.on_built_entity | |
defines.events.on_sector_scanned | |
defines.events.on_player_mined_item | |
defines.events.on_pre_build | |
defines.events.on_rocket_launched | |
defines.events.on_pre_player_mined_item | |
defines.events.on_chunk_generated | |
defines.events.on_player_crafted_item | |
defines.events.on_robot_built_entity | |
defines.events.on_robot_pre_mined | |
defines.events.on_robot_mined | |
defines.events.on_research_started | |
defines.events.on_research_finished | |
defines.events.on_research_reversed | |
defines.events.on_player_rotated_entity | |
defines.events.on_marked_for_deconstruction | |
defines.events.on_cancelled_deconstruction | |
defines.events.on_trigger_created_entity | |
defines.events.on_trigger_fired_artillery | |
defines.events.on_train_changed_state | |
defines.events.on_player_created | |
defines.events.on_resource_depleted | |
defines.events.on_player_driving_changed_state | |
defines.events.on_force_created | |
defines.events.on_forces_merging | |
defines.events.on_player_cursor_stack_changed | |
defines.events.on_pre_entity_settings_pasted | |
defines.events.on_entity_settings_pasted | |
defines.events.on_player_main_inventory_changed | |
defines.events.on_player_armor_inventory_changed | |
defines.events.on_player_ammo_inventory_changed | |
defines.events.on_player_gun_inventory_changed | |
defines.events.on_player_placed_equipment | |
defines.events.on_player_removed_equipment | |
defines.events.on_pre_player_died | |
defines.events.on_player_died | |
defines.events.on_player_respawned | |
defines.events.on_player_joined_game | |
defines.events.on_player_left_game | |
defines.events.on_player_built_tile | |
defines.events.on_player_mined_tile | |
defines.events.on_robot_built_tile | |
defines.events.on_robot_mined_tile | |
defines.events.on_player_selected_area | |
defines.events.on_player_alt_selected_area | |
defines.events.on_player_changed_surface | |
defines.events.on_selected_entity_changed | |
defines.events.on_market_item_purchased | |
defines.events.on_player_dropped_item | |
defines.events.on_biter_base_built | |
defines.events.on_player_changed_force | |
defines.events.on_entity_renamed | |
defines.events.on_gui_selection_state_changed | |
defines.events.on_runtime_mod_setting_changed | |
defines.events.on_difficulty_settings_changed | |
defines.events.on_surface_created | |
defines.events.on_surface_deleted | |
defines.events.on_pre_surface_deleted | |
defines.events.on_player_mined_entity | |
defines.events.on_robot_mined_entity | |
defines.events.on_train_created | |
defines.events.on_gui_elem_changed | |
defines.events.on_player_setup_blueprint | |
defines.events.on_player_deconstructed_area | |
defines.events.on_player_configured_blueprint | |
defines.events.on_console_chat | |
defines.events.on_console_command | |
defines.events.on_player_removed | |
defines.events.on_pre_player_removed | |
defines.events.on_player_used_capsule | |
defines.events.script_raised_built | |
defines.events.script_raised_destroy | |
defines.events.script_raised_revive | |
defines.events.script_raised_set_tiles | |
defines.events.on_player_promoted | |
defines.events.on_player_demoted | |
defines.events.on_combat_robot_expired | |
defines.events.on_worker_robot_expired | |
defines.events.on_player_changed_position | |
defines.events.on_mod_item_opened | |
defines.events.on_gui_opened | |
defines.events.on_gui_closed | |
defines.events.on_gui_value_changed | |
defines.events.on_player_muted | |
defines.events.on_player_unmuted | |
defines.events.on_player_cheat_mode_enabled | |
defines.events.on_player_cheat_mode_disabled | |
defines.events.on_character_corpse_expired | |
defines.events.on_pre_ghost_deconstructed | |
defines.events.on_player_pipette | |
defines.events.on_player_display_resolution_changed | |
defines.events.on_player_display_scale_changed | |
defines.events.on_pre_player_crafted_item | |
defines.events.on_player_cancelled_crafting | |
defines.events.on_chunk_charted | |
defines.events.on_technology_effects_reset | |
defines.events.on_force_reset | |
defines.events.on_land_mine_armed | |
defines.events.on_forces_merged | |
defines.events.on_player_trash_inventory_changed | |
defines.events.on_pre_player_left_game | |
defines.events.on_pre_surface_cleared | |
defines.events.on_surface_cleared | |
defines.events.on_chunk_deleted | |
defines.events.on_pre_chunk_deleted | |
defines.events.on_train_schedule_changed | |
defines.events.on_player_banned | |
defines.events.on_player_kicked | |
defines.events.on_player_unbanned | |
defines.events.on_rocket_launch_ordered | |
defines.events.on_script_path_request_finished | |
defines.events.on_ai_command_completed | |
defines.events.on_marked_for_upgrade | |
defines.events.on_cancelled_upgrade | |
defines.events.on_player_toggled_map_editor | |
defines.events.on_entity_cloned | |
defines.events.on_area_cloned | |
defines.events.on_brush_cloned | |
defines.events.on_game_created_from_scenario | |
defines.events.on_surface_imported | |
defines.events.on_surface_renamed | |
defines.events.on_player_toggled_alt_mode | |
defines.events.on_player_repaired_entity | |
defines.events.on_player_fast_transferred | |
defines.events.on_pre_robot_exploded_cliff | |
defines.events.on_robot_exploded_cliff | |
defines.events.on_entity_spawned | |
defines.events.on_cutscene_waypoint_reached | |
defines.events.on_unit_group_created | |
defines.events.on_unit_added_to_group | |
defines.events.on_unit_removed_from_group | |
defines.events.on_unit_group_finished_gathering | |
defines.events.on_build_base_arrived | |
defines.events.on_chart_tag_added | |
defines.events.on_chart_tag_modified | |
defines.events.on_chart_tag_removed | |
defines.events.on_lua_shortcut | |
defines.events.on_gui_location_changed | |
defines.events.on_gui_selected_tab_changed | |
defines.events.on_gui_switch_state_changed | |
defines.events.on_force_cease_fire_changed | |
defines.events.on_force_friends_changed | |
defines.events.on_string_translated | |
defines.events.on_script_trigger_effect | |
defines.events.on_player_set_quick_bar_slot | |
defines.events.on_pre_player_toggled_map_editor | |
defines.events.on_pre_script_inventory_resized | |
defines.events.on_script_inventory_resized | |
defines.events.on_entity_destroyed | |
defines.events.on_player_clicked_gps_tag | |
defines.events.on_player_flushed_fluid | |
defines.events.on_permission_group_edited | |
defines.events.on_pre_permission_string_imported | |
defines.events.on_permission_string_imported | |
defines.events.on_pre_permission_group_deleted | |
defines.events.on_permission_group_deleted | |
defines.events.on_permission_group_added | |
defines.events.on_cutscene_cancelled | |
defines.events.on_player_configured_spider_remote | |
defines.events.on_player_used_spider_remote | |
defines.events.on_spider_command_completed | |
defines.events.on_entity_logistic_slot_changed | |
defines.events.on_equipment_inserted | |
defines.events.on_equipment_removed |
defines.flow_precision_index.five_seconds | |
defines.flow_precision_index.one_minute | |
defines.flow_precision_index.ten_minutes | |
defines.flow_precision_index.one_hour | |
defines.flow_precision_index.ten_hours | |
defines.flow_precision_index.fifty_hours | |
defines.flow_precision_index.two_hundred_fifty_hours | |
defines.flow_precision_index.one_thousand_hours |
defines.group_state.gathering | |
defines.group_state.moving | |
defines.group_state.attacking_distraction | |
defines.group_state.attacking_target | |
defines.group_state.finished | |
defines.group_state.pathfinding | |
defines.group_state.wander_in_group |
defines.gui_type.none | |
defines.gui_type.entity | |
defines.gui_type.research | |
defines.gui_type.controller | |
defines.gui_type.production | |
defines.gui_type.item | |
defines.gui_type.bonus | |
defines.gui_type.trains | |
defines.gui_type.achievement | |
defines.gui_type.blueprint_library | |
defines.gui_type.equipment | |
defines.gui_type.logistic | |
defines.gui_type.other_player | |
defines.gui_type.permissions | |
defines.gui_type.tutorials | |
defines.gui_type.custom | |
defines.gui_type.server_management | |
defines.gui_type.player_management | |
defines.gui_type.tile |
defines.input_action.activate_copy | |
defines.input_action.activate_cut | |
defines.input_action.activate_paste | |
defines.input_action.add_permission_group | |
defines.input_action.add_train_station | |
defines.input_action.admin_action | |
defines.input_action.alt_select_area | |
defines.input_action.alt_select_blueprint_entities | |
defines.input_action.alternative_copy | |
defines.input_action.begin_mining | |
defines.input_action.begin_mining_terrain | |
defines.input_action.build | |
defines.input_action.build_rail | |
defines.input_action.build_terrain | |
defines.input_action.cancel_craft | |
defines.input_action.cancel_deconstruct | |
defines.input_action.cancel_new_blueprint | |
defines.input_action.cancel_research | |
defines.input_action.cancel_upgrade | |
defines.input_action.change_active_character_tab | |
defines.input_action.change_active_item_group_for_crafting | |
defines.input_action.change_active_item_group_for_filters | |
defines.input_action.change_active_quick_bar | |
defines.input_action.change_arithmetic_combinator_parameters | |
defines.input_action.change_decider_combinator_parameters | |
defines.input_action.change_entity_label | |
defines.input_action.change_item_description | |
defines.input_action.change_item_label | |
defines.input_action.change_multiplayer_config | |
defines.input_action.change_picking_state | |
defines.input_action.change_programmable_speaker_alert_parameters | |
defines.input_action.change_programmable_speaker_circuit_parameters | |
defines.input_action.change_programmable_speaker_parameters | |
defines.input_action.change_riding_state | |
defines.input_action.change_shooting_state | |
defines.input_action.change_train_stop_station | |
defines.input_action.change_train_wait_condition | |
defines.input_action.change_train_wait_condition_data | |
defines.input_action.clear_cursor | |
defines.input_action.connect_rolling_stock | |
defines.input_action.copy | |
defines.input_action.copy_entity_settings | |
defines.input_action.copy_opened_blueprint | |
defines.input_action.copy_opened_item | |
defines.input_action.craft | |
defines.input_action.cursor_split | |
defines.input_action.cursor_transfer | |
defines.input_action.custom_input | |
defines.input_action.cycle_blueprint_book_backwards | |
defines.input_action.cycle_blueprint_book_forwards | |
defines.input_action.deconstruct | |
defines.input_action.delete_blueprint_library | |
defines.input_action.delete_blueprint_record | |
defines.input_action.delete_custom_tag | |
defines.input_action.delete_permission_group | |
defines.input_action.destroy_item | |
defines.input_action.destroy_opened_item | |
defines.input_action.disconnect_rolling_stock | |
defines.input_action.drag_train_schedule | |
defines.input_action.drag_train_wait_condition | |
defines.input_action.drop_blueprint_record | |
defines.input_action.drop_item | |
defines.input_action.edit_blueprint_tool_preview | |
defines.input_action.edit_custom_tag | |
defines.input_action.edit_permission_group | |
defines.input_action.export_blueprint | |
defines.input_action.fast_entity_split | |
defines.input_action.fast_entity_transfer | |
defines.input_action.flush_opened_entity_fluid | |
defines.input_action.flush_opened_entity_specific_fluid | |
defines.input_action.go_to_train_station | |
defines.input_action.grab_blueprint_record | |
defines.input_action.gui_checked_state_changed | |
defines.input_action.gui_click | |
defines.input_action.gui_confirmed | |
defines.input_action.gui_elem_changed | |
defines.input_action.gui_location_changed | |
defines.input_action.gui_selected_tab_changed | |
defines.input_action.gui_selection_state_changed | |
defines.input_action.gui_switch_state_changed | |
defines.input_action.gui_text_changed | |
defines.input_action.gui_value_changed | |
defines.input_action.import_blueprint | |
defines.input_action.import_blueprint_string | |
defines.input_action.import_blueprints_filtered | |
defines.input_action.import_permissions_string | |
defines.input_action.inventory_split | |
defines.input_action.inventory_transfer | |
defines.input_action.launch_rocket | |
defines.input_action.lua_shortcut | |
defines.input_action.map_editor_action | |
defines.input_action.market_offer | |
defines.input_action.mod_settings_changed | |
defines.input_action.open_achievements_gui | |
defines.input_action.open_blueprint_library_gui | |
defines.input_action.open_blueprint_record | |
defines.input_action.open_bonus_gui | |
defines.input_action.open_character_gui | |
defines.input_action.open_current_vehicle_gui | |
defines.input_action.open_equipment | |
defines.input_action.open_gui | |
defines.input_action.open_item | |
defines.input_action.open_logistic_gui | |
defines.input_action.open_mod_item | |
defines.input_action.open_parent_of_opened_item | |
defines.input_action.open_production_gui | |
defines.input_action.open_technology_gui | |
defines.input_action.open_tips_and_tricks_gui | |
defines.input_action.open_train_gui | |
defines.input_action.open_train_station_gui | |
defines.input_action.open_trains_gui | |
defines.input_action.paste_entity_settings | |
defines.input_action.place_equipment | |
defines.input_action.quick_bar_pick_slot | |
defines.input_action.quick_bar_set_selected_page | |
defines.input_action.quick_bar_set_slot | |
defines.input_action.reassign_blueprint | |
defines.input_action.remove_cables | |
defines.input_action.remove_train_station | |
defines.input_action.reset_assembling_machine | |
defines.input_action.reset_item | |
defines.input_action.rotate_entity | |
defines.input_action.select_area | |
defines.input_action.select_blueprint_entities | |
defines.input_action.select_entity_slot | |
defines.input_action.select_item | |
defines.input_action.select_mapper_slot | |
defines.input_action.select_next_valid_gun | |
defines.input_action.select_tile_slot | |
defines.input_action.send_spidertron | |
defines.input_action.set_auto_launch_rocket | |
defines.input_action.set_autosort_inventory | |
defines.input_action.set_behavior_mode | |
defines.input_action.set_car_weapons_control | |
defines.input_action.set_circuit_condition | |
defines.input_action.set_circuit_mode_of_operation | |
defines.input_action.set_controller_logistic_trash_filter_item | |
defines.input_action.set_deconstruction_item_tile_selection_mode | |
defines.input_action.set_deconstruction_item_trees_and_rocks_only | |
defines.input_action.set_entity_color | |
defines.input_action.set_entity_energy_property | |
defines.input_action.set_entity_logistic_trash_filter_item | |
defines.input_action.set_filter | |
defines.input_action.set_flat_controller_gui | |
defines.input_action.set_heat_interface_mode | |
defines.input_action.set_heat_interface_temperature | |
defines.input_action.set_infinity_container_filter_item | |
defines.input_action.set_infinity_container_remove_unfiltered_items | |
defines.input_action.set_infinity_pipe_filter | |
defines.input_action.set_inserter_max_stack_size | |
defines.input_action.set_inventory_bar | |
defines.input_action.set_linked_container_link_i_d | |
defines.input_action.set_logistic_filter_item | |
defines.input_action.set_logistic_filter_signal | |
defines.input_action.set_player_color | |
defines.input_action.set_recipe_notifications | |
defines.input_action.set_request_from_buffers | |
defines.input_action.set_research_finished_stops_game | |
defines.input_action.set_signal | |
defines.input_action.set_splitter_priority | |
defines.input_action.set_train_stopped | |
defines.input_action.set_trains_limit | |
defines.input_action.set_vehicle_automatic_targeting_parameters | |
defines.input_action.setup_assembling_machine | |
defines.input_action.setup_blueprint | |
defines.input_action.setup_single_blueprint_record | |
defines.input_action.smart_pipette | |
defines.input_action.spawn_item | |
defines.input_action.stack_split | |
defines.input_action.stack_transfer | |
defines.input_action.start_repair | |
defines.input_action.start_research | |
defines.input_action.start_walking | |
defines.input_action.stop_building_by_moving | |
defines.input_action.switch_connect_to_logistic_network | |
defines.input_action.switch_constant_combinator_state | |
defines.input_action.switch_inserter_filter_mode_state | |
defines.input_action.switch_power_switch_state | |
defines.input_action.switch_to_rename_stop_gui | |
defines.input_action.take_equipment | |
defines.input_action.toggle_deconstruction_item_entity_filter_mode | |
defines.input_action.toggle_deconstruction_item_tile_filter_mode | |
defines.input_action.toggle_driving | |
defines.input_action.toggle_enable_vehicle_logistics_while_moving | |
defines.input_action.toggle_entity_logistic_requests | |
defines.input_action.toggle_equipment_movement_bonus | |
defines.input_action.toggle_map_editor | |
defines.input_action.toggle_personal_logistic_requests | |
defines.input_action.toggle_personal_roboport | |
defines.input_action.toggle_show_entity_info | |
defines.input_action.translate_string | |
defines.input_action.undo | |
defines.input_action.upgrade | |
defines.input_action.upgrade_opened_blueprint_by_item | |
defines.input_action.upgrade_opened_blueprint_by_record | |
defines.input_action.use_artillery_remote | |
defines.input_action.use_item | |
defines.input_action.wire_dragging | |
defines.input_action.write_to_console |
defines.inventory.fuel | |
defines.inventory.burnt_result | |
defines.inventory.chest | |
defines.inventory.furnace_source | |
defines.inventory.furnace_result | |
defines.inventory.furnace_modules | |
defines.inventory.character_main | |
defines.inventory.character_guns | |
defines.inventory.character_ammo | |
defines.inventory.character_armor | |
defines.inventory.character_vehicle | |
defines.inventory.character_trash | |
defines.inventory.god_main | |
defines.inventory.editor_main | |
defines.inventory.editor_guns | |
defines.inventory.editor_ammo | |
defines.inventory.editor_armor | |
defines.inventory.roboport_robot | |
defines.inventory.roboport_material | |
defines.inventory.robot_cargo | |
defines.inventory.robot_repair | |
defines.inventory.assembling_machine_input | |
defines.inventory.assembling_machine_output | |
defines.inventory.assembling_machine_modules | |
defines.inventory.lab_input | |
defines.inventory.lab_modules | |
defines.inventory.mining_drill_modules | |
defines.inventory.item_main | |
defines.inventory.rocket_silo_rocket | |
defines.inventory.rocket_silo_result | |
defines.inventory.rocket | |
defines.inventory.car_trunk | |
defines.inventory.car_ammo | |
defines.inventory.cargo_wagon | |
defines.inventory.turret_ammo | |
defines.inventory.beacon_modules | |
defines.inventory.character_corpse | |
defines.inventory.artillery_turret_ammo | |
defines.inventory.artillery_wagon_ammo | |
defines.inventory.spider_trunk | |
defines.inventory.spider_ammo | |
defines.inventory.spider_trash |
defines.logistic_member_index.logistic_container | |
defines.logistic_member_index.vehicle_storage | |
defines.logistic_member_index.character_requester | |
defines.logistic_member_index.character_storage | |
defines.logistic_member_index.character_provider | |
defines.logistic_member_index.generic_on_off_behavior |
defines.logistic_mode.none | |
defines.logistic_mode.active_provider | |
defines.logistic_mode.storage | |
defines.logistic_mode.requester | |
defines.logistic_mode.passive_provider | |
defines.logistic_mode.buffer |
defines.mouse_button_type.none | |
defines.mouse_button_type.left | |
defines.mouse_button_type.right | |
defines.mouse_button_type.middle |
A dictionary mapping all top-level prototypes by name to a list of their associated subtypes. This
list is organized as a lookup table, meaning it maps the sub-prototype names to 0
. As an example,
defines.prototypes['entity']
looks like this: {furnace=0, inserter=0, container=0, ...}
.
defines.rail_connection_direction.left | |
defines.rail_connection_direction.straight | |
defines.rail_connection_direction.right | |
defines.rail_connection_direction.none |
defines.rail_direction.front | |
defines.rail_direction.back |
defines.relative_gui_position.top | |
defines.relative_gui_position.bottom | |
defines.relative_gui_position.left | |
defines.relative_gui_position.right |
defines.relative_gui_type.accumulator_gui | |
defines.relative_gui_type.achievement_gui | |
defines.relative_gui_type.additional_entity_info_gui | |
defines.relative_gui_type.admin_gui | |
defines.relative_gui_type.arithmetic_combinator_gui | |
defines.relative_gui_type.armor_gui | |
defines.relative_gui_type.assembling_machine_gui | |
defines.relative_gui_type.assembling_machine_select_recipe_gui | |
defines.relative_gui_type.beacon_gui | |
defines.relative_gui_type.blueprint_book_gui | |
defines.relative_gui_type.blueprint_library_gui | |
defines.relative_gui_type.blueprint_setup_gui | |
defines.relative_gui_type.bonus_gui | |
defines.relative_gui_type.burner_equipment_gui | |
defines.relative_gui_type.car_gui | |
defines.relative_gui_type.constant_combinator_gui | |
defines.relative_gui_type.container_gui | |
defines.relative_gui_type.controller_gui | |
defines.relative_gui_type.decider_combinator_gui | |
defines.relative_gui_type.deconstruction_item_gui | |
defines.relative_gui_type.electric_energy_interface_gui | |
defines.relative_gui_type.electric_network_gui | |
defines.relative_gui_type.entity_variations_gui | |
defines.relative_gui_type.entity_with_energy_source_gui | |
defines.relative_gui_type.equipment_grid_gui | |
defines.relative_gui_type.furnace_gui | |
defines.relative_gui_type.generic_on_off_entity_gui | |
defines.relative_gui_type.heat_interface_gui | |
defines.relative_gui_type.infinity_pipe_gui | |
defines.relative_gui_type.inserter_gui | |
defines.relative_gui_type.item_with_inventory_gui | |
defines.relative_gui_type.lab_gui | |
defines.relative_gui_type.lamp_gui | |
defines.relative_gui_type.linked_container_gui | |
defines.relative_gui_type.loader_gui | |
defines.relative_gui_type.logistic_gui | |
defines.relative_gui_type.market_gui | |
defines.relative_gui_type.mining_drill_gui | |
defines.relative_gui_type.other_player_gui | |
defines.relative_gui_type.permissions_gui | |
defines.relative_gui_type.pipe_gui | |
defines.relative_gui_type.power_switch_gui | |
defines.relative_gui_type.production_gui | |
defines.relative_gui_type.programmable_speaker_gui | |
defines.relative_gui_type.rail_chain_signal_gui | |
defines.relative_gui_type.rail_signal_gui | |
defines.relative_gui_type.reactor_gui | |
defines.relative_gui_type.rename_stop_gui | |
defines.relative_gui_type.resource_entity_gui | |
defines.relative_gui_type.roboport_gui | |
defines.relative_gui_type.rocket_silo_gui | |
defines.relative_gui_type.server_config_gui | |
defines.relative_gui_type.spider_vehicle_gui | |
defines.relative_gui_type.splitter_gui | |
defines.relative_gui_type.standalone_character_gui | |
defines.relative_gui_type.storage_tank_gui | |
defines.relative_gui_type.tile_variations_gui | |
defines.relative_gui_type.train_gui | |
defines.relative_gui_type.train_stop_gui | |
defines.relative_gui_type.trains_gui | |
defines.relative_gui_type.transport_belt_gui | |
defines.relative_gui_type.upgrade_item_gui | |
defines.relative_gui_type.wall_gui |
defines.render_mode.game | |
defines.render_mode.chart | |
defines.render_mode.chart_zoomed_in |
defines.rich_text_setting.enabled | |
defines.rich_text_setting.disabled | |
defines.rich_text_setting.highlight |
defines.riding.acceleration.nothing | |
defines.riding.acceleration.accelerating | |
defines.riding.acceleration.braking | |
defines.riding.acceleration.reversing |
defines.riding.direction.left | |
defines.riding.direction.straight | |
defines.riding.direction.right |
defines.shooting.not_shooting | |
defines.shooting.shooting_enemies | |
defines.shooting.shooting_selected |
State of an ordinary rail signal.
defines.signal_state.open | Green. |
defines.signal_state.closed | Red. |
defines.signal_state.reserved | Orange. |
defines.signal_state.reserved_by_circuit_network | Red - From circuit network. |
defines.train_state.on_the_path | Normal state -- following the path. |
defines.train_state.path_lost | Had path and lost it -- must stop. |
defines.train_state.no_schedule | Doesn't have anywhere to go. |
defines.train_state.no_path | Has no path and is stopped. |
defines.train_state.arrive_signal | Braking before a rail signal. |
defines.train_state.wait_signal | Waiting at a signal. |
defines.train_state.arrive_station | Braking before a station. |
defines.train_state.wait_station | Waiting at a station. |
defines.train_state.manual_control_stop | Switched to manual control and has to stop. |
defines.train_state.manual_control | Can move if user explicitly sits in and rides the train. |
defines.train_state.destination_full | Same as no_path but all candidate train stops are full |
defines.transport_line.left_line | |
defines.transport_line.right_line | |
defines.transport_line.left_underground_line | |
defines.transport_line.right_underground_line | |
defines.transport_line.secondary_left_line | |
defines.transport_line.secondary_right_line | |
defines.transport_line.left_split_line | |
defines.transport_line.right_split_line | |
defines.transport_line.secondary_left_split_line | |
defines.transport_line.secondary_right_split_line |
defines.wire_connection_id.electric_pole | |
defines.wire_connection_id.power_switch_left | |
defines.wire_connection_id.power_switch_right |
defines.wire_type.red | |
defines.wire_type.green | |
defines.wire_type.copper |