Repository navigation
feat(refine): only a thicket is heavily obscured - #3
Merged
Merged
Conversation
GentBajko
marked this pull request as draft
November 15, 2026 00:12
Member
Author
|
Converted to draft: Arda's feature process needs the maintainer's approval of this change's plan before code, and that approval has not been given. The code here was written ahead of it. The maintainer can approve the plan as built (review this PR and mark it ready) or ask for the plan to be redone first. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For DiceMaster. Its ruling of 2026-11-14 keeps the SRD rule that a heavily obscured square blocks sight, and asks Arda to mark only thickets
heavy. Until now Arda made a dense wood almost whollyheavy: four large trunks within 2.4 squares blocked sight, so a creature inside saw about 2 % of the squares within 60 ft.The rule (logic/09 §rules-sidecar)
blocks_sight, sceneobscured: heavy): a dry square with 4 or more pieces of woody understory anchored within 2 squares of its centre. Woody understory means small or stunted trees and woody shrubs (bush, juniper, krummholz, sagebrush); ferns don't count.lightly_obscured, sceneobscured: light): a dry square with 2 or more large trunks within 2.4 squares, however closed the canopy. A reed bed counts as well.output::sightincrates/arda-refine/src/output.rs). The scatter's hard-core spacing (grid 1.6–1.8 squares) makes 4 within 2 squares a local clump. Thresholds were tuned on 14 cells of the kit world.Before and after (MICRO-42 kit world, scene at 64 px per square)
Visibility is measured from the cell's centre: the share of squares within 60 ft whose line crosses no
heavysquare.tactical-cell)Contract kit
tactical-cell,tactical-scene-dayandtactical-scene-nightgoldens, and thetactical-windowbody hash.Evidence
output::tests):cargo fmt --checkandcargo clippy --workspace --all-targets -D warningspass.cargo test --workspace --all-features --releasepasses (contract kit,world_api, refine, blocks and scene suites included).Docs
logic/09(both rows and the thicket definition),API.md(sceneobscured), thearda-refineREADME,CHANGELOG.md(Unreleased, flagged as a content change) and the ledger.Process note
The user was away, so spec and plan were written from the DiceMaster session's brief without the approval gates; this PR is the gate.
CHANGELOG.mdanddocs/capstone/changelog.mdwill need a trivial conflict resolution against #2 and the memory-ceiling PR.