Compare commits

...

4 Commits

5 changed files with 14 additions and 10 deletions

View File

@ -95,7 +95,7 @@ minetest.register_entity("clams:whiteshell", {
if self.phase >= 3 then
self.phase = 0
end
self.object:setsprite({x=0, y=self.phase})
self.object:set_sprite({x=0, y=self.phase})
local phasearmor = {
[0]={fleshy=0},
[1]={fleshy=30},

View File

@ -17,7 +17,7 @@ minetest.register_node("noairblocks:water_flowingx", {
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
},
},
alpha = 0,
use_texture_alpha = "blend",
paramtype = "light",
paramtype2 = "flowingliquid",
walkable = false,
@ -50,7 +50,7 @@ minetest.register_node("noairblocks:water_sourcex", {
backface_culling = false,
}
},
alpha = 0,
use_texture_alpha = "blend",
paramtype = "light",
walkable = false,
pointable = false,

View File

@ -1,4 +1,4 @@
default
unifieddyes
unifieddyes?
colormachine?
nalc_lib?

View File

@ -104,8 +104,8 @@ add_group("default:coral_green", "seacoral", 1)
-- CRAFTING
if( minetest.get_modpath( "colormachine") == nil ) then
register_seacoral_craft = function(output,recipe)
if not minetest.get_modpath( "colormachine") then
local register_seacoral_craft = function(output,recipe)
minetest.register_craft(
{
type = 'shapeless',
@ -116,10 +116,13 @@ if( minetest.get_modpath( "colormachine") == nil ) then
register_seacoral_craft('dye:cyan 4', {'default:coral_cyan'})
register_seacoral_craft('dye:magenta 4', {'seacoral:coral_magenta'})
register_seacoral_craft('dye:lime 4', {'default:coral_green'})
register_seacoral_craft('dye:spring 4', {'seacoral:coral_aqua'})
register_seacoral_craft('dye:azure 4', {'seacoral:coral_skyblue'})
register_seacoral_craft('dye:pink 4', {'default:coral_pink'})
if minetest.get_modpath("unifieddyes") then
register_seacoral_craft('dye:lime 4', {'default:coral_green'})
register_seacoral_craft('dye:spring 4', {'seacoral:coral_aqua'})
register_seacoral_craft('dye:azure 4', {'seacoral:coral_skyblue'})
end
end
-- SEACORAL SAND AND DIRT GENERATION
@ -186,7 +189,7 @@ minetest.register_abm(
-- OPTIONAL DEPENDENCY
if( minetest.get_modpath( "colormachine") ~= nil ) then
if minetest.get_modpath( "colormachine") then
colormachine.basic_dye_sources = { "flowers:rose", "flowers:tulip", "flowers:dandelion_yellow", "default:coral_green", "default:cactus", "seacoral:coral_aqua", "default::coral_cyan", "seacoral:coral_skyblue", "flowers:geranium", "flowers:viola", "seacoral:coral_magenta", "default:coral_pink", "default:stone", "", "", "", "default:coal_lump" };
else
return

View File

@ -32,6 +32,7 @@ local function register_glass(suffix, color, cgroups)
drawtype = "glasslike",
tiles = {"seaglass_seaglass"..c..".png"},
inventory_image = minetest.inventorycube("seaglass_seaglass"..c..".png"),
use_texture_alpha = "clip",
paramtype = "light",
sunlight_propagates = true,
light_source = ls,