9 Commits

Author SHA1 Message Date
Aaron Suen
2d73df30e7 New API to check if air passes thru node.
Can be used for things like sponge air exposure
or environmental exposure checks.
2020-01-18 09:57:39 -05:00
Aaron Suen
e48722e731 Add a little color to living sponges.
Make them visually distinguishable, and allow
players to tell when their living sponges have died.
2019-12-18 20:21:54 -05:00
Aaron Suen
6e1f3fee94 Standardize intra-line spacing in code. 2019-12-01 11:08:12 -05:00
Aaron Suen
b7f6d3c7cb Sponge mapgen spawning tweak.
Reinstate sponges spawning as mature colonies, and match mapgen
colonies to expected end-state of natural regrowth.  This should
make it harder to distinguish an "old growth" area where players
have been hanging around a long time from pristine sponges.
2019-09-23 21:46:23 -04:00
Aaron Suen
cc30c80069 Sponge cultivation overhaul.
- Inhibit sponge colony growth beyond a maximum size.  Players
  will have to prune colonies (or, smarter yet, split them) to
  grow more sponges.

- Allow sponge colony transplantation.  Sponges near the "core"
  of a colony (i.e. surrounded by more sponges) are more viable
  and more able to survive the player's crude harvesting.
2019-09-23 21:28:48 -04:00
Aaron Suen
10db2d6dbf Squeeze sponges to produce temporary splashes of water.
Pummel a sponge and it will release water if there is space
nearby, though it will be reabsorbed by the sponge in a few
seconds.

This CAN be used to wet other sponges (i.e. to have a managed
supply of water if working far from oceans) but CANNOT be used
to create infinite springs.

If the original sponge is removed (and there is no other sponge
to absorb the water) then the water will be removed as well.
2019-08-23 21:18:20 -04:00
Aaron Suen
fe00eb65c0 Wet sponges contribute to tree growth too. 2019-08-23 20:51:19 -04:00
Aaron Suen
de4dff158f Sounds for lode things and sponges. 2019-03-14 19:31:56 -04:00
Aaron Suen
b622883995 Made living sponges spread. 2019-02-19 19:02:21 -05:00