snow becomes a lightsource
This commit is contained in:
parent
6bdd13d10c
commit
3be9947326
1 changed files with 3 additions and 0 deletions
|
@ -386,6 +386,7 @@ minetest.register_node("default:dirt_with_snow", {
|
|||
tileable_vertical = false}},
|
||||
groups = {crumbly = 3, soil = 1},
|
||||
drop = 'default:dirt',
|
||||
light_source = 1,
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
footstep = {name = "default_snow_footstep", gain = 0.15},
|
||||
}),
|
||||
|
@ -439,6 +440,7 @@ minetest.register_node("default:snow", {
|
|||
floodable = true,
|
||||
walkable = false,
|
||||
drawtype = "nodebox",
|
||||
light_source = 2,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
@ -464,6 +466,7 @@ minetest.register_node("default:snowblock", {
|
|||
description = "Snow Block",
|
||||
tiles = {"default_snow.png"},
|
||||
groups = {crumbly = 3, puts_out_fire = 1},
|
||||
light_source = 2,
|
||||
sounds = default.node_sound_dirt_defaults({
|
||||
footstep = {name = "default_snow_footstep", gain = 0.15},
|
||||
dug = {name = "default_snow_footstep", gain = 0.2},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue