Edited textures of lily pads (flowers_plus too)

master
Mossmanikin 2013-10-09 18:29:54 +02:00
parent 47a095c338
commit 79f1be3ed4
11 changed files with 21 additions and 9 deletions

View File

@ -4,7 +4,7 @@
abstract_along_shore.grow_lilypad = function(pos)
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
minetest.add_node(right_here, {name="along_shore:lilypads_"..math.random(1,3), param2=math.random(0,3)})
end
@ -28,10 +28,17 @@ 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)})
end
end
if lily_type == 3 then
--if lily_type == 3 then
--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
plantslib:register_generate_plant({
surface = {"default:water_source"},

View File

@ -38,7 +38,7 @@ for i in pairs(LiLy_PaDS) do
local pt = pointed_thing
local direction = minetest.dir_to_facedir(placer:get_look_dir())
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
itemstack:take_item()
end

Binary file not shown.

Before

Width:  |  Height:  |  Size: 556 B

After

Width:  |  Height:  |  Size: 499 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 589 B

After

Width:  |  Height:  |  Size: 509 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 460 B

After

Width:  |  Height:  |  Size: 347 B

View File

@ -6,11 +6,16 @@ Credit for textures of "along_shore"
FOLDER TEXTURE AUTHORS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
../along_shore/textures (along_shore_empty.png) (Mossmanikin)
along_shore_lilypads_1.png Neuromancer
along_shore_lilypads_2.png Neuromancer
along_shore_lilypads_3.png Neuromancer
along_shore_lilypads_4.png Neuromancer
along_shore_pondscum_1.png Neuromancer
along_shore_lilypads_1.png Mossmanikin, Neuromancer
along_shore_lilypads_2.png Mossmanikin, Neuromancer
along_shore_lilypads_3.png Mossmanikin, Neuromancer
along_shore_lilypads_4.png Mossmanikin, 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
LillyPad3x16.png Neuromancer

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 507 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B