This commit is contained in:
HybridDog 2015-07-19 12:27:22 +02:00
parent 3b4c25ce72
commit c8121b9fc0

View File

@ -1,12 +1,12 @@
-- glow/init.lua -- glow/init.lua
-- mod by john and Zeg9 -- mod by john and Zeg9
LIGHT_MAX = 15 local light = 15
minetest.register_node("glow:stone", { minetest.register_node("glow:stone", {
description = "Glowing stone", description = "Glowing stone",
tile_images = {"glow_stone.png"}, tile_images = {"glow_stone.png"},
light_source = LIGHT_MAX, light_source = light,
groups = {cracky=3}, groups = {cracky=3},
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
}) })
@ -14,7 +14,7 @@ minetest.register_node("glow:stone", {
minetest.register_node("glow:lamp", { minetest.register_node("glow:lamp", {
description = "Lamp", description = "Lamp",
tile_images = {"glow_stone.png^glow_lamp_frame.png"}, tile_images = {"glow_stone.png^glow_lamp_frame.png"},
light_source = LIGHT_MAX, light_source = light,
groups = {cracky=3}, groups = {cracky=3},
sounds = default.node_sound_glass_defaults(), sounds = default.node_sound_glass_defaults(),
}) })