Skip to main content
Topic: Prevent deletion of rivers (Read 6946 times) previous topic - next topic

Prevent deletion of rivers

Currently, it is possible for an ordinary player to delete a river, which does not make a great deal of sense. It might be useful if this were prevented.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: Prevent deletion of rivers

Reply #1
In real life small river are filled up as well, or rerouted. If it is not to difficult I would like to have the possibility to do both. So perhaps a "rivertool" could be made? In combination with the current "delete" tool, this would do the job.
Bob Marley: No woman, no cry

Programmer: No user, no bugs



 

Re: Prevent deletion of rivers

Reply #2
Yes, small rivers, they can be derouted. The problem is that we can delete larger river too...
It also sounds funny to "reconstruct" those accidentally removed river section.

Re: Prevent deletion of rivers

Reply #3
Maybe... ensuring that every delete of river (not canal) leaves a valid path downwards to the sea would help? It would enable terraforming by diverting the river to a side channel and then removing the old riverbed.

Additionally, if the tile in question is end of way, it could be removed freely (removing starting from spring)

My projects... Tools for messing with Simutrans graphics. Graphic archive - templates and some other stuff for painters. Development logs for most recent information on what is going on. And of course pak128!

Re: Prevent deletion of rivers

Reply #4
VS, that is a very intelligent idea about checking for a path to the sea, to enable rerouting of rivers. Perhaps, in that case, deletion of rivers should be made very expensive?

As to deleting the source of the river, would that not just enable people to delete the entire river starting at the source and working downwards? I do not think that deleting the source makes any sense.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Re: Prevent deletion of rivers

Reply #5
I think any river can be altered only by Public Player (or by Player, at high cost): first you build an alternative curse, later you can delete the original curse; deletion of rivers without an alternative curse should be prevented.

It's normal that urban rivers suffer some alterations in its curse. It happens even in real life and this could be useful when you want to shape a city to accommodate new roads and new buildings like big stations or stops.


Tietê River, São Paulo, Brazil (1930?-50?)

(although, as urban planner, I think this abominable :()  




Re: Prevent deletion of rivers

Reply #6
Maybe... ensuring that every delete of river (not canal) leaves a valid path downwards to the sea would help? It would enable terraforming by diverting the river to a side channel and then removing the old riverbed.

Additionally, if the tile in question is end of way, it could be removed freely (removing starting from spring)

i like this option. a continuity test (the same as a pathfinding) should be performed before allowing the deletion