Structures stay incomplete on the I-screen after they look finished #20
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current behavior
Loaded settlements still list staged structures on the Info (
I) overlay and Trade Board project list as incomplete, often stuck at99%or "under construction", after the building in the world already looks finished.Church sanctuary, Sunday service, and civic-pride comfort all require
complete=trueon the chapel site. If that flag is never set, or is later cleared, those features stay off even when the church is standing.Expected behavior
complete=trueand that flag should persist.100%, not listed as an active project).bbrewing stand,gcopper bell), bed occupancy, and auto-connected stair/fence shapes should not keep a finished building incomplete.Likely causes
SettlementConstructionWork.reconcileBuildSiteWithWorldappends every missingcurrentBlueprintBlockscell onto existing sites, which reopens already-finished buildings after blueprint edits.isRequiredBuildSiteBlock/currentBlueprintSymbolstill treat leftover foundation'0'dirt cells as required, so buried fill that was never swapped to dirt keeps the site incomplete.isComplete/isBuildSiteCompleteForDisplaywalk stored cells rather than the current required plan, andcompleteis recomputed every reconcile instead of being sealed once the world matches.PLACEDback toPENDING(occupied beds, connected stairshape).Files
src/main/java/com/ronhelwig/livevillages/sim/SettlementConstructionWork.javasrc/main/java/com/ronhelwig/livevillages/sim/SettlementConstruction.javasrc/main/java/com/ronhelwig/livevillages/network/LiveVillagesNetworking.javasrc/main/java/com/ronhelwig/livevillages/menu/TradeBoardLogic.javaNotes
Sanctuary (
SettlementChurchSanctuary) only applies to completedCLERIC_SHRINEsites, so this also blocks church safety.Migrated from https://github.com/rhelwig/LiveVillages/issues/20
Original author:
rhelwigOriginal labels: none
Implemented on the working tree:
b,g).complete=trueand do not reopen when a later blueprint edit adds cells. Repair still reopens if a required block is actually missing.shape, fence connections, and bed occupancy so those no longer flipPLACEDback toPENDING.SettlementConstruction.isBuildSiteCompletecheck.Church sanctuary, Sunday service, and civic-pride comfort can now see a completed chapel as complete.
Migrated comment by
rhelwigfrom https://github.com/rhelwig/LiveVillages/issues/20#issuecomment-5333993319