adjusted to changes in homedecor
This commit is contained in:
parent
232098d9e8
commit
4728562bd5
2
mod.conf
2
mod.conf
@ -4,4 +4,4 @@ release = 202411011800
|
||||
title = More Snow
|
||||
name = moresnow
|
||||
depends = default
|
||||
optional_depends = stairs, moreblocks, homedecor
|
||||
optional_depends = stairs, moreblocks, homedecor_roofing, technic
|
||||
|
@ -15,7 +15,7 @@ moresnow.identify_special_slopes = function( new_name, homedecor_prefix, technic
|
||||
return;
|
||||
end
|
||||
|
||||
local homedecor_materials = {'terracotta','wood','asphalt'};
|
||||
local homedecor_materials = {'terracotta','wood','asphalt','glass'};
|
||||
local technic_materials = {'dirt','wood','stone','cobble','brick','sandstone','leaves',
|
||||
'tree','steelblock','bronzeblock','stainless_steel','marble','granite'};
|
||||
|
||||
|
@ -355,7 +355,8 @@ moresnow.register_shape = function( shape, new_name )
|
||||
end
|
||||
|
||||
-- only add these if either technic (with its cnc machine) or homedecor (with shingles) are installed
|
||||
if( minetest.get_modpath( 'homedecor' )
|
||||
if( minetest.get_modpath( 'homedecor_roofing' )
|
||||
or minetest.get_modpath( 'moreblocks')
|
||||
or minetest.get_modpath( 'technic' )) then
|
||||
moresnow.register_shape( 1, 'ramp_top' );
|
||||
moresnow.register_shape( 2, 'ramp_outer_top');
|
||||
|
Loading…
Reference in New Issue
Block a user