diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-16 18:12:21 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-06-16 18:12:21 -0400 |
commit | 75e0a665ce2a45e1158a427d3f70f854f5f4d5a8 (patch) | |
tree | 881209e2c8f7efcbce69482bc3caa19b4828e290 /homedecor/lighting.lua | |
parent | b8cd2f723c7c9079e631d7a4078862ff47b24915 (diff) | |
download | dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.gz dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.bz2 dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.tar.xz dreambuilder_modpack-75e0a665ce2a45e1158a427d3f70f854f5f4d5a8.zip |
Updated several mods for Minetest 0.4.16
castles modpack, areas, biome_lib, blox, boost_cart, plantlife modpack
caverealms, coloredwood, concrete, currency, farming redo, home decor,
ilights, mesecons, moreores, pipeworks, signs_lib, technic, unified inventory
unified bricks, unified dyes, worldedit, and xban2
Diffstat (limited to 'homedecor/lighting.lua')
-rw-r--r-- | homedecor/lighting.lua | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/homedecor/lighting.lua b/homedecor/lighting.lua index 7dd504e..cca06b7 100644 --- a/homedecor/lighting.lua +++ b/homedecor/lighting.lua @@ -21,6 +21,15 @@ minetest.register_node("homedecor:glowlight_half", { "homedecor_glowlight_thick_sides.png", "homedecor_glowlight_thick_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_top_overlay.png", color = "white"}, + "", + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thick_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, drawtype = "nodebox", paramtype = "light", paramtype2 = "colorwallmounted", @@ -52,6 +61,15 @@ minetest.register_node("homedecor:glowlight_quarter", { "homedecor_glowlight_thin_sides.png", "homedecor_glowlight_thin_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_top_overlay.png", color = "white"}, + "", + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_thin_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, drawtype = "nodebox", paramtype = "light", paramtype2 = "colorwallmounted", @@ -83,6 +101,15 @@ minetest.register_node("homedecor:glowlight_small_cube", { "homedecor_glowlight_cube_sides.png", "homedecor_glowlight_cube_sides.png" }, + overlay_tiles = { + { name = "homedecor_glowlight_cube_tb_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_tb_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + { name = "homedecor_glowlight_cube_sides_overlay.png", color = "white"}, + }, + use_texture_alpha = true, paramtype = "light", paramtype2 = "colorwallmounted", drawtype = "nodebox", @@ -106,9 +133,10 @@ minetest.register_node("homedecor:glowlight_small_cube", { homedecor.register("plasma_lamp", { description = S("Plasma Lamp"), - drawtype = "glasslike_framed", - tiles = {"default_gold_block.png","homedecor_glass_face_clean.png"}, - special_tiles = { + drawtype = "mesh", + mesh = "plasma_lamp.obj", + tiles = { + "default_gold_block.png", { name="homedecor_plasma_storm.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}, @@ -119,16 +147,13 @@ homedecor.register("plasma_lamp", { sunlight_propagates = true, groups = {cracky=3,oddly_breakable_by_hand=3}, sounds = default.node_sound_glass_defaults(), - after_place_node = function(pos, placer, itemstack, pointed_thing) - minetest.swap_node(pos, {name = "homedecor:plasma_lamp", param2 = 255}) - end }) homedecor.register("plasma_ball", { description = S("Plasma Ball"), mesh = "homedecor_plasma_ball.obj", tiles = { - "homedecor_generic_plastic.png", + { name = "homedecor_generic_plastic.png", color = homedecor.color_black }, { name = "homedecor_plasma_ball_streamers.png", animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=2.0}, |