Edited textures of lily pads (flowers_plus too)
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
abstract_along_shore.grow_lilypad = function(pos)
|
abstract_along_shore.grow_lilypad = function(pos)
|
||||||
local right_here = {x=pos.x, y=pos.y+1, z=pos.z}
|
local right_here = {x=pos.x, y=pos.y+1, z=pos.z}
|
||||||
local lily_type = math.random(1,3)
|
local lily_type = math.random(1,6)
|
||||||
if lily_type == 1 then
|
if lily_type == 1 then
|
||||||
minetest.add_node(right_here, {name="along_shore:lilypads_"..math.random(1,3), param2=math.random(0,3)})
|
minetest.add_node(right_here, {name="along_shore:lilypads_"..math.random(1,3), param2=math.random(0,3)})
|
||||||
end
|
end
|
||||||
@ -28,8 +28,15 @@ abstract_along_shore.grow_lilypad = function(pos)
|
|||||||
minetest.add_node(right_here, {name="along_shore:lilypads_"..math.random(1,4), param2=math.random(0,3)})
|
minetest.add_node(right_here, {name="along_shore:lilypads_"..math.random(1,4), param2=math.random(0,3)})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if lily_type == 3 then
|
--if lily_type == 3 then
|
||||||
minetest.add_node(right_here, {name="along_shore:pondscum_1", param2=1})
|
--minetest.add_node(right_here, {name="along_shore:pondscum_1", param2=1})
|
||||||
|
--end
|
||||||
|
if lily_type >= 3 then
|
||||||
|
if minetest.get_modpath("flowers_plus") ~= nil then
|
||||||
|
minetest.add_node(right_here, {name="flowers:seaweed", param2=1})
|
||||||
|
else
|
||||||
|
minetest.add_node(right_here, {name="along_shore:pondscum_1", param2=1})
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ for i in pairs(LiLy_PaDS) do
|
|||||||
local pt = pointed_thing
|
local pt = pointed_thing
|
||||||
local direction = minetest.dir_to_facedir(placer:get_look_dir())
|
local direction = minetest.dir_to_facedir(placer:get_look_dir())
|
||||||
if minetest.get_node(pt.above).name=="air" then
|
if minetest.get_node(pt.above).name=="air" then
|
||||||
minetest.set_node(pt.above, {name="along_shore:lilypads_"..math.random(1,3), param2=direction})
|
minetest.set_node(pt.above, {name="along_shore:lilypads_"..math.random(1,4), param2=direction})
|
||||||
if not minetest.setting_getbool("creative_mode") then
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
end
|
end
|
||||||
|
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 499 B |
Before Width: | Height: | Size: 460 B After Width: | Height: | Size: 568 B |
Before Width: | Height: | Size: 589 B After Width: | Height: | Size: 509 B |
Before Width: | Height: | Size: 460 B After Width: | Height: | Size: 347 B |
@ -6,11 +6,16 @@ Credit for textures of "along_shore"
|
|||||||
FOLDER TEXTURE AUTHORS
|
FOLDER TEXTURE AUTHORS
|
||||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
../along_shore/textures (along_shore_empty.png) (Mossmanikin)
|
../along_shore/textures (along_shore_empty.png) (Mossmanikin)
|
||||||
along_shore_lilypads_1.png Neuromancer
|
along_shore_lilypads_1.png Mossmanikin, Neuromancer
|
||||||
along_shore_lilypads_2.png Neuromancer
|
along_shore_lilypads_2.png Mossmanikin, Neuromancer
|
||||||
along_shore_lilypads_3.png Neuromancer
|
along_shore_lilypads_3.png Mossmanikin, Neuromancer
|
||||||
along_shore_lilypads_4.png Neuromancer
|
along_shore_lilypads_4.png Mossmanikin, Neuromancer
|
||||||
along_shore_pondscum_1.png Neuromancer
|
along_shore_pondscum_1.png Mossmanikin, Neuromancer
|
||||||
|
flowers_seaweed.png Mossmanikin, VanessaE
|
||||||
|
flowers_waterlily.png Mossmanikin, VanessaE
|
||||||
|
flowers_waterlily_22.5.png Mossmanikin, VanessaE
|
||||||
|
flowers_waterlily_45.png Mossmanikin, VanessaE
|
||||||
|
flowers_waterlily_67.5.png Mossmanikin, VanessaE
|
||||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
../along_shore/textures/old & unused lillypad3Flower16x.png Neuromancer
|
../along_shore/textures/old & unused lillypad3Flower16x.png Neuromancer
|
||||||
LillyPad3x16.png Neuromancer
|
LillyPad3x16.png Neuromancer
|
||||||
|
BIN
along_shore/textures/flowers_waterlily.png
Normal file
After Width: | Height: | Size: 491 B |
BIN
along_shore/textures/flowers_waterlily_22.5.png
Normal file
After Width: | Height: | Size: 519 B |
BIN
along_shore/textures/flowers_waterlily_45.png
Normal file
After Width: | Height: | Size: 507 B |
BIN
along_shore/textures/flowers_waterlily_67.5.png
Normal file
After Width: | Height: | Size: 512 B |