Factory buildings are placed and dismantled with the Build Gun.
In survival mode, factory buildings cannot be destroyed by hand and there is no method to directly obtain their blocks, so the Build Gun must be used.
Creative mode players can directly to place and destroy factory buildings without need for the Build Gun. These blocks can be found under the Factory Components creative tab.
Build Menu
While holding the Build Gun, press B to open the build menu. Click on a building's icon to select it to be built with the Build Gun.
There are currently 4 categories of buildings:
- Production: buildings which directly produce or transform resources
- Power: buildings which produce or carry power
- Logistics: buildings which move, sort, or perform other logical functions
- Organization: buildings which organize resources and keep your factories tidy
While hovering over an icon of a building, a preview of it will appear in the right panel, alongside its name and tier. If the required tier is not yet unlocked, the building will fail to be selected and provide an error message.
Building Costs
Each factory building has a cost attached to it, which can be seen above the hotbar while holding the Build Gun. This shows what, and how many of each item will be taken when placing the building. These costs can be disabled in the config. Creative mode players must meet the minimum cost for each required item if building costs are enabled. However, creative mode players will not have items taken from them when placing a building, even when building costs are enabled.
The cost of each building is refunded when dismantling it (see section below). This can also be configured as a refund percentage in the config. Creative mode players will not have items refunded to them.
Each required item will show how many of that item you currently have in your inventory (left number), and how many are required (right number). If the required amount is not met, the text will show as red for that item.
Placement
While looking at a valid surface with the Build Gun in hand, the selected building will be rendered as a translucent preview. This preview can be either blue or red, depending on whether the placement for the selected building is valid.
Buildings require a fully clear space for their entire footprint in order for a placement to be valid. The placement is invalidated if a block or entity is blocking that space.
Multiblocks require the max extent of their bounds to be clear, even if it appears that nothing is visually intersecting with the previewed model. For example, Miners have a large amount of empty space above their port side. However, a stray block placed within that area will still invalidate the placement.
Special Conditions
Some buildings have unique conditions for valid placements which may not be accurately depicted by the placement preview. For example, Miners are required to be placed near a Resource Node. However, in an open area, the preview may still display as a valid blue color if it otherwise clears all conditions for a valid placement.
Demolition
While holding the Build Gun, left click on a factory building to mark it to be demolished. A red box will surround the building and the HUD will show how many buildings you have marked. Up to 50 buildings can be marked for demolition at a time. The cumulative items to be refunded for all marked buildings will be shown, based on the configured refund percentage.
- Note: creative mode players cannot directly break buildings while holding the Build Gun.
To demolish all marked buildings, hold left click while looking away from any other blocks. A bar will start to fill and a sound will play during the in-progress demolition. Once this bar is filled, the demolition of all marked buildings is finalized, and cannot be undone. If left click is released before the bar fills, this action will be cancelled.