inventory.fuel | |
inventory.chest | |
inventory.furnace_source | |
inventory.furnace_result | |
inventory.furnace_modules | |
inventory.player_main | |
inventory.player_quickbar | |
inventory.player_guns | |
inventory.player_ammo | |
inventory.player_armor | |
inventory.player_tools | |
inventory.player_vehicle | |
inventory.player_trash | |
inventory.assembling_machine_input | |
inventory.assembling_machine_output | |
inventory.assembling_machine_modules | |
inventory.lab_input | |
inventory.lab_modules | |
inventory.mining_drill_modules |
transport_line.left_line | |
transport_line.right_line | |
transport_line.left_underground_line | |
transport_line.right_underground_line | |
transport_line.secondary_left_line | |
transport_line.secondary_right_line | |
transport_line.left_split_line | |
transport_line.right_split_line | |
transport_line.secondary_left_split_line | |
transport_line.secondary_right_split_line |
direction.north | |
direction.northeast | |
direction.east | |
direction.southeast | |
direction.south | |
direction.southwest | |
direction.west | |
direction.northwest |
riding.acceleration.nothing | |
riding.acceleration.accelerating | |
riding.acceleration.braking | |
riding.acceleration.reversing |
riding.direction.left | |
riding.direction.straight | |
riding.direction.right |
Command given to units describing what they should do.
command.attack | Attack another entity |
command.go_to_location | Go to a specific position |
command.compound | Chain commands together, see compoundcommandtype. |
command.group | Do what your group wants you to do. |
command.attack_area | Go to a place and attack what you see. |
command.wander | Chill. |
command.build_base | Go to a position and build a spawner there. |
distraction.none | Perform command even if someone attacks the unit. |
distraction.by_enemy | Attack closer enemy entities with force. |
distraction.by_anything | Attack closer enemy entities, including entities "built" by player (belts, inserters, chests). |
distraction.by_damage | Attacks when attacked. |
How are commands compounded in a compounded compound command commanding compound composts.
compoundcommandtype.logical_and | Stop on first command returning failure |
compoundcommandtype.logical_or | Stop on first command returning success |
compoundcommandtype.return_last | Perform all the commands and return lasts result |
difficulty.easy | |
difficulty.normal | |
difficulty.hard |
events.on_tick | |
events.on_gui_click | |
events.on_entity_died | |
events.on_picked_up_item | |
events.on_built_entity | |
events.on_sector_scanned | |
events.on_player_mined_item | |
events.on_put_item | |
events.on_rocket_launched | |
events.on_preplayer_mined_item | |
events.on_chunk_generated | |
events.on_player_crafted_item | |
events.on_robot_built_entity | |
events.on_robot_pre_mined | |
events.on_robot_mined | |
events.on_research_started | |
events.on_research_finished | |
events.on_player_rotated_entity | |
events.on_marked_for_deconstruction | |
events.on_canceled_deconstruction | |
events.on_trigger_created_entity | |
events.on_train_changed_state | |
events.on_player_created | |
events.on_resource_depleted | |
events.on_player_driving_changed_state | |
events.on_force_created | |
events.on_forces_merging |
controllers.ghost | Can't interact with the world, can only observe. Used in the multiplayer waiting-to-respawn screen. |
controllers.character | The controller controls a character. This is the default controller in freeplay. |
controllers.god | The controller isn't tied to a character. This is the default controller in sandbox. |
groupstate.gathering | |
groupstate.moving | |
groupstate.attacking_distraction | |
groupstate.attacking_target | |
groupstate.finished |
circuitconnector.red | |
circuitconnector.green | |
circuitconnector.logistic |
circuitconnectorid.electric_pole | |
circuitconnectorid.inserter | |
circuitconnectorid.container | |
circuitconnectorid.lamp | |
circuitconnectorid.combinator_input | |
circuitconnectorid.combinator_output |
circuitconditionindex.inserter_circuit | |
circuitconditionindex.inserter_logistic | |
circuitconditionindex.lamp | |
circuitconditionindex.arithmetic_combinator | |
circuitconditionindex.decider_combinator | |
circuitconditionindex.constant_combinator | |
circuitconditionindex.offshore_pump | |
circuitconditionindex.pump |
trainstate.on_the_path | Normal state -- following the path. |
trainstate.path_lost | Had path and lost it -- must stop. |
trainstate.no_schedule | Doesn't have anywhere to go. |
trainstate.no_path | Has no path and is stopped. |
trainstate.arrive_signal | Braking before a rail signal. |
trainstate.wait_signal | Waiting at a signal. |
trainstate.arrive_station | Braking before a station. |
trainstate.wait_station | Waiting at a station. |
trainstate.manual_control_stop | Switched to manual control and has to stop. |
trainstate.manual_control | Can move if user explicitly sits in and rides the train. |
trainstate.stop_for_auto_control | Train was switched to auto control but it is moving and needs to be stopped. |
State of an ordinary rail signal.
signal_state.open | Green |
signal_state.closed | Red |
signal_state.reserved | Orange |
State of a chain signal.
chain_signal_state.none | Invalid |
chain_signal_state.all_open | Green |
chain_signal_state.partially_open | Blue |
chain_signal_state.none_open | Red |
rail_direction.front | |
rail_direction.back |
rail_connection_direction.left | |
rail_connection_direction.straight | |
rail_connection_direction.right |