Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_node("octuwater:redwater_flowing", {
- description = "Flowing Water",
- inventory_image = minetest.inventorycube("octuwater_water_red.png"),
- drawtype = "flowingliquid",
- tiles = {"octuwater_water_red.png"},
- special_tiles = {
- {name="octuwater_water_red.png", backface_culling=false},
- {name="octuwater_water_red.png", backface_culling=true},
- },
- alpha = WATER_ALPHA,
- paramtype = "light",
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- liquidtype = "flowing",
- liquid_alternative_flowing = "octuwater:redwater_flowing",
- liquid_alternative_source = "octuwater:redwater_source",
- liquid_viscosity = WATER_VISC,
- post_effect_color = {a=64, r=237, g=28, b=36},
- groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
- })
- minetest.register_node("octuwater:redwater_source", {
- description = "RedWater Source",
- inventory_image = minetest.inventorycube("octuwater_water_red.png"),
- drawtype = "liquid",
- tiles = {"octuwater_water_red.png"},
- special_tiles = {
- -- New-style water source material (mostly unused)
- {name="octuwater_water_red.png", backface_culling=false},
- },
- alpha = WATER_ALPHA,
- paramtype = "light",
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- liquidtype = "source",
- liquid_alternative_flowing = "octuwater:redwater_flowing",
- liquid_alternative_source = "octuwater:redwater_source",
- liquid_viscosity = WATER_VISC,
- post_effect_color = {a=64, r=237, g=28, b=36},
- groups = {water=3, liquid=3, puts_out_fire=1},
- })minetest.register_alias("mapgen_redwater_source", "octuwater:redwater_source")
- minetest.register_node("octuwater:mosswater_flowing", {
- description = "Flowing Water",
- inventory_image = minetest.inventorycube("octuwater_water_moss.png"),
- drawtype = "flowingliquid",
- tiles = {"octuwater_water_moss.png"},
- special_tiles = {
- {name="octuwater_water_moss.png", backface_culling=false},
- {name="octuwater_water_moss.png", backface_culling=true},
- },
- alpha = WATER_ALPHA,
- paramtype = "light",
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- liquidtype = "flowing",
- liquid_alternative_flowing = "octuwater:mosswater_flowing",
- liquid_alternative_source = "octuwater:mosswater_source",
- liquid_viscosity = WATER_VISC,
- post_effect_color = {a=64, r=34, g=177, b=76},
- groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
- })
- minetest.register_node("octuwater:mosswater_source", {
- description = "MossWater Source",
- inventory_image = minetest.inventorycube("octuwater_water_moss.png"),
- drawtype = "liquid",
- tiles = {"octuwater_water_moss.png"},
- special_tiles = {
- -- New-style water source material (mostly unused)
- {name="octuwater_water_moss.png", backface_culling=false},
- },
- alpha = WATER_ALPHA,
- paramtype = "light",
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- liquidtype = "source",
- liquid_alternative_flowing = "octuwater:mosswater_flowing",
- liquid_alternative_source = "octuwater:mosswater_source",
- liquid_viscosity = WATER_VISC,
- post_effect_color = {a=64, r=34, g=177, b=76},
- groups = {water=3, liquid=3, puts_out_fire=1},
- })minetest.register_alias("mapgen_mosswater_source", "octuwater:mosswater_source")
- minetest.register_node("octuwater:yellowwater_flowing", {
- description = "Flowing Water",
- inventory_image = minetest.inventorycube("octuwater_water_yellow.png"),
- drawtype = "flowingliquid",
- tiles = {"octuwater_water_yellow.png"},
- special_tiles = {
- {name="octuwater_water_yellow.png", backface_culling=false},
- {name="octuwater_water_yellow.png", backface_culling=true},
- },
- alpha = WATER_ALPHA,
- paramtype = "light",
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- liquidtype = "flowing",
- liquid_alternative_flowing = "octuwater:yellowwater_flowing",
- liquid_alternative_source = "octuwater:yellowwater_source",
- liquid_viscosity = WATER_VISC,
- post_effect_color = {a=64, r=255, g=242, b=0},
- groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
- })
- minetest.register_node("octuwater:yellowwater_source", {
- description = "Water Source",
- inventory_image = minetest.inventorycube("octuwater_water_yellow.png"),
- drawtype = "liquid",
- tiles = {"octuwater_water_yellow.png"},
- special_tiles = {
- -- New-style water source material (mostly unused)
- {name="octuwater_water_yellow.png", backface_culling=false},
- },
- alpha = WATER_ALPHA,
- paramtype = "light",
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- liquidtype = "source",
- liquid_alternative_flowing = "octuwater:yellowwater_flowing",
- liquid_alternative_source = "octuwater:yellowwater_source",
- liquid_viscosity = WATER_VISC,
- post_effect_color = {a=64, r=255, g=242, b=0},
- groups = {water=3, liquid=3, puts_out_fire=1},
- })minetest.register_alias("mapgen_yellowwater_source", "octuwater:yellowwater_source")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement