Updates for Minetest 5.4.0

master
Nathan Salapat 2021-03-19 22:27:47 -05:00
parent ad407dc736
commit fcd3928e6e
6 changed files with 22 additions and 0 deletions

View File

@ -55,6 +55,7 @@ for i in ipairs(letters) do
paramtype2 = 'colorfacedir',
palette = 'decals_color_palette.png',
sunlight_propagates = true,
use_texture_alpha = 'clip',
selection_box = {
type = 'fixed',
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
@ -85,6 +86,7 @@ for i in ipairs(numbers) do
paramtype2 = 'colorfacedir',
palette = 'decals_color_palette.png',
sunlight_propagates = true,
use_texture_alpha = 'clip',
selection_box = {
type = 'fixed',
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},

View File

@ -28,6 +28,7 @@ function decals.register_decal(name, desc)
paramtype2 = 'colorfacedir',
palette = 'decals_color_palette.png',
sunlight_propagates = true,
use_texture_alpha = 'clip',
selection_box = {
type = 'fixed',
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},

View File

@ -11,6 +11,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 = 'clip',
paramtype = 'light',
paramtype2 = 'colorfacedir',
palette = 'furniture_stain_palette.png',

View File

@ -187,6 +187,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -214,6 +215,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
selection_box = {
type = 'fixed',
fixed = {-.5, -.5, .4, .5, .5, .5},
@ -241,6 +243,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -268,6 +271,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -293,6 +297,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -320,6 +325,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -345,6 +351,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_short_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -372,6 +379,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
drop = 'furniture:curtain_ss_'..name..'_1',
selection_box = {
type = 'fixed',
@ -397,6 +405,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tall_'..name..'_1',
selection_box = {
type = 'fixed',
@ -424,6 +433,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
selection_box = {
type = 'fixed',
fixed = {-.5, -.5, .4, .5, .5, .5},
@ -451,6 +461,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tl_'..name..'_1',
selection_box = {
type = 'fixed',
@ -478,6 +489,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tl_'..name..'_1',
selection_box = {
type = 'fixed',
@ -503,6 +515,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tl_'..name..'_1',
selection_box = {
type = 'fixed',
@ -530,6 +543,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tl_'..name..'_1',
selection_box = {
type = 'fixed',
@ -555,6 +569,7 @@ for i in ipairs(dye_table) do
tiles = {'furniture_curtain_tall_0.png^[multiply:'..hex},
paramtype = 'light',
paramtype2 = 'facedir',
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tl_'..name..'_1',
selection_box = {
type = 'fixed',
@ -582,6 +597,7 @@ for i in ipairs(dye_table) do
paramtype = 'light',
paramtype2 = 'facedir',
sunlight_propagates = true,
use_texture_alpha = 'clip',
drop = 'furniture:curtain_tl_'..name..'_1',
selection_box = {
type = 'fixed',

View File

@ -30,6 +30,7 @@ minetest.register_node('lobby:emergency_button', {
drawtype = 'mesh',
mesh = 'lobby_button.obj',
tiles = {'lobby_button_frame.png', 'lobby_button_button.png'},
use_texture_alpha = 'clip',
groups = {breakable=1},
paramtype = 'light',
paramtype2 = 'facedir',

View File

@ -24,6 +24,7 @@ minetest.register_node('tasks:storage_locker_0', {
drawtype = 'mesh',
mesh = 'tasks_storage_locker.obj',
tiles = {'tasks_storage_locker_0.png'},
use_texture_alpha = 'clip',
groups = {breakable=1},
light_source = 2,
paramtype = 'light',