summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--node_defs.lua14
-rw-r--r--textures/default_jungleleaves_plantlike.pngbin390 -> 0 bytes
-rw-r--r--textures/default_leaves_plantlike.pngbin404 -> 0 bytes
-rw-r--r--textures/moretrees_acacia_leaves_plantlike.pngbin278 -> 0 bytes
-rw-r--r--textures/moretrees_apple_tree_leaves_plantlike.pngbin338 -> 0 bytes
-rw-r--r--textures/moretrees_beech_leaves_plantlike.pngbin404 -> 0 bytes
-rw-r--r--textures/moretrees_birch_leaves_plantlike.pngbin433 -> 0 bytes
-rw-r--r--textures/moretrees_fir_leaves_bright_plantlike.pngbin212 -> 0 bytes
-rw-r--r--textures/moretrees_fir_leaves_plantlike.pngbin212 -> 0 bytes
-rw-r--r--textures/moretrees_jungletree_leaves_green_plantlike.pngbin206 -> 0 bytes
-rw-r--r--textures/moretrees_jungletree_leaves_red_plantlike.pngbin206 -> 0 bytes
-rw-r--r--textures/moretrees_jungletree_leaves_yellow_plantlike.pngbin206 -> 0 bytes
-rw-r--r--textures/moretrees_oak_leaves_plantlike.pngbin620 -> 0 bytes
-rw-r--r--textures/moretrees_palm_leaves_plantlike.pngbin766 -> 0 bytes
-rw-r--r--textures/moretrees_pine_leaves_plantlike.pngbin212 -> 0 bytes
-rw-r--r--textures/moretrees_rubber_tree_leaves_plantlike.pngbin206 -> 0 bytes
-rw-r--r--textures/moretrees_sequoia_leaves_plantlike.pngbin212 -> 0 bytes
-rw-r--r--textures/moretrees_spruce_leaves_plantlike.pngbin212 -> 0 bytes
-rw-r--r--textures/moretrees_willow_leaves_plantlike.pngbin388 -> 0 bytes
19 files changed, 5 insertions, 9 deletions
diff --git a/node_defs.lua b/node_defs.lua
index c487189..d8bf7e9 100644
--- a/node_defs.lua
+++ b/node_defs.lua
@@ -30,12 +30,10 @@ local dirs2 = { 12, 9, 18, 7, 12 }
local dirs3 = { 14, 11, 16, 5, 14 }
local moretrees_new_leaves_drawtype = "allfaces_optional"
-local moretrees_new_leaves_extension = ".png"
local moretrees_plantlike_leaves_visual_scale = 1
if moretrees.plantlike_leaves then
moretrees_new_leaves_drawtype = "plantlike"
- moretrees_new_leaves_extension = "_plantlike.png"
moretrees_plantlike_leaves_visual_scale = 1.189
end
@@ -50,8 +48,7 @@ if moretrees.plantlike_leaves then
minetest.override_item("default:leaves", {
inventory_image = minetest.inventorycube("default_leaves.png"),
drawtype = "plantlike",
- visual_scale = 1.189,
- tiles = { "default_leaves_plantlike.png" }
+ visual_scale = 1.189
})
else
minetest.override_item("default:leaves", {
@@ -70,8 +67,7 @@ if moretrees.plantlike_leaves then
minetest.override_item("default:jungleleaves", {
inventory_image = minetest.inventorycube("default_jungleleaves.png"),
drawtype = "plantlike",
- visual_scale = 1.189,
- tiles = { "default_jungleleaves_plantlike.png" }
+ visual_scale = 1.189
})
else
minetest.override_item("default:jungleleaves", {
@@ -169,7 +165,7 @@ for i in ipairs(moretrees.treelist) do
drawtype = moretrees_new_leaves_drawtype,
waving = moretrees_new_leaves_waving,
visual_scale = moretrees_plantlike_leaves_visual_scale,
- tiles = { "moretrees_"..treename.."_leaves"..moretrees_new_leaves_extension },
+ tiles = { "moretrees_"..treename.."_leaves.png" },
inventory_image = moretrees_leaves_inventory_image,
paramtype = "light",
groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1},
@@ -314,7 +310,7 @@ for color = 1, 3 do
drawtype = moretrees_new_leaves_drawtype,
waving = moretrees_new_leaves_waving,
visual_scale = moretrees_plantlike_leaves_visual_scale,
- tiles = {"moretrees_jungletree_leaves_"..jungleleaves[color]..moretrees_new_leaves_extension},
+ tiles = {"moretrees_jungletree_leaves_"..jungleleaves[color]..".png"},
inventory_image = moretrees_leaves_inventory_image,
paramtype = "light",
groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1},
@@ -342,7 +338,7 @@ minetest.register_node("moretrees:fir_leaves_bright", {
waving = moretrees_new_leaves_waving,
visual_scale = moretrees_plantlike_leaves_visual_scale,
description = S("Douglas Fir Leaves (Bright)"),
- tiles = { "moretrees_fir_leaves_bright"..moretrees_new_leaves_extension },
+ tiles = { "moretrees_fir_leaves_bright.png" },
inventory_image = moretrees_leaves_inventory_image,
paramtype = "light",
groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1 },
diff --git a/textures/default_jungleleaves_plantlike.png b/textures/default_jungleleaves_plantlike.png
deleted file mode 100644
index ad3e3e4..0000000
--- a/textures/default_jungleleaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/default_leaves_plantlike.png b/textures/default_leaves_plantlike.png
deleted file mode 100644
index 7d93ede..0000000
--- a/textures/default_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_acacia_leaves_plantlike.png b/textures/moretrees_acacia_leaves_plantlike.png
deleted file mode 100644
index 6c26b32..0000000
--- a/textures/moretrees_acacia_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_apple_tree_leaves_plantlike.png b/textures/moretrees_apple_tree_leaves_plantlike.png
deleted file mode 100644
index b08582b..0000000
--- a/textures/moretrees_apple_tree_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_beech_leaves_plantlike.png b/textures/moretrees_beech_leaves_plantlike.png
deleted file mode 100644
index 7d93ede..0000000
--- a/textures/moretrees_beech_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_birch_leaves_plantlike.png b/textures/moretrees_birch_leaves_plantlike.png
deleted file mode 100644
index 0633d79..0000000
--- a/textures/moretrees_birch_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_fir_leaves_bright_plantlike.png b/textures/moretrees_fir_leaves_bright_plantlike.png
deleted file mode 100644
index 9ecc81c..0000000
--- a/textures/moretrees_fir_leaves_bright_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_fir_leaves_plantlike.png b/textures/moretrees_fir_leaves_plantlike.png
deleted file mode 100644
index e80836f..0000000
--- a/textures/moretrees_fir_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_jungletree_leaves_green_plantlike.png b/textures/moretrees_jungletree_leaves_green_plantlike.png
deleted file mode 100644
index 9c482f2..0000000
--- a/textures/moretrees_jungletree_leaves_green_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_jungletree_leaves_red_plantlike.png b/textures/moretrees_jungletree_leaves_red_plantlike.png
deleted file mode 100644
index a137954..0000000
--- a/textures/moretrees_jungletree_leaves_red_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_jungletree_leaves_yellow_plantlike.png b/textures/moretrees_jungletree_leaves_yellow_plantlike.png
deleted file mode 100644
index e02217c..0000000
--- a/textures/moretrees_jungletree_leaves_yellow_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_oak_leaves_plantlike.png b/textures/moretrees_oak_leaves_plantlike.png
deleted file mode 100644
index d900928..0000000
--- a/textures/moretrees_oak_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_palm_leaves_plantlike.png b/textures/moretrees_palm_leaves_plantlike.png
deleted file mode 100644
index 6dcf65c..0000000
--- a/textures/moretrees_palm_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_pine_leaves_plantlike.png b/textures/moretrees_pine_leaves_plantlike.png
deleted file mode 100644
index 1264e1a..0000000
--- a/textures/moretrees_pine_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_rubber_tree_leaves_plantlike.png b/textures/moretrees_rubber_tree_leaves_plantlike.png
deleted file mode 100644
index 476393b..0000000
--- a/textures/moretrees_rubber_tree_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_sequoia_leaves_plantlike.png b/textures/moretrees_sequoia_leaves_plantlike.png
deleted file mode 100644
index 6321be8..0000000
--- a/textures/moretrees_sequoia_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_spruce_leaves_plantlike.png b/textures/moretrees_spruce_leaves_plantlike.png
deleted file mode 100644
index e80836f..0000000
--- a/textures/moretrees_spruce_leaves_plantlike.png
+++ /dev/null
Binary files differ
diff --git a/textures/moretrees_willow_leaves_plantlike.png b/textures/moretrees_willow_leaves_plantlike.png
deleted file mode 100644
index ae61205..0000000
--- a/textures/moretrees_willow_leaves_plantlike.png
+++ /dev/null
Binary files differ