Skip to content
Snippets Groups Projects
Commit 3be99473 authored by tchncs's avatar tchncs
Browse files

snow becomes a lightsource

parent 6bdd13d1
No related branches found
No related tags found
No related merge requests found
......@@ -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},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment