Skip to content

[flash-review][major] 灵泉湿地水位条件使岛/岸/地被掩码恒假 (worldgen/scripts/terrain_gen/profiles/spring_marsh.py:199) #1884

Description

@Kizunad

来源: deepseek-v4-flash + Claude Code agentic 只读扫描(自动)
文件: worldgen/scripts/terrain_gen/profiles/spring_marsh.py:199
级别: major

证据
L199-201 waterline 仅当 (basin_blend>0.25)&(height<44) 时赋 44,其余 -1,故 waterline>=0 ⟺ height<44。L205-209 shoreline/island_low/island_high 要求 waterline>=0 且 height>=waterline(+1.5/4),恒为假——岸边 mud 带、岛 moss/rooted_dirt 分型、岛 mangrove biome 全部失效;L280-287 的 shoreline_band 与 island_core 同因恒假,mangrove(变种1)/spirit_willow(2) flora 永不生成;L306 on_dry_island=(island_low|island_high)&(waterline<0) 恒假,ground_cover_density/id 恒 0。产出的灵泉湿地(生产 blueprint terrain-plan.json 引用)失去全部地标树与地被。正确写法见伪灵泉 pseudo_vein_oasis.py L158-159:先按半径统一赋水位,再按 height 清除。

对抗验证: 确凿:waterline 仅在 basin_blend>0.25 且 height<44 时为44,否则为-1;凡 waterline>=0 时 height<44,故 height>=waterline(+1.5/4) 不可能。shoreline/island_low/island_high 及 island_core/on_dry_island 恒假,岸泥带、岛生地、红树林与地被全部丢失。

重构清理时一并核实;修复或验伪后关闭。

Metadata

Metadata

Assignees

No one assigned

    Labels

    flash-reviewdeepseek-v4-flash 全仓只读扫描发现的问题worldgenworldgen cluster (skeleton candidate)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions