forked from VoxeLibre/VoxeLibre
Fixed light levelwarnings and texture alpha warnings in stonecutter, campfires, and beacon
This commit is contained in:
parent
2c814db0d7
commit
a34c9172c4
|
@ -98,7 +98,7 @@ minetest.register_node("mcl_beacons:beacon_beam", {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
pointable= false,
|
pointable= false,
|
||||||
light_source = 15,
|
light_source = 14,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {not_in_creative_inventory=1},
|
groups = {not_in_creative_inventory=1},
|
||||||
_mcl_blast_resistance = 1200,
|
_mcl_blast_resistance = 1200,
|
||||||
|
@ -226,6 +226,7 @@ minetest.register_node("mcl_beacons:beacon", {
|
||||||
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||||
mesh = "mcl_beacon.b3d",
|
mesh = "mcl_beacon.b3d",
|
||||||
tiles = {"beacon_UV.png"},
|
tiles = {"beacon_UV.png"},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
local inv = meta:get_inventory()
|
local inv = meta:get_inventory()
|
||||||
|
@ -333,7 +334,7 @@ minetest.register_node("mcl_beacons:beacon", {
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
light_source = 15,
|
light_source = 14,
|
||||||
groups = {handy=1},
|
groups = {handy=1},
|
||||||
drop = "mcl_beacons:beacon",
|
drop = "mcl_beacons:beacon",
|
||||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
|
|
||||||
local campfires = {
|
local campfires = {
|
||||||
{ name = "Campfire", lightlevel = 15, techname = "campfire", damage = 1, drops = "mcl_core:charcoal_lump 2" },
|
{ name = "Campfire", lightlevel = 14, techname = "campfire", damage = 1, drops = "mcl_core:charcoal_lump 2" },
|
||||||
{ name = "Soul Campfire", lightlevel = 10, techname = "soul_campfire", damage = 2, drops = "mcl_blackstone:soul_soil" },
|
{ name = "Soul Campfire", lightlevel = 10, techname = "soul_campfire", damage = 2, drops = "mcl_blackstone:soul_soil" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ for _, campfire in pairs(campfires) do
|
||||||
drawtype = "mesh",
|
drawtype = "mesh",
|
||||||
mesh = "mcl_campfires_campfire.obj",
|
mesh = "mcl_campfires_campfire.obj",
|
||||||
tiles = {{name="mcl_campfires_log.png"},},
|
tiles = {{name="mcl_campfires_log.png"},},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
groups = { handy=1, axey=1, material_wood=1, not_in_creative_inventory=1, campfire=1, },
|
groups = { handy=1, axey=1, material_wood=1, not_in_creative_inventory=1, campfire=1, },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
@ -73,6 +74,7 @@ for _, campfire in pairs(campfires) do
|
||||||
length=2.0
|
length=2.0
|
||||||
}}
|
}}
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
groups = { handy=1, axey=1, material_wood=1, campfire=1, lit_campfire=1 },
|
groups = { handy=1, axey=1, material_wood=1, campfire=1, lit_campfire=1 },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
|
|
@ -31,6 +31,7 @@ minetest.register_node("mcl_stonecutter:stonecutter", {
|
||||||
length=1
|
length=1
|
||||||
}}
|
}}
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
|
|
Loading…
Reference in New Issue