Skip to content

Commit ff8f711

Browse files
authored
Merge pull request #1337 from myk002/myk_quickfort_nickthetinker
Fix blueprinted constructions over stairs
2 parents 5de599e + 6530ba7 commit ff8f711

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Template for new versions:
3838
- `makeown`: halt any hostile jobs the unit may be engaged in, like kidnapping
3939
- `fix/loyaltycascade`: allow the fix to work on non-dwarven citizens
4040
- `control-panel`: fix setting numeric preferences from the commandline
41+
- `gui/quickfort`: fix build mode evluation rules to allow placement of various furniture and constructions on tiles with stair shapes or without orthagonal floor.
4142

4243
## Misc Improvements
4344
- `control-panel`: Add realistic-melting tweak to control-panel registry

internal/quickfort/build.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ local function is_valid_tile_bridge(pos, db_entry, b)
139139
(dir == T_direction.Right and pos.x == b.pos.x+b.width-1) then
140140
return is_valid_tile_has_space(pos)
141141
end
142-
return is_valid_tile_has_space_or_is_ramp(pos)
142+
return is_valid_tile_machine(pos)
143143
end
144144

145145
-- although vanilla allows constructions to be built on top of constructed
@@ -213,7 +213,7 @@ local function is_tile_coverable(pos)
213213
shape ~= df.tiletype_shape.STAIR_DOWN) then
214214
return false
215215
end
216-
return is_tile_floor_adjacent(pos)
216+
return true
217217
end
218218

219219
--

0 commit comments

Comments
 (0)