1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 02:00:37 +01:00

Used static source for quicksands

- Used `default_sand.png`, a static picture, as tile image for `default:sand_source`
 - Turned alpha of quicksands to 255 (maximum)
 - Turned post_effect_color to nearly black
This commit is contained in:
LeMagnesium 2015-05-24 15:56:03 +02:00
parent bb25fc622f
commit 5da1412b29
2 changed files with 5 additions and 7 deletions

View File

@ -994,7 +994,7 @@ minetest.register_node("default:sand_flowing", {
animation={type = "vertical_frames", aspect_w= 16, aspect_h = 16, length = 0.6} animation={type = "vertical_frames", aspect_w= 16, aspect_h = 16, length = 0.6}
}, },
}, },
alpha = 160, alpha = 255,
paramtype = "light", paramtype = "light",
paramtype2 = "flowingliquid", paramtype2 = "flowingliquid",
walkable = false, walkable = false,
@ -1007,7 +1007,7 @@ minetest.register_node("default:sand_flowing", {
liquid_alternative_flowing = "default:sand_flowing", liquid_alternative_flowing = "default:sand_flowing",
liquid_alternative_source = "default:sand_source", liquid_alternative_source = "default:sand_source",
liquid_viscosity = 20, liquid_viscosity = 20,
post_effect_color = {a = 220, r = 187, g = 187, b = 0}, post_effect_color = {a = 250, r = 0, g = 0, b = 0},
groups = {liquid = 3, not_in_creative_inventory = 1}, groups = {liquid = 3, not_in_creative_inventory = 1},
}) })
@ -1015,9 +1015,7 @@ minetest.register_node("default:sand_source", {
description = "Sand Source", description = "Sand Source",
inventory_image = minetest.inventorycube("default_sand.png"), inventory_image = minetest.inventorycube("default_sand.png"),
drawtype = "liquid", drawtype = "liquid",
tiles = { tiles = {"default_sand.png"},
{name = "default_sand_source_animated.png", animation={type = "vertical_frames", aspect_w= 16, aspect_h = 16, length = 1.5}}
},
special_tiles = { special_tiles = {
-- New-style water source material (mostly unused) -- New-style water source material (mostly unused)
{ {
@ -1026,7 +1024,7 @@ minetest.register_node("default:sand_source", {
backface_culling = false, backface_culling = false,
} }
}, },
alpha = 160, alpha = 255,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
pointable = false, pointable = false,
@ -1039,7 +1037,7 @@ minetest.register_node("default:sand_source", {
liquid_alternative_source = "default:sand_source", liquid_alternative_source = "default:sand_source",
liquid_viscosity = 20, liquid_viscosity = 20,
liquid_renewable = false, liquid_renewable = false,
post_effect_color = {a = 220, r = 187, g = 187, b = 0}, post_effect_color = {a = 250, r = 0, g = 0, b = 0},
groups = {liquid = 3}, groups = {liquid = 3},
}) })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB