1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-04 09:00:22 +02:00

Updated minetestforfun_game, part 3

- Merged :
	Removed weird constants in default
	Add tree growing functions to game_api.txt
This commit is contained in:
LeMagnesium
2015-03-03 16:04:42 +01:00
parent c4c6e9fe44
commit 3ae94073c4
3 changed files with 32 additions and 16 deletions

View File

@ -774,7 +774,7 @@ minetest.register_node("default:water_flowing", {
animation={type = "vertical_frames", aspect_w= 16, aspect_h = 16, length = 0.6}
},
},
alpha = WATER_ALPHA,
alpha = 160,
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
@ -786,7 +786,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,
freezemelt = "default:snow",
post_effect_color = {a = 120, r = 20, g = 60, b = 80},
groups = {water= 3, liquid = 3, puts_out_fire = 1, not_in_creative_inventory = 1, freezes = 1, melt_around = 1},
@ -807,7 +807,7 @@ minetest.register_node("default:water_source", {
backface_culling = false,
}
},
alpha = WATER_ALPHA,
alpha = 160,
paramtype = "light",
walkable = false,
pointable = false,
@ -818,7 +818,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,
freezemelt = "default:ice",
post_effect_color = {a = 120, r = 20, g = 60, b = 80},
groups = {water= 3, liquid = 3, puts_out_fire = 1, freezes = 1},
@ -906,7 +906,7 @@ minetest.register_node("default:lava_flowing", {
},
paramtype = "light",
paramtype2 = "flowingliquid",
light_source = LIGHT_MAX,
light_source = default.LIGHT_MAX - 1,
walkable = false,
pointable = false,
diggable = false,
@ -916,7 +916,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 = 8,
post_effect_color = {a = 220, r = 250, g = 70, b = 20},
@ -939,7 +939,7 @@ minetest.register_node("default:lava_source", {
}
},
paramtype = "light",
light_source = LIGHT_MAX,
light_source = default.LIGHT_MAX - 1,
walkable = false,
pointable = false,
diggable = false,
@ -949,7 +949,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 = 8,
post_effect_color = {a = 220, r = 250, g = 70, b = 20},