Advertisement
Guest User

OctuWater NakedFury Tweaks 2

a guest
Oct 7th, 2012
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.95 KB | None | 0 0
  1. minetest.register_node("octuwater:redwater_flowing", {
  2.     description = "Flowing Water",
  3.     inventory_image = minetest.inventorycube("octuwater_water_red.png"),
  4.     drawtype = "flowingliquid",
  5.     tiles = {"octuwater_water_red.png"},
  6.     special_tiles = {
  7.         {name="octuwater_water_red.png", backface_culling=false},
  8.         {name="octuwater_water_red.png", backface_culling=true},
  9.     },
  10.     alpha = WATER_ALPHA,
  11.     paramtype = "light",
  12.     walkable = false,
  13.     pointable = false,
  14.     diggable = false,
  15.     buildable_to = true,
  16.     liquidtype = "flowing",
  17.     liquid_alternative_flowing = "octuwater:redwater_flowing",
  18.     liquid_alternative_source = "octuwater:redwater_source",
  19.     liquid_viscosity = WATER_VISC,
  20.     post_effect_color = {a=64, r=237, g=28, b=36},
  21.     groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
  22. })
  23.  
  24. minetest.register_node("octuwater:redwater_source", {
  25.     description = "RedWater Source",
  26.     inventory_image = minetest.inventorycube("octuwater_water_red.png"),
  27.     drawtype = "liquid",
  28.     tiles = {"octuwater_water_red.png"},
  29.     special_tiles = {
  30.         -- New-style water source material (mostly unused)
  31.         {name="octuwater_water_red.png", backface_culling=false},
  32.     },
  33.     alpha = WATER_ALPHA,
  34.     paramtype = "light",
  35.     walkable = false,
  36.     pointable = false,
  37.     diggable = false,
  38.     buildable_to = true,
  39.     liquidtype = "source",
  40.     liquid_alternative_flowing = "octuwater:redwater_flowing",
  41.     liquid_alternative_source = "octuwater:redwater_source",
  42.     liquid_viscosity = WATER_VISC,
  43.     post_effect_color = {a=64, r=237, g=28, b=36},
  44.     groups = {water=3, liquid=3, puts_out_fire=1},
  45. })minetest.register_alias("mapgen_redwater_source", "octuwater:redwater_source")
  46.  
  47.  
  48. minetest.register_node("octuwater:mosswater_flowing", {
  49.     description = "Flowing Water",
  50.     inventory_image = minetest.inventorycube("octuwater_water_moss.png"),
  51.     drawtype = "flowingliquid",
  52.     tiles = {"octuwater_water_moss.png"},
  53.     special_tiles = {
  54.         {name="octuwater_water_moss.png", backface_culling=false},
  55.         {name="octuwater_water_moss.png", backface_culling=true},
  56.     },
  57.     alpha = WATER_ALPHA,
  58.     paramtype = "light",
  59.     walkable = false,
  60.     pointable = false,
  61.     diggable = false,
  62.     buildable_to = true,
  63.     liquidtype = "flowing",
  64.     liquid_alternative_flowing = "octuwater:mosswater_flowing",
  65.     liquid_alternative_source = "octuwater:mosswater_source",
  66.     liquid_viscosity = WATER_VISC,
  67.     post_effect_color = {a=64, r=34, g=177, b=76},
  68.     groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
  69. })
  70.  
  71. minetest.register_node("octuwater:mosswater_source", {
  72.     description = "MossWater Source",
  73.     inventory_image = minetest.inventorycube("octuwater_water_moss.png"),
  74.     drawtype = "liquid",
  75.     tiles = {"octuwater_water_moss.png"},
  76.     special_tiles = {
  77.         -- New-style water source material (mostly unused)
  78.         {name="octuwater_water_moss.png", backface_culling=false},
  79.     },
  80.     alpha = WATER_ALPHA,
  81.     paramtype = "light",
  82.     walkable = false,
  83.     pointable = false,
  84.     diggable = false,
  85.     buildable_to = true,
  86.     liquidtype = "source",
  87.     liquid_alternative_flowing = "octuwater:mosswater_flowing",
  88.     liquid_alternative_source = "octuwater:mosswater_source",
  89.     liquid_viscosity = WATER_VISC,
  90.     post_effect_color = {a=64, r=34, g=177, b=76},
  91.     groups = {water=3, liquid=3, puts_out_fire=1},
  92. })minetest.register_alias("mapgen_mosswater_source", "octuwater:mosswater_source")
  93.  
  94. minetest.register_node("octuwater:yellowwater_flowing", {
  95.     description = "Flowing Water",
  96.     inventory_image = minetest.inventorycube("octuwater_water_yellow.png"),
  97.     drawtype = "flowingliquid",
  98.     tiles = {"octuwater_water_yellow.png"},
  99.     special_tiles = {
  100.         {name="octuwater_water_yellow.png", backface_culling=false},
  101.         {name="octuwater_water_yellow.png", backface_culling=true},
  102.     },
  103.     alpha = WATER_ALPHA,
  104.     paramtype = "light",
  105.     walkable = false,
  106.     pointable = false,
  107.     diggable = false,
  108.     buildable_to = true,
  109.     liquidtype = "flowing",
  110.     liquid_alternative_flowing = "octuwater:yellowwater_flowing",
  111.     liquid_alternative_source = "octuwater:yellowwater_source",
  112.     liquid_viscosity = WATER_VISC,
  113.     post_effect_color = {a=64, r=255, g=242, b=0},
  114.     groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
  115. })
  116.  
  117. minetest.register_node("octuwater:yellowwater_source", {
  118.     description = "Water Source",
  119.     inventory_image = minetest.inventorycube("octuwater_water_yellow.png"),
  120.     drawtype = "liquid",
  121.     tiles = {"octuwater_water_yellow.png"},
  122.     special_tiles = {
  123.         -- New-style water source material (mostly unused)
  124.         {name="octuwater_water_yellow.png", backface_culling=false},
  125.     },
  126.     alpha = WATER_ALPHA,
  127.     paramtype = "light",
  128.     walkable = false,
  129.     pointable = false,
  130.     diggable = false,
  131.     buildable_to = true,
  132.     liquidtype = "source",
  133.     liquid_alternative_flowing = "octuwater:yellowwater_flowing",
  134.     liquid_alternative_source = "octuwater:yellowwater_source",
  135.     liquid_viscosity = WATER_VISC,
  136.     post_effect_color = {a=64, r=255, g=242, b=0},
  137.     groups = {water=3, liquid=3, puts_out_fire=1},
  138. })minetest.register_alias("mapgen_yellowwater_source", "octuwater:yellowwater_source")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement