1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-28 12:40:22 +02:00

Version MFF.

This commit is contained in:
sys4-fr
2018-09-08 14:54:14 +02:00
parent 2e0277e558
commit f5ec948679
386 changed files with 244 additions and 240 deletions

0
flowers_plus/depends.txt Normal file → Executable file
View File

0
flowers_plus/flowers-changelog.txt Normal file → Executable file
View File

22
flowers_plus/init.lua Normal file → Executable file
View File

@ -42,7 +42,7 @@ for i in ipairs(lilies_list) do
minetest.register_node(":flowers:waterlily"..deg1, {
description = S("Waterlily"),
drawtype = "nodebox",
tiles = {
tiles = {
"flowers_waterlily"..deg2..".png",
"flowers_waterlily"..deg2..".png^[transformFY"
},
@ -79,7 +79,7 @@ for i in ipairs(lilies_list) do
if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then
if under_node.name ~= "default:water_source" then
place_pos = pt.under
elseif top_node.name ~= "default:water_source"
elseif top_node.name ~= "default:water_source"
and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then
place_pos = top_pos
else
@ -138,11 +138,11 @@ for i in ipairs(algae_list) do
num = "_"..algae_list[i][1]
algae_groups = { snappy = 3,flammable=2,flower=1, not_in_creative_inventory=1 }
end
minetest.register_node(":flowers:seaweed"..num, {
description = S("Seaweed"),
drawtype = "nodebox",
tiles = {
tiles = {
"flowers_seaweed"..num..".png",
"flowers_seaweed"..num..".png^[transformFY"
},
@ -161,9 +161,9 @@ for i in ipairs(algae_list) do
node_box = {
type = "fixed",
fixed = { -0.5, -0.49, -0.5, 0.5, -0.49, 0.5 },
},
},
buildable_to = true,
liquids_pointable = true,
drop = "flowers:seaweed",
on_place = function(itemstack, placer, pointed_thing)
@ -179,7 +179,7 @@ for i in ipairs(algae_list) do
if biome_lib:get_nodedef_field(under_node.name, "buildable_to") then
if under_node.name ~= "default:water_source" then
place_pos = pt.under
elseif top_node.name ~= "default:water_source"
elseif top_node.name ~= "default:water_source"
and biome_lib:get_nodedef_field(top_node.name, "buildable_to") then
place_pos = top_pos
else
@ -226,7 +226,7 @@ local box = {
}
local sunflower_drop = "farming:seed_wheat"
if minetest.registered_items["farming:seed_spelt"] then
if minetest.registered_items["farming:seed_spelt"] then
sunflower_drop = "farming:seed_spelt"
end
@ -290,7 +290,7 @@ flowers_plus.grow_waterlily = function(pos)
if lilies_list[i][1] ~= nil then
ext = "_"..lilies_list[i][1]
end
if chance == num then
minetest.set_node(right_here, {name="flowers:waterlily"..ext, param2=math.random(0,3)})
end
@ -468,7 +468,7 @@ biome_lib:spawn_on_surfaces({
-- cotton wads -> string (can be crafted into wool blocks)
-- potted cotton plants -> potted white dandelions
minetest.register_alias("flowers:cotton_plant", "farming:cotton_8")
minetest.register_alias("flowers:cotton_plant", "farming:cotton_8")
minetest.register_alias("flowers:flower_cotton", "farming:cotton_8")
minetest.register_alias("flowers:flower_cotton_pot", "flowers:potted_dandelion_white")
minetest.register_alias("flowers:potted_cotton_plant", "flowers:potted_dandelion_white")
@ -476,4 +476,4 @@ minetest.register_alias("flowers:cotton", "farming:string")
minetest.register_alias("flowers:cotton_wad", "farming:string")
minetest.register_alias("sunflower:sunflower", "flowers:sunflower")
print(S("[Flowers] Loaded."))
minetest.log("action", S("[Flowers] Loaded."))

0
flowers_plus/locale/de.txt Normal file → Executable file
View File

0
flowers_plus/locale/fr.txt Normal file → Executable file
View File

0
flowers_plus/locale/template.txt Normal file → Executable file
View File

0
flowers_plus/models/flowers_sunflower.obj Normal file → Executable file
View File

BIN
flowers_plus/textures/flowers_seaweed.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 227 B

BIN
flowers_plus/textures/flowers_seaweedLight.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

After

Width:  |  Height:  |  Size: 213 B

BIN
flowers_plus/textures/flowers_seaweed_2.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 217 B

BIN
flowers_plus/textures/flowers_seaweed_3.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 215 B

0
flowers_plus/textures/flowers_seaweed_4.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 178 B

After

Width:  |  Height:  |  Size: 178 B

BIN
flowers_plus/textures/flowers_sunflower.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 355 B

BIN
flowers_plus/textures/flowers_sunflower_inv.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

After

Width:  |  Height:  |  Size: 217 B

0
flowers_plus/textures/flowers_waterlily.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 412 B

After

Width:  |  Height:  |  Size: 412 B

0
flowers_plus/textures/flowers_waterlily_22.5.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 409 B

After

Width:  |  Height:  |  Size: 409 B

0
flowers_plus/textures/flowers_waterlily_45.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 421 B

After

Width:  |  Height:  |  Size: 421 B

0
flowers_plus/textures/flowers_waterlily_67.5.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 435 B

0
flowers_plus/textures/flowers_waterlily_small_1.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 468 B

After

Width:  |  Height:  |  Size: 468 B

0
flowers_plus/textures/flowers_waterlily_small_2.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 472 B

After

Width:  |  Height:  |  Size: 472 B

0
flowers_plus/textures/flowers_waterlily_small_3.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 422 B

After

Width:  |  Height:  |  Size: 422 B

0
flowers_plus/textures/flowers_waterlily_small_4.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 219 B

After

Width:  |  Height:  |  Size: 219 B

0
flowers_plus/textures/tr.txt Normal file → Executable file
View File