Add organic sea grottos

- Plan winding sea-level passages into tall coastal rock, one per site cell, owned by the mouth's window
- Keep walks out of rivers, ponds, own arms, and ground other windows' arms could reach
- Shape them with a warped path and a 3D radial function keyed on plan data and CellHash, with caverns, hanging rock, shelves and skylights
- Rasterize own-chunk into mantle WET_SOURCE, DRY_AIR and SEAL_GUARD; guards only at or below sea level
- Persist grottos in window plans, plugging cut-off wet cells at plan time
- Add IrisGrottos to settings, fingerprint, schema and pack validation; recapture pins
- Add /iris find river grotto, Studio map drawing, recorded mouths and an export limit
- Add grottoProbe and arm lines in the tidal rivers digest
This commit is contained in:
Brian Fopiano committed 2026-11-03 23:52:18 -05:00
1 parent 5df42fc49e
commit 343da05e3d
42 files changed
+3791 -38

No files matched your search

+21
View File
@@ -421,6 +421,27 @@ tasks.register('tidalReachProbe', JavaExec) {
}
}
tasks.register('grottoProbe', JavaExec) {
group = 'verification'
description = 'Plans real pack grottos, generates their chunks, checks containment and shape, and renders them.'
mainClass = 'art.arcane.iris.probe.GrottoProbe'
classpath = sourceSets.main.runtimeClasspath
jvmArgs('--add-modules', 'jdk.incubator.vector', '-Djava.awt.headless=true')
minHeapSize = '2g'
maxHeapSize = '8g'
dependsOn(':core:compileJava')
doFirst {
Provider<String> windows = providers.gradleProperty('probeWindows')
Provider<String> mode = providers.gradleProperty('probeMode').orElse('plan')
if (!probePack.isPresent() || !probeDimension.isPresent() || !windows.isPresent() || !probeOutput.isPresent()) {
throw new GradleException('grottoProbe requires probePack, probeDimension, probeWindows=x0..x1,z0..z1 and probeOutput')
}
List<String> extra = (providers.gradleProperty('probeExtra').orElse('').get() as String).tokenize(',')
args([mode.get(), probePack.get(), probeDimension.get(), probeSeed.orElse('1337').get(), windows.get(), probeOutput.get(),
providers.gradleProperty('probeThreads').orElse('6').get()] + extra)
}
}
tasks.register('transitionProbe', JavaExec) {
group = 'verification'
description = 'Exercises a bounded two-pack Studio cutover, transition routing, receipts and semantics with a vanilla-biome pack.'
File diff suppressed because it is too large. Load diff
@@ -1149,9 +1149,7 @@ public final class TidalReachProbe {
for (Map.Entry<WindowKey, WindowPlan> entry : plans.windowPlans().entrySet()) {
String key = entry.getKey().wx() + " " + entry.getKey().wz();
for (Reach reach : entry.getValue().reaches()) {
if (!tidal(reach)) {
writer.println("R " + key + " " + reach.id() + " " + reach.xs()[0] + " " + reach.zs()[0] + " " + stable(reach));
}
writer.println((tidal(reach) ? "A " : "R ") + key + " " + reach.id() + " " + reach.xs()[0] + " " + reach.zs()[0] + " " + stable(reach));
}
for (Pond pond : entry.getValue().ponds()) {
writer.println("P " + key + " " + pond.id() + " " + Arrays.toString(new long[]{pond.floorX(), pond.floorZ(), pond.level(), pond.outletReachId(), pond.kind().ordinal()}));