Nitre Formation is the crusted state of a cave Pond. Prefab pond_cave. The rocks you see are prefab nitre_formation. Official name is Nitre Formation. They show up after acid rain fills the pond. Mine the pond with a Pickaxe. The drop is 2 + math.random(2). That is 3 or 4 Nitre.
Work is TUNING.ACIDRAIN_BOULDER_WORK = 3. Tables that print 2-4 used the algae spawn, math.random(2, 4), not this mine.
Prefab pond_cave. 2 + math.random(2) = 3 or 4. Work 3.
Mine the pond. The crystals are FX
nitre_formation has tag FX. Scale 0.75. Click the water.
nitre_formation is a child of the pond. Bank pond_rock, build pond_nitrecrystal, scale 0.75. Tag FX. No workable. Console-spawning that prefab only places the graphic. It does not hook to a pond.
The pickaxe hits pond_cave. Action MINE. Work starts off. Acid crust turns it on. OnPondCaveMinedFinished loops for i = 1, 2 + math.random(2) and spawns Nitre at the pond. Then it sets work back to 3 and acid to 0, which peels the crust. While crusted, fishable is frozen, watersource is off, and the inspect name is Nitre Formation. Cave ponds fish Live Eel. They spawn no frogs.
Visual crystals are a separate roll: math.random(3, 4) around the pond, each playing idle1 to idle3. Same 3-4 range as the loot. Independent.
50% snaps to 100. Rain only peels at 0
ACIDRAIN_BOULDER_WORK_STARTS_PERCENT is 0.5. Revert is newpercent == 0.
acidlevel max is 100. Acid rain ticks every ACIDRAIN_DAMAGE_TIME = 1.5s and adds precipitationrate * 1.5, so about the rain rate per second. Crossing 50% sets acidinfused, snaps the meter to 100, plays idle_nitre, and spawns the crystals. Below 50% on the way up it only bubbles.
Normal rain subtracts at that same rate. Once crusted, dropping through 50% does not peel. OnAcidLevelDelta_Cave only calls SetBackToNormal_Cave when the new percent is 0. Mining writes 0 immediately. Rain immunity skips both the fill tick and the drain tick. If acid rain stops while the pond is not yet crusted, bubbling stops even if the meter is a little above 0.
Algae around a cave pond is pond_algae, math.random(2, 4) plants. Some tables put that 2-4 on the pickaxe drop.
Numbers
| Check | Value |
|---|---|
| Mine drop | 2 + math.random(2) = 3 or 4 |
| Work | 3 |
| Crust threshold | 50%, then snap to 100% |
| Uncrust | acid percent == 0 |
| Fill / drain | precipitationrate per second |
| Tick | 1.5s |
| Visual crystals | 3-4 FX, scale 0.75, idle1-3 |
| Algae | 2-4 pond_algae |
| Fish while crusted | frozen |
| Prefab | pond_cave + nitre_formation FX |
- Keep 3-4 for the pickaxe. 2-4 is the plant count.
- Hit the pond, not the rocks. The rocks have no work.
- Once it crusts, the meter is 100. Rain has to walk that whole bar down to 0, or you mine it.
- It grows back if acid rain fills it to 50% again. Stopping the rain does not peel a crust already on.
Related: Pond, Nitre, Pickaxe, Live Eel, Rift, surface Pond.