Renewable resources (Stranger Things with the River Water)

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Renewable resources (Stranger Things with the River Water)

by Punk » Sun Oct 15, 2017 23:10

I think I found a bug in river water. River water is not renewable, right?

With 2 buckets I can create infinite.

Oh, I can post only 3 images.

Where I find a list of all no renewable resources?

PS: minetest 0.4.16
Attachments
screenshot_20171015_205733.png
4
(562.22 KiB) Not downloaded yet
screenshot_20171015_205725.png
3
(495.86 KiB) Not downloaded yet
screenshot_20171015_205629.png
1
(470.67 KiB) Not downloaded yet
Last edited by Punk on Sun Nov 05, 2017 11:31, edited 2 times in total.
DON'T STEAL! The government hates competition.
 

User avatar
Krock
Developer
 
Posts: 4245
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: List of no renewable resources (River water bug)

by Krock » Mon Oct 16, 2017 15:16

That is intended. Further information about the reason why can be found in the PR's description.
List of non-renewable liquids in minetest_game: Search in this file for " liquid_renewable = false ".

Currently matching these criteria:
default:lava_source
default:lava_flowing
default:river_water_source
default:river_water_flowing
>> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Re: List of no renewable resources (River water bug)

by Punk » Mon Oct 16, 2017 23:45

I talk about the possibility of filling as many buckets as you want with river water.
If river water is not renewable, I understand that it should be scarce.
DON'T STEAL! The government hates competition.
 

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Re: List of no renewable resources (River water bug)

by Punk » Tue Oct 17, 2017 00:07

The Minetest Wiki don't have a page about all renewable and no renewable resources or Category:Renewable.

List of basic no renewable resources (generated):

Coal ore
Iron ore
Gravel
Lava
Clay
Copper ore
Mese ore
Mese block
Diamond ore
Ice
Desert Cobblestone
Tin Ore
River Water (?)
Coral
Coral Skeleton
Waterlily
All Dirt (except dirt with snow [???])
Ignore*
Cloud*

And of course, all derivatives
DON'T STEAL! The government hates competition.
 

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Re: List of no renewable resources (River water bug)

by Punk » Tue Oct 17, 2017 00:28

Code: Select all
2017-10-16 22:18:08: ACTION[Main]: World at [/home/rhfor/.minetest/worlds/river water v6]
2017-10-16 22:18:08: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:58770.
2017-10-16 22:18:12: ACTION[Server]: singleplayer [127.0.0.1] joins game.
2017-10-16 22:18:12: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2017-10-16 22:18:19: ACTION[Server]: singleplayer granted (server, shout, fly, password, bring, kick, teleport, ban, noclip, home, debug, privs, fast, basic_privs, zoom, give, protection_bypass, rollback, settime, interact) privileges to singleplayer
2017-10-16 22:18:25: WARNING[Main]: Map::getNodeMetadata(): Block not found
2017-10-16 22:18:25: WARNING[Main]: Map::removeNodeMetadata(): Block not found
2017-10-16 22:18:32: ACTION[Server]: singleplayer invoked /giveme, stackstring="bucket:river_water"
2017-10-16 22:19:47: WARNING[Main]: Map::getNodeMetadata(): Block not found
2017-10-16 22:19:47: WARNING[Main]: Map::removeNodeMetadata(): Block not found
2017-10-16 22:19:53: ACTION[Server]: singleplayer invoked /giveme, stackstring="bucket_river_water 2"
2017-10-16 22:20:03: ACTION[Server]: singleplayer invoked /giveme, stackstring="bucket:bucket_river_water 2"
2017-10-16 22:20:10: ACTION[Server]: singleplayer digs default:snowblock at (-9,4,6)
2017-10-16 22:20:12: ACTION[Server]: singleplayer digs default:snowblock at (-10,4,6)
2017-10-16 22:20:12: ACTION[Server]: singleplayer digs default:snowblock at (-10,4,7)
2017-10-16 22:20:13: ACTION[Server]: singleplayer digs default:snowblock at (-9,4,7)
2017-10-16 22:20:21: ACTION[Server]: singleplayer invoked /giveme, stackstring="bucket 8"
2017-10-16 22:20:34: ACTION[Server]: singleplayer invoked /giveme, stackstring="bucket:bucket_river_water "
2017-10-16 22:20:43: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [object 17]
2017-10-16 22:20:47: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-9,4,7 above=-9,5,7]
2017-10-16 22:20:49: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:50: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:51: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:51: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:51: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:52: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:52: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-10,4,6 above=-10,5,6]
2017-10-16 22:20:53: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-9,4,7 above=-9,5,7]
2017-10-16 22:20:53: ACTION[Server]: singleplayer uses bucket:bucket_empty, pointing at [node under=-9,4,7 above=-9,5,7]
2017-10-16 22:20:53: ACTION[Server]: singleplayer uses bucket:bucket_river_water, pointing at [node under=-9,4,7 above=-9,5,7]


