Skip to content

Heat pipes#328

Merged
ParadoxiKat merged 3 commits into
Factorio-Access:f2.0-devfrom
ParadoxiKat:HeatPipes
Jun 20, 2025
Merged

Heat pipes#328
ParadoxiKat merged 3 commits into
Factorio-Access:f2.0-devfrom
ParadoxiKat:HeatPipes

Conversation

@ParadoxiKat

Copy link
Copy Markdown
Collaborator
  • Refactor shape logic from fluids to work for heat pipes.
  • Add heat network logic.
  • Report heat pipe shape and heat connection points on entities. Accounts for entity rotation.
  • Add new localisation keys. Update FaUtils.direction_lookup to handle 16 directions for 2.0.
  • Update contracting.md to reflect completed projects and current hours.

- Moved pipe shape table and logic from fluids.lua to new network-shape.lua
- Updated fluids.lua to delegate pipe shape resolution to network-shape module
- Replaced all uses of PIPE_SHAPE with NetworkShape.SHAPE (notably in fa-info)
- Verified functionality and maintained parity with previous behavior
…at connection announcements

- Add `heat.lua` with core logic for heat network detection, includes heat pipe shape, connected neighbor detection etc.
- Update `fa-info` to use new heat functions.
- Report and localize heatpipe shapes in entity info.
- Split heat port rendering from neighbor announcement logic.
- Update to speak heat ports and neighbor connections, with new localization strings.
- Announce heat connections (including neighbors) for both pipes and non-pipes. (Excludes other pipes if focused on a pipe due to shape detection.)
- Adjust `FaUtils.direction_lookup` to support all 16 Factorio directions.
@ParadoxiKat ParadoxiKat merged commit 260d9c4 into Factorio-Access:f2.0-dev Jun 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant