forked from mtcontrib/minetest-mod-sea
Compare commits
4 Commits
6fb0d7c449
...
f81840fbd1
Author | SHA1 | Date | |
---|---|---|---|
f81840fbd1 | |||
f7b367534a | |||
49263a7eee | |||
7e7561ab93 |
@ -95,7 +95,7 @@ minetest.register_entity("clams:whiteshell", {
|
|||||||
if self.phase >= 3 then
|
if self.phase >= 3 then
|
||||||
self.phase = 0
|
self.phase = 0
|
||||||
end
|
end
|
||||||
self.object:setsprite({x=0, y=self.phase})
|
self.object:set_sprite({x=0, y=self.phase})
|
||||||
local phasearmor = {
|
local phasearmor = {
|
||||||
[0]={fleshy=0},
|
[0]={fleshy=0},
|
||||||
[1]={fleshy=30},
|
[1]={fleshy=30},
|
||||||
|
@ -17,7 +17,7 @@ minetest.register_node("noairblocks:water_flowingx", {
|
|||||||
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
|
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=0.8}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
alpha = 0,
|
use_texture_alpha = "blend",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "flowingliquid",
|
paramtype2 = "flowingliquid",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
@ -50,7 +50,7 @@ minetest.register_node("noairblocks:water_sourcex", {
|
|||||||
backface_culling = false,
|
backface_culling = false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
alpha = 0,
|
use_texture_alpha = "blend",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
walkable = false,
|
walkable = false,
|
||||||
pointable = false,
|
pointable = false,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
default
|
default
|
||||||
unifieddyes
|
unifieddyes?
|
||||||
colormachine?
|
colormachine?
|
||||||
nalc_lib?
|
nalc_lib?
|
||||||
|
@ -104,8 +104,8 @@ add_group("default:coral_green", "seacoral", 1)
|
|||||||
|
|
||||||
-- CRAFTING
|
-- CRAFTING
|
||||||
|
|
||||||
if( minetest.get_modpath( "colormachine") == nil ) then
|
if not minetest.get_modpath( "colormachine") then
|
||||||
register_seacoral_craft = function(output,recipe)
|
local register_seacoral_craft = function(output,recipe)
|
||||||
minetest.register_craft(
|
minetest.register_craft(
|
||||||
{
|
{
|
||||||
type = 'shapeless',
|
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:cyan 4', {'default:coral_cyan'})
|
||||||
register_seacoral_craft('dye:magenta 4', {'seacoral:coral_magenta'})
|
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'})
|
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
|
end
|
||||||
|
|
||||||
-- SEACORAL SAND AND DIRT GENERATION
|
-- SEACORAL SAND AND DIRT GENERATION
|
||||||
@ -186,7 +189,7 @@ minetest.register_abm(
|
|||||||
-- OPTIONAL DEPENDENCY
|
-- 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" };
|
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
|
else
|
||||||
return
|
return
|
||||||
|
@ -32,6 +32,7 @@ local function register_glass(suffix, color, cgroups)
|
|||||||
drawtype = "glasslike",
|
drawtype = "glasslike",
|
||||||
tiles = {"seaglass_seaglass"..c..".png"},
|
tiles = {"seaglass_seaglass"..c..".png"},
|
||||||
inventory_image = minetest.inventorycube("seaglass_seaglass"..c..".png"),
|
inventory_image = minetest.inventorycube("seaglass_seaglass"..c..".png"),
|
||||||
|
use_texture_alpha = "clip",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
light_source = ls,
|
light_source = ls,
|
||||||
|
Reference in New Issue
Block a user