Image
Attachments
screenshot_20171016_222502.png
(231.67 KiB) Not downloaded yet
DON'T STEAL! The government hates competition.
 

User avatar
paramat
Developer
 
Posts: 3357
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: List of no renewable resources (River water bug)

by paramat » Tue Oct 17, 2017 01:49

The river water source node is not technically renewable, if it was the sloping rivers would flood over the banks and make a massive mess of the world.
However, when you use a bucket on a river water source node it should not leave a hole in the river, so i added code to the bucket mod that replaces the river water source node when you use a bucket. So it then becomes infinite in another way.
 

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Re: List of no renewable resources (River water bug)

by Punk » Tue Oct 17, 2017 02:08

paramat wrote:The river water source node is not technically renewable, if it was the sloping rivers would flood over the banks and make a massive mess of the world.
However, when you use a bucket on a river water source node it should not leave a hole in the river, so i added code to the bucket mod that replaces the river water source node when you use a bucket. So it then becomes infinite in another way.


Hum, I get now. So, river water isn't renewable because bucket is not renewable, right?
DON'T STEAL! The government hates competition.
 

User avatar
paramat
Developer
 
Posts: 3357
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: List of no renewable resources (River water bug)

by paramat » Tue Oct 17, 2017 02:11

No, 'renewable' is a parameter of the node itself, that decides if 2 sources can create a 3rd.
 

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Re: List of no renewable resources (River water bug)

by Punk » Tue Oct 17, 2017 02:15

paramat wrote:No, 'renewable' is a parameter of the node itself, that decides if 2 sources can create a 3rd.


All right, thank you!
DON'T STEAL! The government hates competition.
 

User avatar
Wuzzy
Member
 
Posts: 3392
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: List of no renewable resources (River water bug)

by Wuzzy » Wed Oct 18, 2017 14:24

Here's a list of (hopefully) all renewable items in Minetest Game:
https://wiki.minetest.net/Category:Renewable

I'm surprised to learn that there is actually a way to create infinite river water, although not in the traditional sense. Thanks, paramat. I have update its wiki page accordingly.
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
Punk
Member
 
Posts: 158
Joined: Sun Dec 25, 2016 06:52

Re: List of no renewable resources (River water bug)

by Punk » Sun Oct 22, 2017 13:11

Wuzzy wrote:Here's a list of (hopefully) all renewable items in Minetest Game:
https://wiki.minetest.net/Category:Renewable

I'm surprised to learn that there is actually a way to create infinite river water, although not in the traditional sense. Thanks, paramat. I have update its wiki page accordingly.


Good job! But, as I had said, the bucket isn't renewable, so river water isn't too after all. Neither in this strange way.
DON'T STEAL! The government hates competition.
 

User avatar
paramat
Developer
 
Posts: 3357
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: List of no renewable resources (River water bug)

by paramat » Sat Oct 28, 2017 11:32

The bucket is irrelevant, all water sources are infinite, buckets or buckets of water are not. You can get infinite water sources using 1 bucket and emptying it everytime.
 

User avatar
Wuzzy
Member
 
Posts: 3392
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Wait, WHAT?!

by Wuzzy » Mon Oct 30, 2017 02:53

Paramat: Congratulations, you managed to surprise me a second time, in the same thread! This is a very rare achievement, and you should be proud. :-D

Here, take this mese block:

[ M E ]
[ S E ]

But still, I don't get it. How can you get infinite water sources if all you got is only 1 water bucket (or 1 water source)? o_O
All I can do with a single water soure is destroy it, or take and place it with a bucket. But I can't multiply it.
I think you need at least 2 water sources for infinite water, because then you can do the diagonal placement trick like shown in the wiki.

So, paramat: What am I missing?

PS: Can the thread starter please rename this thread? It's obviously NOT a bug. :P
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
paramat
Developer
 
Posts: 3357
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: List of no renewable resources (River water bug)

by paramat » Tue Oct 31, 2017 22:33

As i wrote, you can get infinite water sources, just not infinite buckets of water.
But yes, even with river water you need at least 2 source nodes for the taken source to 'force regenerate'.
https://github.com/minetest/minetest_game/blob/master/mods/bucket/init.lua#L160
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 2 guests