mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Fixed light levelwarnings and texture alpha warnings in stonecutter, campfires, and beacon
This commit is contained in:
parent
2c814db0d7
commit
a34c9172c4
3 changed files with 7 additions and 3 deletions
|
@ -98,7 +98,7 @@ minetest.register_node("mcl_beacons:beacon_beam", {
|
|||
}
|
||||
},
|
||||
pointable= false,
|
||||
light_source = 15,
|
||||
light_source = 14,
|
||||
walkable = false,
|
||||
groups = {not_in_creative_inventory=1},
|
||||
_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},
|
||||
mesh = "mcl_beacon.b3d",
|
||||
tiles = {"beacon_UV.png"},
|
||||
use_texture_alpha = "clip",
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
|
@ -333,7 +334,7 @@ minetest.register_node("mcl_beacons:beacon", {
|
|||
end
|
||||
end
|
||||
end,
|
||||
light_source = 15,
|
||||
light_source = 14,
|
||||
groups = {handy=1},
|
||||
drop = "mcl_beacons:beacon",
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
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" },
|
||||
}
|
||||
|
||||
|
@ -25,6 +25,7 @@ for _, campfire in pairs(campfires) do
|
|||
drawtype = "mesh",
|
||||
mesh = "mcl_campfires_campfire.obj",
|
||||
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, },
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
@ -73,6 +74,7 @@ for _, campfire in pairs(campfires) do
|
|||
length=2.0
|
||||
}}
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
groups = { handy=1, axey=1, material_wood=1, campfire=1, lit_campfire=1 },
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
|
|
@ -31,6 +31,7 @@ minetest.register_node("mcl_stonecutter:stonecutter", {
|
|||
length=1
|
||||
}}
|
||||
},
|
||||
use_texture_alpha = "clip",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
|
|
Loading…
Reference in a new issue