Updates for Minetest 5.4.0
parent
4aa55dbf72
commit
8fcaa2c4bf
|
@ -211,6 +211,7 @@ end
|
|||
local anvildef = {
|
||||
groups = {cracky = 1},
|
||||
tiles = {'stations_anvil.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
|
|
@ -7,7 +7,7 @@ minetest.register_node('caverealms:glow_crystal', {
|
|||
sounds = default.node_sound_glass_defaults(),
|
||||
light_source = 13,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
@ -21,7 +21,7 @@ minetest.register_node('caverealms:glow_emerald', {
|
|||
sounds = default.node_sound_glass_defaults(),
|
||||
light_source = 13,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
@ -35,7 +35,7 @@ minetest.register_node('caverealms:glow_mese', {
|
|||
sounds = default.node_sound_glass_defaults(),
|
||||
light_source = 13,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
@ -49,7 +49,7 @@ minetest.register_node('caverealms:glow_ruby', {
|
|||
sounds = default.node_sound_glass_defaults(),
|
||||
light_source = 13,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
@ -63,7 +63,7 @@ minetest.register_node('caverealms:glow_amethyst', {
|
|||
sounds = default.node_sound_glass_defaults(),
|
||||
light_source = 13,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
@ -119,7 +119,7 @@ minetest.register_node('caverealms:thin_ice', {
|
|||
is_ground_content = true,
|
||||
groups = {cracky=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
freezemelt = 'default:water_source',
|
||||
|
@ -135,7 +135,7 @@ minetest.register_node('caverealms:salt_crystal', {
|
|||
sounds = default.node_sound_glass_defaults(),
|
||||
light_source = 11,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
})
|
||||
|
@ -288,7 +288,7 @@ minetest.register_node('caverealms:stone_with_salt', {
|
|||
tiles = {'caverealms_salty2.png'},
|
||||
light_source = 9,
|
||||
paramtype = 'light',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
drawtype = 'glasslike',
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = true,
|
||||
|
|
|
@ -12,7 +12,7 @@ minetest.register_node("darkage:glass", {
|
|||
description = "Clean Medieval Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
use_texture_alpha=false,
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
groups = {cracky = 3, oddly_breakable_by_hand = 3, not_cuttable=1},
|
||||
|
@ -35,7 +35,7 @@ minetest.register_node("darkage:glass_round", {
|
|||
drawtype = "glasslike",
|
||||
tiles = { "darkage_glass_round.png" },
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
use_texture_apha = 'blend',
|
||||
sunlight_propagates = true,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3, not_cuttable=1},
|
||||
|
@ -57,7 +57,7 @@ minetest.register_node("darkage:glass_square", {
|
|||
drawtype = "glasslike",
|
||||
tiles = { "darkage_glass_square.png" },
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
use_texture_apha = 'blend',
|
||||
sunlight_propagates = true,
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky=3,oddly_breakable_by_hand=3, not_cuttable=1},
|
||||
|
@ -83,7 +83,7 @@ minetest.register_node("darkage:glow_glass", {
|
|||
description = "Medieval Glow Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
use_texture_alpha=true,
|
||||
use_texture_apha = 'blend',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX-3,
|
||||
|
@ -114,7 +114,7 @@ minetest.register_node("darkage:glow_glass_round", {
|
|||
description = "Medieval Round Glow Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass_round.png"},
|
||||
use_texture_alpha=true,
|
||||
use_texture_apha = 'blend',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX-3,
|
||||
|
@ -144,7 +144,7 @@ minetest.register_node("darkage:glow_glass_square", {
|
|||
description = "Medieval Square Glow Glass",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass_square.png"},
|
||||
use_texture_alpha=true,
|
||||
use_texture_apha = 'blend',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
light_source = default.LIGHT_MAX-3,
|
||||
|
@ -181,7 +181,7 @@ if minetest.get_modpath("unifieddyes") then
|
|||
description = "Milky Medieval Glass (Good for colorization)",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_milk_glass.png"},
|
||||
use_texture_alpha=true,
|
||||
use_texture_apha = 'blend',
|
||||
paramtype = "light",
|
||||
paramtype2 = "color",
|
||||
palette = "unifieddyes_palette_extended.png",
|
||||
|
@ -219,7 +219,7 @@ if minetest.get_modpath("unifieddyes") then
|
|||
description = "Milky Medieval Round Glass (Good for colorization)",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_milk_glass_round.png"},
|
||||
use_texture_alpha=true,
|
||||
use_texture_apha = 'blend',
|
||||
paramtype = "light",
|
||||
paramtype2 = "color",
|
||||
palette = "unifieddyes_palette_extended.png",
|
||||
|
@ -257,7 +257,7 @@ if minetest.get_modpath("unifieddyes") then
|
|||
description = "Milky Medieval Square Glass (Good for colorization)",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_milk_glass_square.png"},
|
||||
use_texture_alpha=true,
|
||||
use_texture_apha = 'blend',
|
||||
paramtype = "light",
|
||||
paramtype2 = "color",
|
||||
palette = "unifieddyes_palette_extended.png",
|
||||
|
|
|
@ -2203,7 +2203,7 @@ minetest.register_node("default:water_source", {
|
|||
},
|
||||
},
|
||||
},
|
||||
alpha = 191,
|
||||
use_texture_alpha = 'blend',
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
|
@ -2248,7 +2248,7 @@ minetest.register_node("default:water_flowing", {
|
|||
},
|
||||
},
|
||||
},
|
||||
alpha = 191,
|
||||
use_texture_alpha = 'blend',
|
||||
paramtype = "light",
|
||||
paramtype2 = "flowingliquid",
|
||||
walkable = false,
|
||||
|
@ -2294,7 +2294,7 @@ minetest.register_node("default:river_water_source", {
|
|||
},
|
||||
},
|
||||
},
|
||||
alpha = 160,
|
||||
use_texture_alpha = 'blend',
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
|
@ -2344,7 +2344,7 @@ minetest.register_node("default:river_water_flowing", {
|
|||
},
|
||||
},
|
||||
},
|
||||
alpha = 160,
|
||||
use_texture_alpha = 'blend',
|
||||
paramtype = "light",
|
||||
paramtype2 = "flowingliquid",
|
||||
walkable = false,
|
||||
|
|
|
@ -27,6 +27,7 @@ minetest.register_node('desert_life:barrel_cacti_'..num, {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'dl_barrel_cacti_'..num..'.obj',
|
||||
tiles = {'dl_barrel_cacti.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
groups = {oddly_breakable_by_hand=3, choppy=1, flora=1},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -46,6 +47,7 @@ minetest.register_node('desert_life:barrel_cacti_'..num..'_sp', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'dl_barrel_cacti_'..num..'.obj',
|
||||
tiles = {'dl_barrel_cacti.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
drop = 'desert_life:barrel_cacti_'..num,
|
||||
groups = {oddly_breakable_by_hand=3, choppy=1, dl_bc=1, not_in_creative_inventory=1},
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -53,6 +53,7 @@ for i in ipairs (prickly_pear_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'dl_pp_'..num..'.obj',
|
||||
tiles = {'dl_prickly_pear.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
groups = {not_in_creative_inventory=1, dl_pp=1, flora=1},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -81,6 +82,7 @@ minetest.register_node('desert_life:prickly_pear', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'dl_pp_1.obj',
|
||||
tiles = {'dl_prickly_pear.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
groups = {dig_immediate = 3, flora=1},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
|
|
@ -73,6 +73,7 @@ minetest.register_node('drinks:juice_press', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'drinks_press.obj',
|
||||
tiles = {'drinks_press.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
groups = {choppy=2, dig_immediate=2,},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -262,7 +263,6 @@ minetest.register_node('drinks:juice_press', {
|
|||
end,
|
||||
on_metadata_inventory_put = function(pos, listname, index, stack, player)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local inv = meta:get_inventory()
|
||||
meta:set_string('infotext', 'Ready for juicing.')
|
||||
end,
|
||||
can_dig = function(pos)
|
||||
|
@ -390,6 +390,7 @@ minetest.register_node('drinks:liquid_barrel', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'drinks_liquid_barrel.obj',
|
||||
tiles = {'drinks_barrel.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
groups = {choppy=2, dig_immediate=2,},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
|
|
@ -67,6 +67,7 @@ stairsplus:register_all('caverealms', 'glow_amethyst', 'caverealms:glow_amethyst
|
|||
description='Glow Amethyst',
|
||||
groups={cracky = 2, not_in_creative_inventory=1},
|
||||
tiles={'caverealms_glow_amethyst.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
light_source = 10
|
||||
})
|
||||
|
||||
|
@ -74,6 +75,7 @@ stairsplus:register_all('caverealms', 'glow_crystal', 'caverealms:glow_crystal',
|
|||
description='Glow Crystal',
|
||||
groups={cracky = 2, not_in_creative_inventory=1},
|
||||
tiles={'caverealms_glow_crystal.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
light_source = 10
|
||||
})
|
||||
|
||||
|
@ -81,6 +83,7 @@ stairsplus:register_all('caverealms', 'glow_emerald', 'caverealms:glow_emerald',
|
|||
description='Glow Emerald',
|
||||
groups={cracky = 2, not_in_creative_inventory=1},
|
||||
tiles={'caverealms_glow_emerald.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
light_source = 10
|
||||
})
|
||||
|
||||
|
@ -88,6 +91,7 @@ stairsplus:register_all('caverealms', 'glow_ruby', 'caverealms:glow_ruby', {
|
|||
description='Glow Ruby',
|
||||
groups={cracky = 2, not_in_creative_inventory=1},
|
||||
tiles={'caverealms_glow_ruby.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
light_source = 10
|
||||
})
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ for i in ipairs(dye_table) do
|
|||
mesh = 'furniture_bed1.obj',
|
||||
tiles = {'furniture_bed1_wood.png', 'furniture_bed1_sheets.png'},
|
||||
overlay_tiles = {{name = '(furniture_bed1_sheets.png^[multiply:'..hex..')^furniture_bed1_mask.png', color = 'white'}},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
|
|
@ -106,73 +106,69 @@ function furniture.curtain_toggle(pos, node)
|
|||
local new_state = math.abs(state - 1) --if state is zero, subtracting 1 makes it negative one, and the absolute value of negative one is one.
|
||||
local fdir = node.param2
|
||||
local curtain = color..'_'..height
|
||||
if fdir == 0 then --Search in the X axis
|
||||
local next_pos = {x=pos.x-1, y=pos.y, z=pos.z}
|
||||
local next_node = minetest.get_node(next_pos).name
|
||||
local next_color = string.sub(next_node, 22, -3)
|
||||
local next_height = string.sub(next_node, 19, 19)
|
||||
local next_part = string.sub(next_node, 20, 20)
|
||||
local next_curtain = next_color..'_'..next_height
|
||||
if fdir == 0 or fdir == 2 then --Search in the X axis
|
||||
local next_l_pos = {x=pos.x-1, y=pos.y, z=pos.z}
|
||||
local next_l_node = minetest.get_node(next_l_pos).name
|
||||
local next_l_color = string.sub(next_l_node, 22, -3)
|
||||
local next_l_height = string.sub(next_l_node, 19, 19)
|
||||
local next_l_part = string.sub(next_l_node, 20, 20)
|
||||
local next_l_curtain = next_l_color..'_'..next_l_height
|
||||
local next_r_pos = {x=pos.x+1, y=pos.y, z=pos.z}
|
||||
local next_r_node = minetest.get_node(next_r_pos).name
|
||||
local next_r_color = string.sub(next_r_node, 22, -3)
|
||||
local next_r_height = string.sub(next_r_node, 19, 19)
|
||||
local next_r_part = string.sub(next_r_node, 20, 20)
|
||||
local next_r_curtain = next_r_color..'_'..next_r_height
|
||||
minetest.set_node(pos, {name='furniture:curtain_'..height..part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
while next_curtain == curtain do
|
||||
minetest.set_node(next_pos, {name='furniture:curtain_'..height..next_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_pos.x = next_pos.x - 1
|
||||
next_node = minetest.get_node(next_pos).name
|
||||
next_color = string.sub(next_node, 22, -3)
|
||||
next_height = string.sub(next_node, 19, 19)
|
||||
next_part = string.sub(next_node, 20, 20)
|
||||
next_curtain = next_color..'_'..next_height
|
||||
while next_l_curtain == curtain do
|
||||
minetest.set_node(next_l_pos, {name='furniture:curtain_'..height..next_l_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_l_pos.x = next_l_pos.x - 1
|
||||
next_l_node = minetest.get_node(next_l_pos).name
|
||||
next_l_color = string.sub(next_l_node, 22, -3)
|
||||
next_l_height = string.sub(next_l_node, 19, 19)
|
||||
next_l_part = string.sub(next_l_node, 20, 20)
|
||||
next_l_curtain = next_l_color..'_'..next_l_height
|
||||
end
|
||||
elseif fdir == 2 then --Search in the X axis
|
||||
local next_pos = {x=pos.x+1, y=pos.y, z=pos.z}
|
||||
local next_node = minetest.get_node(next_pos).name
|
||||
local next_color = string.sub(next_node, 22, -3)
|
||||
local next_height = string.sub(next_node, 19, 19)
|
||||
local next_part = string.sub(next_node, 20, 20)
|
||||
local next_curtain = next_color..'_'..next_height
|
||||
minetest.set_node(pos, {name='furniture:curtain_'..height..part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
while next_curtain == curtain do
|
||||
minetest.set_node(next_pos, {name='furniture:curtain_'..height..next_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_pos.x = next_pos.x + 1
|
||||
next_node = minetest.get_node(next_pos).name
|
||||
next_color = string.sub(next_node, 22, -3)
|
||||
next_height = string.sub(next_node, 19, 19)
|
||||
next_part = string.sub(next_node, 20, 20)
|
||||
next_curtain = next_color..'_'..next_height
|
||||
while next_r_curtain == curtain do
|
||||
minetest.set_node(next_r_pos, {name='furniture:curtain_'..height..next_r_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_r_pos.x = next_r_pos.x + 1
|
||||
next_r_node = minetest.get_node(next_r_pos).name
|
||||
next_r_color = string.sub(next_r_node, 22, -3)
|
||||
next_r_height = string.sub(next_r_node, 19, 19)
|
||||
next_r_part = string.sub(next_r_node, 20, 20)
|
||||
next_r_curtain = next_r_color..'_'..next_r_height
|
||||
end
|
||||
elseif fdir == 1 then --Search in the Z axis
|
||||
local next_pos = {x=pos.x, y=pos.y, z=pos.z+1}
|
||||
local next_node = minetest.get_node(next_pos).name
|
||||
local next_color = string.sub(next_node, 22, -3)
|
||||
local next_height = string.sub(next_node, 19, 19)
|
||||
local next_part = string.sub(next_node, 20, 20)
|
||||
local next_curtain = next_color..'_'..next_height
|
||||
elseif fdir == 1 or fdir == 3 then --Search in the Z axis
|
||||
local next_l_pos = {x=pos.x, y=pos.y, z=pos.z-1}
|
||||
local next_l_node = minetest.get_node(next_l_pos).name
|
||||
local next_l_color = string.sub(next_l_node, 22, -3)
|
||||
local next_l_height = string.sub(next_l_node, 19, 19)
|
||||
local next_l_part = string.sub(next_l_node, 20, 20)
|
||||
local next_l_curtain = next_l_color..'_'..next_l_height
|
||||
local next_r_pos = {x=pos.x, y=pos.y, z=pos.z+1}
|
||||
local next_r_node = minetest.get_node(next_r_pos).name
|
||||
local next_r_color = string.sub(next_r_node, 22, -3)
|
||||
local next_r_height = string.sub(next_r_node, 19, 19)
|
||||
local next_r_part = string.sub(next_r_node, 20, 20)
|
||||
local next_r_curtain = next_r_color..'_'..next_r_height
|
||||
minetest.set_node(pos, {name='furniture:curtain_'..height..part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
while next_curtain == curtain do
|
||||
minetest.set_node(next_pos, {name='furniture:curtain_'..height..next_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_pos.z = next_pos.z + 1
|
||||
next_node = minetest.get_node(next_pos).name
|
||||
next_color = string.sub(next_node, 22, -3)
|
||||
next_height = string.sub(next_node, 19, 19)
|
||||
next_part = string.sub(next_node, 20, 20)
|
||||
next_curtain = next_color..'_'..next_height
|
||||
while next_l_curtain == curtain do
|
||||
minetest.set_node(next_l_pos, {name='furniture:curtain_'..height..next_l_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_l_pos.z = next_l_pos.z - 1
|
||||
next_l_node = minetest.get_node(next_l_pos).name
|
||||
next_l_color = string.sub(next_l_node, 22, -3)
|
||||
next_l_height = string.sub(next_l_node, 19, 19)
|
||||
next_l_part = string.sub(next_l_node, 20, 20)
|
||||
next_l_curtain = next_l_color..'_'..next_l_height
|
||||
end
|
||||
elseif fdir == 3 then --Search in the Z axis
|
||||
local next_pos = {x=pos.x, y=pos.y, z=pos.z-1}
|
||||
local next_node = minetest.get_node(next_pos).name
|
||||
local next_color = string.sub(next_node, 22, -3)
|
||||
local next_height = string.sub(next_node, 19, 19)
|
||||
local next_part = string.sub(next_node, 20, 20)
|
||||
local next_curtain = next_color..'_'..next_height
|
||||
minetest.set_node(pos, {name='furniture:curtain_'..height..part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
while next_curtain == curtain do
|
||||
minetest.set_node(next_pos, {name='furniture:curtain_'..height..next_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_pos.z = next_pos.z - 1
|
||||
next_node = minetest.get_node(next_pos).name
|
||||
next_color = string.sub(next_node, 22, -3)
|
||||
next_height = string.sub(next_node, 19, 19)
|
||||
next_part = string.sub(next_node, 20, 20)
|
||||
next_curtain = next_color..'_'..next_height
|
||||
while next_r_curtain == curtain do
|
||||
minetest.set_node(next_r_pos, {name='furniture:curtain_'..height..next_r_part..'_'..color..'_'..new_state, param2 = fdir})
|
||||
next_r_pos.z = next_r_pos.z + 1
|
||||
next_r_node = minetest.get_node(next_r_pos).name
|
||||
next_r_color = string.sub(next_r_node, 22, -3)
|
||||
next_r_height = string.sub(next_r_node, 19, 19)
|
||||
next_r_part = string.sub(next_r_node, 20, 20)
|
||||
next_r_curtain = next_r_color..'_'..next_r_height
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -189,6 +185,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_ss_'..name..'_1',
|
||||
|
@ -214,6 +211,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_short_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_short_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -244,6 +242,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_ss_'..name..'_1',
|
||||
|
@ -270,6 +269,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_sl_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_sl_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -298,6 +298,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_ss_'..name..'_1',
|
||||
|
@ -324,6 +325,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_sr_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_sr_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -352,6 +354,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_ss_'..name..'_1',
|
||||
|
@ -378,6 +381,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_short.obj',
|
||||
tiles = {'furniture_curtain_sc_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_sc_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -406,6 +410,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_tall_'..name..'_1',
|
||||
|
@ -431,6 +436,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tall_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_tall_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -461,6 +467,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_tl_'..name..'_1',
|
||||
|
@ -487,6 +494,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tl_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_tl_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -515,6 +523,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_tl_'..name..'_1',
|
||||
|
@ -541,6 +550,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tr_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_tr_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -569,6 +579,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
drop = 'furniture:curtain_tl_'..name..'_1',
|
||||
|
@ -595,6 +606,7 @@ for i in ipairs(dye_table) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_curtain_tall.obj',
|
||||
tiles = {'furniture_curtain_tc_1.png^[multiply:'..hex},
|
||||
use_texture_alpha = 'clip',
|
||||
inventory_image = 'furniture_curtain_tc_1.png^[multiply:'..hex,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
|
|
@ -4,6 +4,7 @@ minetest.register_node('furniture:fence_1_a', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_1_a.obj',
|
||||
tiles = {'furniture_fence.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
@ -32,6 +33,7 @@ minetest.register_node('furniture:fence_1_b', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_1_b.obj',
|
||||
tiles = {'furniture_fence.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
@ -58,6 +60,7 @@ minetest.register_node('furniture:fence_1_c', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_1_c.obj',
|
||||
tiles = {'furniture_fence.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
@ -83,6 +86,7 @@ minetest.register_node('furniture:fence_1_d', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_1_d.obj',
|
||||
tiles = {'furniture_fence.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
@ -118,6 +122,7 @@ minetest.register_node('furniture:fence_1_e', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_1_e.obj',
|
||||
tiles = {'furniture_fence.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
@ -162,6 +167,7 @@ minetest.register_node('furniture:fence_1_f', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'furniture_fence_1_f.obj',
|
||||
tiles = {'furniture_fence.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
|
|
@ -0,0 +1,54 @@
|
|||
local function register_basic(name, desc) --Registers node, stairs, slabs. With same texture on all sides.
|
||||
minetest.register_node('furniture:'..name, {
|
||||
description = desc,
|
||||
tiles = {{name='furniture_'..name..'.png', align_style='world', scale=4}},
|
||||
inventory_image = '[inventorycube{furniture_'..name..'.png&[sheet:4x4:1,1{furniture_'..name..'.png&[sheet:4x4:1,1{furniture_'..name..'.png&[sheet:4x4:1,1',
|
||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
})
|
||||
|
||||
stairs.register_stair_and_slab(
|
||||
name,
|
||||
'furniture:'..name,
|
||||
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 2, wood = 1},
|
||||
{{name='furniture_'..name..'.png', align_style='world', scale=4}},
|
||||
desc..' Stair',
|
||||
desc..' Slab',
|
||||
default.node_sound_wood_defaults(),
|
||||
true)
|
||||
end
|
||||
|
||||
register_basic('wood_1', 'Wood Floor (Style 1)')
|
||||
register_basic('wood_2', 'Wood Floor (Style 2)')
|
||||
register_basic('wood_3', 'Wood Floor (Style 3)')
|
||||
register_basic('wood_4', 'Wood Floor (Style 4)')
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'furniture:wood_1 2',
|
||||
recipe = {
|
||||
{'default:wood', 'default:junglewood'}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'furniture:wood_2 2',
|
||||
recipe = {
|
||||
{'default:junglewood', 'default:wood'}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'furniture:wood_3 2',
|
||||
recipe = {
|
||||
{'default:wood'},
|
||||
{'default:junglewood'}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'furniture:wood_4 2',
|
||||
recipe = {
|
||||
{'default:junglewood'},
|
||||
{'default:wood'}
|
||||
}
|
||||
})
|
|
@ -4,8 +4,9 @@ dofile(minetest.get_modpath('furniture')..'/bedroom.lua') --Things you'd find in
|
|||
dofile(minetest.get_modpath('furniture')..'/craftitems.lua') --Items used in recipes.
|
||||
dofile(minetest.get_modpath('furniture')..'/crafts.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/decor.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/fences.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/flooring.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/fabricandthread.lua')
|
||||
dofile(minetest.get_modpath('furniture')..'/fences.lua') --Fences are here, duh!
|
||||
dofile(minetest.get_modpath('furniture')..'/formspecs.lua') --Formspecs for the nodes.
|
||||
dofile(minetest.get_modpath('furniture')..'/functions.lua') --Different functions to control stuff.
|
||||
dofile(minetest.get_modpath('furniture')..'/library.lua') --Books things.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
name = furniture
|
||||
depends = xdecor, epic, beds
|
||||
depends = xdecor, epic, beds, stairs
|
||||
|
|
|
@ -105,6 +105,7 @@ minetest.register_node('furniture:chest_large', {
|
|||
mesh = 'furniture_chest_large.obj',
|
||||
tiles = {'furniture_chest_large.png'},
|
||||
overlay_tiles = {{name='furniture_chest_large_overlay.png', color='white'}},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'colorfacedir',
|
||||
palette = 'furniture_stain_palette.png',
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -1,4 +1,4 @@
|
|||
letters = {
|
||||
local letters = {
|
||||
{'A', 'a'},
|
||||
{'B', 'b'},
|
||||
{'C', 'c'},
|
||||
|
@ -27,7 +27,7 @@ letters = {
|
|||
{'Z', 'z'}
|
||||
}
|
||||
|
||||
numbers = {
|
||||
local numbers = {
|
||||
{'0', '0'},
|
||||
{'1', '1'},
|
||||
{'2', '2'},
|
||||
|
|
|
@ -280,7 +280,7 @@ minetest.register_node("lumberjack:step", {
|
|||
is_ground_content = false,
|
||||
climbable = true,
|
||||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
pointable = false,
|
||||
|
|
|
@ -97,7 +97,7 @@ local function update_entity(pos)
|
|||
yaw = math.pi / 2
|
||||
end
|
||||
end
|
||||
object:setyaw(yaw)
|
||||
object:set_yaw(yaw)
|
||||
object:set_properties({textures={texture}})
|
||||
end
|
||||
end
|
||||
|
|
|
@ -188,6 +188,7 @@ local nodes = {
|
|||
description = S("Iron Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"default_glass.png^[colorize:#DEDEDE", "default_glass_detail.png^[colorize:#DEDEDE"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -198,6 +199,7 @@ local nodes = {
|
|||
description = S("Coal Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"default_glass.png^[colorize:#828282", "default_glass_detail.png^[colorize:#828282"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -208,6 +210,7 @@ local nodes = {
|
|||
description = S("Clean Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"moreblocks_clean_glass.png", "moreblocks_clean_glass_detail.png"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -388,6 +391,7 @@ local nodes = {
|
|||
description = S("Glow Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"default_glass.png^[colorize:#E9CD61", "default_glass_detail.png^[colorize:#E9CD61"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -399,6 +403,7 @@ local nodes = {
|
|||
description = S("Trap Glow Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"default_glass.png^[colorize:#E9CD61", "default_glass_detail.png^[colorize:#E9CD61"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -412,6 +417,7 @@ local nodes = {
|
|||
description = S("Super Glow Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"default_glass.png^[colorize:#FFFF78", "default_glass_detail.png^[colorize:#FFFF78"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -423,6 +429,7 @@ local nodes = {
|
|||
description = S("Trap Super Glow Glass"),
|
||||
drawtype = "glasslike_framed_optional",
|
||||
tiles = {"default_glass.png^[colorize:#FFFF78", "default_glass_detail.png^[colorize:#FFFF78"},
|
||||
use_texture_alpha = 'clip',
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
@ -472,6 +479,7 @@ for name, def in pairs(nodes) do
|
|||
def_copy.drawtype == "glasslike_framed_optional"
|
||||
then
|
||||
def.tiles = {def_copy.tiles[1]}
|
||||
def.use_texture_alpha = 'clip'
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -67,6 +67,7 @@ for _, name in pairs(default_nodes) do
|
|||
if #ndef.tiles > 1 and ndef.drawtype and ndef.drawtype:find("glass") then
|
||||
ndef.tiles = {ndef.tiles[1]}
|
||||
ndef.paramtype2 = nil
|
||||
ndef.use_texture_alpha = 'clip'
|
||||
end
|
||||
|
||||
mod = "moreblocks"
|
||||
|
|
|
@ -181,7 +181,7 @@ minetest.register_node("morelights_vintage:hangingbulb", {
|
|||
drawtype = "mesh",
|
||||
mesh = "morelights_vintage_hangingbulb.obj",
|
||||
tiles = {"morelights_vintage_hangingbulb.png^[lowpart:50:morelights_metal_dark_32.png"},
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
collision_box = {
|
||||
type = "fixed",
|
||||
fixed = {-1/8, -1/8, -1/8, 1/8, 1/2, 1/8}
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
local block_type1 = { -- desc2, obj, texture
|
||||
{'Sphere', 'sphere', 'concrete'},
|
||||
{'Suzanne', 'suzanne', 'concrete'},
|
||||
{'Dragon', 'dragon', 'dragon'},
|
||||
{'Cross', 'cross', 'concrete'},
|
||||
{'Sphere', 'sphere', 'concrete'},
|
||||
{'Suzanne', 'suzanne', 'concrete'},
|
||||
{'Dragon', 'dragon', 'dragon'},
|
||||
{'Cross', 'cross', 'concrete'},
|
||||
}
|
||||
|
||||
for i in ipairs (block_type1) do
|
||||
local desc2 = block_type1[i][1]
|
||||
local obj = block_type1[i][2]
|
||||
local tex = block_type1[i][3]
|
||||
local desc2 = block_type1[i][1]
|
||||
local obj = block_type1[i][2]
|
||||
local tex = block_type1[i][3]
|
||||
local color_tab = {
|
||||
{'black', 'Black', '^[multiply:#2c2c2c'},
|
||||
{'blue', 'Blue', '^[multiply:#0041f4'},
|
||||
{'brown', 'Brown', '^[multiply:#6c3800'},
|
||||
{'cyan', 'Cyan', '^[multiply:cyan'},
|
||||
{'dark_green', 'Dark Green', '^[multiply:#2b7b00'},
|
||||
{'dark_grey', 'Dark Grey', '^[multiply:#464646'},
|
||||
{'green', 'Green', '^[multiply:#67eb1c'},
|
||||
{'grey', 'Grey', '^[multiply:#818181'},
|
||||
{'magenta', 'Magenta', '^[multiply:#d80481'},
|
||||
{'orange', 'Orange', '^[multiply:#e0601a'},
|
||||
{'pink', 'Pink', '^[multiply:#ffa5a5'},
|
||||
{'red', 'Red', '^[multiply:#c91818'},
|
||||
{'violet', 'Violet', '^[multiply:#480680'},
|
||||
{'white', 'White', '^[multiply:white'},
|
||||
{'yellow', 'Yellow', '^[multiply:#fcf611'},
|
||||
{'cement', 'Concrete', ''},
|
||||
{'black', 'Black', '^[multiply:#2c2c2c'},
|
||||
{'blue', 'Blue', '^[multiply:#0041f4'},
|
||||
{'brown', 'Brown', '^[multiply:#6c3800'},
|
||||
{'cyan', 'Cyan', '^[multiply:cyan'},
|
||||
{'dark_green', 'Dark Green', '^[multiply:#2b7b00'},
|
||||
{'dark_grey', 'Dark Grey', '^[multiply:#464646'},
|
||||
{'green', 'Green', '^[multiply:#67eb1c'},
|
||||
{'grey', 'Grey', '^[multiply:#818181'},
|
||||
{'magenta', 'Magenta', '^[multiply:#d80481'},
|
||||
{'orange', 'Orange', '^[multiply:#e0601a'},
|
||||
{'pink', 'Pink', '^[multiply:#ffa5a5'},
|
||||
{'red', 'Red', '^[multiply:#c91818'},
|
||||
{'violet', 'Violet', '^[multiply:#480680'},
|
||||
{'white', 'White', '^[multiply:white'},
|
||||
{'yellow', 'Yellow', '^[multiply:#fcf611'},
|
||||
{'cement', 'Concrete', ''},
|
||||
}
|
||||
|
||||
for i in ipairs (color_tab) do
|
||||
|
@ -35,14 +35,15 @@ for i in ipairs (block_type1) do
|
|||
|
||||
minetest.register_node('mylandscaping:column_t_'..obj..'_'..col, {
|
||||
_doc_items_create_entry = false,
|
||||
description = desc2..' topper',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'mylandscaping_column_t_'..obj..'.obj',
|
||||
tiles = {{name='mylandscaping_'..tex..'.png'..alpha}},
|
||||
groups = {cracky=2, not_in_creative_inventory=ml_visible, ml=1},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
description = desc2..' topper',
|
||||
drawtype = 'mesh',
|
||||
mesh = 'mylandscaping_column_t_'..obj..'.obj',
|
||||
tiles = {{name='mylandscaping_'..tex..'.png'..alpha}},
|
||||
use_texture_alpha = 'opaque',
|
||||
groups = {cracky=2, not_in_creative_inventory=ml_visible, ml=1},
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1992,7 +1992,7 @@ local wormhole_nodedef_default = {
|
|||
a = 160, r = 128, g = 0, b = 80
|
||||
},
|
||||
sunlight_propagates = true,
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
walkable = false,
|
||||
diggable = false,
|
||||
pointable = false,
|
||||
|
@ -2000,7 +2000,6 @@ local wormhole_nodedef_default = {
|
|||
is_ground_content = false,
|
||||
drop = "",
|
||||
light_source = 5,
|
||||
alpha = 192,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
|
|
|
@ -24,7 +24,7 @@ for i in ipairs(crystal_list) do
|
|||
selection_box = sbox,
|
||||
walkable = false,
|
||||
light_source = 10,
|
||||
use_texture_alpha = true,
|
||||
use_texture_apha = 'blend',
|
||||
visual_scale = 10,
|
||||
groups = {cracky = 3, level = 4},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
|
@ -40,7 +40,7 @@ for i in ipairs(crystal_list) do
|
|||
selection_box = sbox,
|
||||
walkable = false,
|
||||
light_source = 10,
|
||||
use_texture_alpha = true,
|
||||
use_texture_apha = 'blend',
|
||||
visual_scale = 10,
|
||||
groups = {cracky = 3, level = 4},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
|
|
|
@ -174,7 +174,7 @@ minetest.register_node(":asteroid:atmos", {
|
|||
diggable = false,
|
||||
buildable_to = true,
|
||||
is_ground_content = false,
|
||||
use_texture_alpha = true,
|
||||
use_texture_apha = 'blend',
|
||||
post_effect_color = {a = 31, r = 241, g = 248, b = 255},
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
})
|
||||
|
|
|
@ -222,7 +222,7 @@ pkarcs.register_craft('stone_carving', 'default', 'desert_stone')
|
|||
pkarcs.register_craft('stone_carving', 'default', 'desert_sandstone')
|
||||
pkarcs.register_craft('stone_carving', 'default', 'obsidian')
|
||||
pkarcs.register_craft('stone_carving', 'default', 'sandstone')
|
||||
pkarcs.register_craft('stone_carving', 'default', 'silver_sanstone')
|
||||
pkarcs.register_craft('stone_carving', 'default', 'silver_sandstone')
|
||||
pkarcs.register_craft('stone_carving', 'default', 'stone')
|
||||
pkarcs.register_craft('stone_carving', 'default', 'obsidian')
|
||||
pkarcs.register_craft('stone_carving', 'moreblocks', 'coal_stone')
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
local news = {
|
||||
'1/15/21',
|
||||
'Updated curtain toggling function. You can now click on any curtain to toggle all connected curtains.',
|
||||
'Added some new woodflooring.',
|
||||
'',
|
||||
'12/11/20',
|
||||
'Added the sickles mod, which improves the performace of the titanium scythe, and added a Rose Thennium scythe.',
|
||||
'',
|
||||
|
|
|
@ -28,7 +28,7 @@ for i in ipairs (glass_table) do
|
|||
},
|
||||
tiles = {'blank.png', 'blank.png', 'blank.png', 'blank.png', 'stainedglass-'..texture..'.png', 'stainedglass-'..texture..'.png'},
|
||||
inventory_image = 'stainedglass-'..texture..'.png',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
sunlight_propagates = true,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
@ -44,7 +44,7 @@ for i in ipairs (glass_table) do
|
|||
},
|
||||
tiles = {'blank.png', 'blank.png', 'blank.png', 'blank.png', 'stainedglass-'..texture..'.png', 'stainedglass-'..texture..'.png'},
|
||||
inventory_image = 'stainedglass-'..texture..'.png^stainedglass-x2.png',
|
||||
use_texture_alpha = true,
|
||||
use_texture_alpha = 'blend',
|
||||
sunlight_propagates = true,
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
|
|
|
@ -34,6 +34,7 @@ local anvil_multifurnace_def = { --on furnace
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_anvil.obj',
|
||||
tiles = {'stations_anvil.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -87,6 +88,7 @@ local anvil_locked_multifurnace_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_anvil.obj',
|
||||
tiles = {'stations_anvil.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -3,6 +3,7 @@ local anvil_multifurnace0_def = { --off furnace
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_anvil.obj',
|
||||
tiles = {'default_dirt.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -42,6 +43,7 @@ local anvil_multifurnace_def = { --on furnace
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_anvil.obj',
|
||||
tiles = {'stations_anvil.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -34,6 +34,7 @@ minetest.register_node('stations:churn', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_churn.obj',
|
||||
tiles = {'stations_churn.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -125,6 +126,7 @@ minetest.register_node('stations:churn_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_churn.obj',
|
||||
tiles = {'stations_churn.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -7,6 +7,7 @@ local crystal_w_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_crystal_w.obj',
|
||||
tiles = {'stations_crystal_w.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -41,6 +42,7 @@ local crystal_w_table_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_crystal_w.obj',
|
||||
tiles = {'stations_crystal_w.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -40,6 +40,7 @@ minetest.register_node('stations:dying', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_dying.obj',
|
||||
tiles = {'stations_dying.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -169,6 +170,7 @@ minetest.register_node('stations:dying_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_dying.obj',
|
||||
tiles = {'stations_dying.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -64,6 +64,7 @@ minetest.register_node('stations:flour_mill', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_flour_mill.obj',
|
||||
tiles = {'stations_flour_mill.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -130,6 +131,7 @@ minetest.register_node('stations:flour_mill_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_flour_mill.obj',
|
||||
tiles = {'stations_flour_mill.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -8,6 +8,7 @@ local food_prep_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_food_prep.obj',
|
||||
tiles = {'stations_food_prep.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -53,6 +54,7 @@ local food_prep_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_food_prep.obj',
|
||||
tiles = {'stations_food_prep.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -111,6 +111,7 @@ minetest.register_node('stations:puck_creator', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_puck_stove.obj',
|
||||
tiles = {'stations_pucks.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -214,6 +215,7 @@ minetest.register_node('stations:puck_creator_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_puck_stove.obj',
|
||||
tiles = {'stations_pucks.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -7,6 +7,7 @@ local glazier_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_glazier.obj',
|
||||
tiles = {'stations_glazier.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -41,6 +42,7 @@ local glazier_table_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_glazier.obj',
|
||||
tiles = {'stations_glazier.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -22,6 +22,7 @@ minetest.register_node('stations:jewelry', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_jewelry.obj',
|
||||
tiles = {'stations_jewelry.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -209,6 +210,7 @@ minetest.register_node('stations:jewelry_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_jewelry.obj',
|
||||
tiles = {'stations_jewelry.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -8,6 +8,7 @@ local mortar_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_mortar.obj',
|
||||
tiles = {'stations_mortar.png', 'stations_pestle.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -43,6 +44,7 @@ local mortar_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_mortar.obj',
|
||||
tiles = {'stations_mortar.png', 'stations_pestle.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -8,6 +8,7 @@ local mortar_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_pottery_wheel.obj',
|
||||
tiles = {'stations_pottery_wheel.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -43,6 +44,7 @@ local mortar_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_pottery_wheel.obj',
|
||||
tiles = {'stations_pottery_wheel.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -3,6 +3,7 @@ minetest.register_node('stations:printing_press', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_printing_press.obj',
|
||||
tiles = {'stations_printing_press.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -8,6 +8,7 @@ local sewing_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_sewing.obj',
|
||||
tiles = {'stations_sewing.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -54,6 +55,7 @@ local sewing_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_sewing.obj',
|
||||
tiles = {'stations_sewing.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -8,6 +8,7 @@ local spinning_wheel_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_spinning_wheel.obj',
|
||||
tiles = {'stations_spinning_wheel.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -43,6 +44,7 @@ local spinning_wheel_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_spinning_wheel.obj',
|
||||
tiles = {'stations_spinning_wheel.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -35,6 +35,7 @@ minetest.register_node('stations:stain', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_stain.obj',
|
||||
tiles = {'stations_stain.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -200,6 +201,7 @@ minetest.register_node('stations:stain_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_stain.obj',
|
||||
tiles = {'stations_stain.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -8,6 +8,7 @@ local stone_carving_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_stone_carving.obj',
|
||||
tiles = {'stations_stone_carving.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -51,6 +52,7 @@ local stone_carving_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_stone_carving.obj',
|
||||
tiles = {'stations_stone_carving.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -30,6 +30,7 @@ minetest.register_node('stations:threshing', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_threshing.obj',
|
||||
tiles = {'stations_threshing.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -142,6 +143,7 @@ minetest.register_node('stations:threshing_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_threshing.obj',
|
||||
tiles = {'stations_threshing.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -32,6 +32,7 @@ minetest.register_node('stations:weaving_loom', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_weaving_loom.obj',
|
||||
tiles = {'stations_weaving_loom.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -133,6 +134,7 @@ minetest.register_node('stations:weaving_loom_locked', {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_weaving_loom.obj',
|
||||
tiles = {'stations_weaving_loom.png'},
|
||||
use_texture_alpha = 'clip',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -7,6 +7,7 @@ local woodworking_table_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_woodworking.obj',
|
||||
tiles = {'stations_woodworking.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
@ -51,6 +52,7 @@ local woodworking_locked_def = {
|
|||
drawtype = 'mesh',
|
||||
mesh = 'stations_woodworking.obj',
|
||||
tiles = {'stations_woodworking.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
paramtype2 = 'facedir',
|
||||
paramtype = 'light',
|
||||
|
|
|
@ -35,6 +35,7 @@ for i in ipairs (shapes) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'tombs'..mesh..'_0.obj',
|
||||
tiles = {textures..'.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
light_source = light,
|
||||
|
@ -66,6 +67,7 @@ for i in ipairs (shapes) do
|
|||
drawtype = 'mesh',
|
||||
mesh = 'tombs'..mesh..'_1.obj',
|
||||
tiles = {textures..'.png'},
|
||||
use_texture_alpha = 'opaque',
|
||||
paramtype = 'light',
|
||||
paramtype2 = 'facedir',
|
||||
light_source = light,
|
||||
|
|
|
@ -103,7 +103,7 @@ minetest.register_globalstep(function(dtime)
|
|||
-- experimentally this also works nicely
|
||||
local pos = vector.add (
|
||||
vector.add({x = 0, y = 1, z = 0}, vector.round(player:get_pos())),
|
||||
vector.round(vector.multiply(player:get_player_velocity(), update_interval * 1.5))
|
||||
vector.round(vector.multiply(player:get_velocity(), update_interval * 1.5))
|
||||
)
|
||||
|
||||
wielded_light.update_light_by_item(player:get_wielded_item(), pos)
|
||||
|
|
|
@ -116,7 +116,7 @@ function xpanes.register_pane(name, def)
|
|||
groups = flatgroups,
|
||||
drop = "xpanes:" .. name .. "_flat",
|
||||
sounds = def.sounds,
|
||||
use_texture_alpha = def.use_texture_alpha or false,
|
||||
use_texture_alpha = def.use_texture_alpha or 'blend',
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {{-1/2, -1/2, -1/32, 1/2, 1/2, 1/32}},
|
||||
|
@ -145,7 +145,7 @@ function xpanes.register_pane(name, def)
|
|||
groups = groups,
|
||||
drop = "xpanes:" .. name .. "_flat",
|
||||
sounds = def.sounds,
|
||||
use_texture_alpha = def.use_texture_alpha or false,
|
||||
use_texture_alpha = def.use_texture_alpha or 'blend',
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {{-1/32, -1/2, -1/32, 1/32, 1/2, 1/32}},
|
||||
|
|
Loading…
Reference in New Issue