2 liquid tricks

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

2 liquid tricks

by paramat » Mon Nov 04, 2013 11:13

Image


^ Source node spawns surroounding source nodes, unlimited horizontal liquid spread.
Here testing swampwater, for default:water you would use this line in node definition:
liquid_alternative_flowing = "default:water_source"


Image


^ Liquids can be contained by nodes with ' drawtype = "airlike" '. Airlike nodes are invisible and can be walked through, you can also disable the selection box with 'pointable = false'. Example node:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_node("paragenv7:airlike", {
    drawtype = "airlike",
    tiles = {""},
    paramtype = "light",
    sunlight_propagates = true,
    walkable = false,
    pointable = true,
    diggable = false,
    buildable_to = true,
    groups = {not_in_creative_inventory=1},
})
I rely on donations to help provide an income https://forum.minetest.net/viewtopic.php?f=3&t=14935
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Mon Nov 04, 2013 16:38

So in theory, you can create a cast of air nodes, then fill it with water, then replace said water with WorldEdit.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

leetelate
Member
 
Posts: 205
Joined: Thu Aug 29, 2013 18:07

by leetelate » Mon Nov 04, 2013 17:14

or create a box of airnodes and fill it with water and the water stays and doesn't spill out - hmmm - mine is the opposite problem, getting it to flow at generation

a water castle = cool - better make the airnode diggable=false lol

or just make a non-proliferating water node! - gah why didn't i think of this before!!!

yay, you are the best! thanks!!!
MT IS MC'S SMARTER BROTHER
minetest 0.4.8 compiled from latest git on linux mint 15 with qjoypad and wired 360 controller
freeminer, pilztest, buildcraft and next are the idea factories
my minetest page is http://1337318.zymichost.com if zymic isn't down - meh, it is free...
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Mon Nov 04, 2013 18:59

What if we were able to dig water like a regular node?

Let's see how that would work.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 3 guests

cron