Default: Slightly reduce alpha of water post effect colour
authorparamat <mat.gregory@virginmedia.com>
Sun, 6 Dec 2015 03:09:29 +0000 (03:09 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sat, 12 Dec 2015 13:42:54 +0000 (13:42 +0000)
To make water a little clearer and feel purer
Also correct lava alpha values from 192 to 191

mods/default/nodes.lua

index f7e40181d78971dcc14179836b3162442e93e4bb..aecbd35784b570b4d2178a7ba555ac665f792084 100644 (file)
@@ -1027,7 +1027,7 @@ minetest.register_node("default:water_source", {
        liquid_alternative_flowing = "default:water_flowing",
        liquid_alternative_source = "default:water_source",
        liquid_viscosity = 1,
-       post_effect_color = {a = 120, r = 30, g = 60, b = 90},
+       post_effect_color = {a = 103, r = 30, g = 60, b = 90},
        groups = {water = 3, liquid = 3, puts_out_fire = 1},
 })
 
@@ -1072,7 +1072,7 @@ minetest.register_node("default:water_flowing", {
        liquid_alternative_flowing = "default:water_flowing",
        liquid_alternative_source = "default:water_source",
        liquid_viscosity = 1,
-       post_effect_color = {a = 120, r = 30, g = 60, b = 90},
+       post_effect_color = {a = 103, r = 30, g = 60, b = 90},
        groups = {water = 3, liquid = 3, puts_out_fire = 1,
                not_in_creative_inventory = 1},
 })
@@ -1120,7 +1120,7 @@ minetest.register_node("default:river_water_source", {
        liquid_viscosity = 1,
        liquid_renewable = false,
        liquid_range = 2,
-       post_effect_color = {a = 120, r = 30, g = 76, b = 90},
+       post_effect_color = {a = 103, r = 30, g = 76, b = 90},
        groups = {water = 3, liquid = 3, puts_out_fire = 1},
 })
 
@@ -1167,7 +1167,7 @@ minetest.register_node("default:river_water_flowing", {
        liquid_viscosity = 1,
        liquid_renewable = false,
        liquid_range = 2,
-       post_effect_color = {a = 120, r = 30, g = 76, b = 90},
+       post_effect_color = {a = 103, r = 30, g = 76, b = 90},
        groups = {water = 3, liquid = 3, puts_out_fire = 1,
                not_in_creative_inventory = 1},
 })
@@ -1216,7 +1216,7 @@ minetest.register_node("default:lava_source", {
        liquid_viscosity = 7,
        liquid_renewable = false,
        damage_per_second = 4 * 2,
-       post_effect_color = {a = 192, r = 255, g = 64, b = 0},
+       post_effect_color = {a = 191, r = 255, g = 64, b = 0},
        groups = {lava = 3, liquid = 2, hot = 3, igniter = 1},
 })
 
@@ -1263,7 +1263,7 @@ minetest.register_node("default:lava_flowing", {
        liquid_viscosity = 7,
        liquid_renewable = false,
        damage_per_second = 4 * 2,
-       post_effect_color = {a = 192, r = 255, g = 64, b = 0},
+       post_effect_color = {a = 191, r = 255, g = 64, b = 0},
        groups = {lava = 3, liquid = 2, hot = 3, igniter = 1,
                not_in_creative_inventory = 1},
 })