Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix blueprinted constructions over stairs #1337

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

myk002
Copy link
Member

@myk002 myk002 commented Nov 12, 2024

merge prep for #1332 and #1336

Fixes: DFHack/dfhack#5012

nickthetinker and others added 4 commits November 6, 2024 08:11
related to issue #5012
Quickfort blueprints can't place bridges over stairs

The previous code is more restrictive than vanilla UI.

In-game, bridges may be placed in any supported position with a walkable, adjacent tile, including over any kind of stair. 
In-game, floor hatches, grates, and bars do not require an adjacent floor for placement.

Initially I thought these changes may be too simple to be correct, but upon further study and testing, I can find no issues. 

These changes are in keeping with the 'mission statement' from the original dev found in the top comment of the build.ua file:
"In general, we enforce the same rules as the in-game UI for allowed placement of
buildings (e.g. beds have to be inside, doors have to be adjacent to a wall,
etc.). A notable exception is that we allow constructions and machine components
to be designated regardless of whether they are reachable or currently
supported. This allows the user to designate an entire floor of an above-ground
building or an entire power system without micromanagement."
Added line to changelog related to PR DFHack#1332
- `gui/quickfort`: fix build mode evluation rules to allow placement of various furniture and constructions on tiles with stair shapes or without orthagonal floor.
@myk002 myk002 merged commit ff8f711 into DFHack:master Nov 12, 2024
10 checks passed
@myk002 myk002 deleted the myk_quickfort_nickthetinker branch November 12, 2024 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Quickfort blueprints can't place bridges over stairs
2 participants