1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-29 21:30:26 +02:00

Remove weird constants in default

This commit is contained in:
PilzAdam
2014-12-07 15:17:09 +01:00
committed by Novatux
parent 2c0f716a13
commit c654c9fd11
6 changed files with 28 additions and 20 deletions

View File

@ -547,7 +547,7 @@ minetest.register_node("default:water_flowing", {
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
},
},
alpha = WATER_ALPHA,
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
@ -559,7 +559,7 @@ minetest.register_node("default:water_flowing", {
liquidtype = "flowing",
liquid_alternative_flowing = "default:water_flowing",
liquid_alternative_source = "default:water_source",
liquid_viscosity = WATER_VISC,
liquid_viscosity = 1,
post_effect_color = {a=64, r=100, g=100, b=200},
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1},
})
@ -579,7 +579,7 @@ minetest.register_node("default:water_source", {
backface_culling = false,
}
},
alpha = WATER_ALPHA,
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
@ -590,7 +590,7 @@ minetest.register_node("default:water_source", {
liquidtype = "source",
liquid_alternative_flowing = "default:water_flowing",
liquid_alternative_source = "default:water_source",
liquid_viscosity = WATER_VISC,
liquid_viscosity = 1,
post_effect_color = {a=64, r=100, g=100, b=200},
groups = {water=3, liquid=3, puts_out_fire=1},
})
@ -614,7 +614,7 @@ minetest.register_node("default:lava_flowing", {
},
paramtype = "light",
paramtype2 = "flowingliquid",
light_source = LIGHT_MAX - 1,
light_source = default.LIGHT_MAX - 1,
walkable = false,
pointable = false,
diggable = false,
@ -624,7 +624,7 @@ minetest.register_node("default:lava_flowing", {
liquidtype = "flowing",
liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source",
liquid_viscosity = LAVA_VISC,
liquid_viscosity = 7,
liquid_renewable = false,
damage_per_second = 4*2,
post_effect_color = {a=192, r=255, g=64, b=0},
@ -647,7 +647,7 @@ minetest.register_node("default:lava_source", {
}
},
paramtype = "light",
light_source = LIGHT_MAX - 1,
light_source = default.LIGHT_MAX - 1,
walkable = false,
pointable = false,
diggable = false,
@ -657,7 +657,7 @@ minetest.register_node("default:lava_source", {
liquidtype = "source",
liquid_alternative_flowing = "default:lava_flowing",
liquid_alternative_source = "default:lava_source",
liquid_viscosity = LAVA_VISC,
liquid_viscosity = 7,
liquid_renewable = false,
damage_per_second = 4*2,
post_effect_color = {a=192, r=255, g=64, b=0},
@ -680,7 +680,7 @@ minetest.register_node("default:torch", {
sunlight_propagates = true,
is_ground_content = false,
walkable = false,
light_source = LIGHT_MAX-1,
light_source = default.LIGHT_MAX - 1,
selection_box = {
type = "wallmounted",
wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},