Rivers mod 🗺

I’m horrible about figuring out how to dig into a mod for information. I wanted to use this with the Anorien biome…but I think the problem is that I don’t know what the author of that mod actually named the biome in the files. So when I altered the user_settings.json to include “anorien” and gave it the same settings as “temperate” with lakes set to “true” and tried to make a new map it still only loaded 1 wide river and 1 narrow river. How would I figure out what the biome is actually called so I can keep lake generation?

Shouldn’t swamp ignore it as well? River mod pretty much breaks the whole idea of water generation there.


Mod Updated

For Alpha 22.5!

:up: At the first post. :up:

The mod will keep the default lakes in unknown/unlisted biomes. Before this change, if it didn’t had a setting for that biome, it would generate the rivers without the old lakes, so biomes like swamp would be all messed. As before, this can be changed in the user_settings.json.

I will later try adding a gui for the options, to avoid messing with text files.

That is a good question. Usually it is the same name as the mod. Though Anorien mod for some reason does not use an alias in its biome index with the standard modname:biome:biome_name so it does not work here.

It now defaults to have the lakes, so the swamp is not messed, but I also went ahead and included it in the settings.
The reason archipelago and canyon are ignored is not by choice (though I would chose it that way if needed), but simple because the files are incompatible.


It’s a shame that the archipelago and river mods are incompatible – having islands sliced and diced up by rivers would lead to an awesome effect similar to the islands in places like the Bay of Hong Kong, where there are many small but very tall islands close together. It would be an amazing location to build a “pirate town” of hanging bridges, secret alcoves and sheer precipices.

For the sake of curiosity, would it be possible to manually mix the two mods together in order to get the rivers happening in the archipelago biome, or would that just break the generation of one (or both) of the terrain feature sets?


No. Because we do not have waterfalls, so a river running through one elevation to the other looks terrible. When the water on top reaches the border it stops and stay there floating, exactly like this:
To avoid this, the rivers only generate in a way that it does not go up or down, keeping itself in a single elevation. This means it will never go up or down a mountain.

If I made it “cut” the mountain, so the river always stays in the same elevation, it would still look strange (this is debatable/opinion-based) as the cliff between the two sides would be just a sharp cut. Like this:

Besides those two problems, a river is created using two randomly positioned points in the map, following the rule of being in the same elevation and pathable without going up or down.
In the Archipelago, the majority area of the map where a river can generate with such rules are in the “plains”, the area that now is covered by an ocean. So most of the rivers generated there would be invisible as its starting and ending points would be already in the ocean.

I will make some tests, if nothing breaks and does not look terrible, I throw an update to it. After all, it would be the player choice to do such a thing.


Ah, makes sense. I thought that the rivers might form first, forcing the mountains to generate around/in between them; but if they’re only looking for a viable space around the mountains then yeah they wouldn’t work in the archipelago.

What I’m envisioning would probably then need to be accomplished by modifying the island generation on the archipelago mod, so that it generates tall pillars with sheer or almost-sheer cliffs. I had thought that using the rivers would act as a shortcut, as I said earlier, “slicing and dicing” the islands up like a pizza. However, if that would only give sheer sides like in your diagram, then yeah it would be pretty ugly/hard to believe; and I don’t imagine that “blending” or “roughening” those cliffs after they’ve been cut would be easy to do.

Oh well, just another idea to add to the list of things I really should mess around with one day, hahaha. Thanks for the insight into river generation though!


Oh man, just wait for the next Desktop Tuesday! ; D HYPE TRAIN LEAVES THE STATION
*Oop… somehow didn’t realize I was preforming necromancy : /. Well still, better late than never : ), 4 more days!


Ugh, now I gotta wonder if that means the wetstone and drystone are functional. Ever since I saw the mention on stream I was like, “YES! We’re so gonna be able to make wonderful water features.” :jubilant:


See, if you’re going to properly build up a hype train, you have to give us hints to what the hype could be.


If by hype you mean working rivers, than please, I would be happy to retire this mod :wink:

They are, place one wet stone and it floods everything, place the dry stone and it sucks all the water. It was funny placing like 50 or so dry stones in the archipelago and have the ocean slowed drained :smile:



(Be careful, though, 'cause there are no brakes on the HYPE TRAIN.)


Haha, not working rivers, lets not get too hype ; ). Besides, I wouldn’t want to force retire a mod as cool as this! I am excited to see what you will come up with with the new stones though : D.

lol, that’s a great image : D.


Don’t you remember what @CrazyCandy said about brakes on the hypetrain. :stuck_out_tongue_winking_eye:

Sorry, I couldn’t resist.


Haha, this is a little baby train, like this: http://imshopping.rediff.com/shopping/pixs/2039/t/toy_western-train1.jpg
There may not be brakes, but it doesn’t really have that much of an engine either ; D.

But for serious though, we will be talking about wet/dry stones finally, and I’m super excited to see what you guys do with this small (but fun) feature : ).


Can’t wait. Already have some things I want to discuss about them. But respectfully I’ll wait till Tuesday.


Don’t underestimate what a “small but fun” feature can bring – if it gives us the option to create a dynamic (i.e. self-updating) system, the sky is the limit!

The first non-decorative thing that comes to mind is a simple water clock, using a tank and overflow design to create a pulser. The engineering will be a bit tricky, but I imagine it’s possible to feed the overflow into a secondary input which connects the tank to several drystones, thereby draining the tank faster than it fills and eventually dropping the water level low enough that the tank stops overflowing… which means that over time the connection between the tank and the secondary drains will also dry up, halting the excessive drain and allowing the tank to fill/overflow again!

(this theory is all built on the assumption that the drystones only suck up water from bodies that they’re physically touching; if they just work in a radius around themselves rather than through contact with the water they’re removing then the whole idea falls flat… but I imagine they’d use the more intuitive format because it makes so much more sense. Still, we’ll see soon enough :jubilant:)


hey @BrunoSupremo, since the multiplayer mod is out now, and being able to have those joining just download required mods via steam is retardedly conveniant: any chance of throwing this mod up onto the workshop? (i was so joined at the hip with this thing that i forgot it wasnt stock…)

I honestly had forgot about this one. I will do a clean up in the code and then upload it.
I will make it read the biome json for settings, this way biome creators would be able to better control how the rivers would work in their biomes.


maps just look…strange without them :stuck_out_tongue: thanks for wanting to update it!

1 Like

Nice one of the Best Mods in my mind!

1 Like