From 96a45ccc66ce69ac052145499d945670bb145bfd Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 1 Oct 2015 19:01:07 +0100 Subject: Removed unused textures and schem files, added new giant shroom sapling texture --- init.lua | 2 +- sapling.lua | 22 ++++++++++++++++------ schematics/graytrees.mts | Bin 101 -> 0 bytes textures/bamboo_OLD.png | Bin 328 -> 0 bytes textures/ethereal_mushroom_garden_1.png | Bin 199 -> 0 bytes textures/ethereal_mushroom_garden_2.png | Bin 210 -> 0 bytes textures/ethereal_mushroom_garden_3.png | Bin 246 -> 0 bytes textures/ethereal_mushroom_garden_4.png | Bin 277 -> 0 bytes textures/ethereal_mushroom_sapling.png | Bin 238 -> 254 bytes textures/hearty_stew_cooked.png | Bin 345 -> 0 bytes textures/mushroom.png | Bin 243 -> 0 bytes textures/mushroom_soup_cooked.png | Bin 341 -> 0 bytes textures/mushroom_spores.png | Bin 391 -> 0 bytes textures/red_leaves.png | Bin 300 -> 0 bytes textures/scarlet_leaves.png | Bin 300 -> 0 bytes 15 files changed, 17 insertions(+), 7 deletions(-) delete mode 100644 schematics/graytrees.mts delete mode 100644 textures/bamboo_OLD.png delete mode 100644 textures/ethereal_mushroom_garden_1.png delete mode 100644 textures/ethereal_mushroom_garden_2.png delete mode 100644 textures/ethereal_mushroom_garden_3.png delete mode 100644 textures/ethereal_mushroom_garden_4.png delete mode 100644 textures/hearty_stew_cooked.png delete mode 100644 textures/mushroom.png delete mode 100644 textures/mushroom_soup_cooked.png delete mode 100644 textures/mushroom_spores.png delete mode 100644 textures/red_leaves.png delete mode 100644 textures/scarlet_leaves.png diff --git a/init.lua b/init.lua index 0b304b3..1734d91 100644 --- a/init.lua +++ b/init.lua @@ -1,6 +1,6 @@ --[[ - Minetest Ethereal Mod 1.16 (31st August 2015) + Minetest Ethereal Mod 1.16 (30th September 2015) Created by ChinChow diff --git a/sapling.lua b/sapling.lua index 3aa0770..105bb2d 100644 --- a/sapling.lua +++ b/sapling.lua @@ -31,7 +31,6 @@ ethereal.register_sapling("ethereal:pine_tree", "Pine", "ethereal_pine_tree") ethereal.register_sapling("ethereal:big_tree", "Big", "ethereal_big_tree") ethereal.register_sapling("ethereal:banana_tree", "Banana", "banana_tree") ethereal.register_sapling("ethereal:frost_tree", "Frost", "ethereal_frost_tree") -ethereal.register_sapling("ethereal:gray_tree", "Gray", "ethereal_gray_tree") ethereal.register_sapling("ethereal:mushroom", "Mushroom", "ethereal_mushroom") ethereal.register_sapling("ethereal:palm", "Palm", "moretrees_palm") ethereal.register_sapling("ethereal:redwood", "Redwood", "redwood") @@ -88,10 +87,6 @@ ethereal.grow_sapling = function (pos, node) and under == "ethereal:crystal_dirt" then ethereal.add_tree(pos, 4, 4, path .. "frosttrees.mts") - elseif node.name == "ethereal:gray_tree_sapling" - and under == "ethereal:gray_dirt" then - ethereal.add_tree(pos, 2, 2, path .. "graytrees.mts") - elseif node.name == "ethereal:mushroom_sapling" and under == "ethereal:mushroom_dirt" then ethereal.add_tree(pos, 4, 4, path .. "mushroomone.mts") @@ -130,4 +125,19 @@ minetest.register_abm({ action = function(pos, node) ethereal.grow_sapling(pos, node) end, -}) \ No newline at end of file +}) + +minetest.register_craftitem("ethereal:tree_tool", { + description = "Tree Tool", + inventory_image = "default_stick.png", + on_use = function(itemstack, user, pointed_thing) + if not pointed_thing + or pointed_thing.type ~= "node" then + return + end + local pos = pointed_thing.under + local nod = minetest.get_node_or_nil(pos) + if not nod then return end + ethereal.grow_sapling(pos, nod) + end, +}) diff --git a/schematics/graytrees.mts b/schematics/graytrees.mts deleted file mode 100644 index 347b29c..0000000 Binary files a/schematics/graytrees.mts and /dev/null differ diff --git a/textures/bamboo_OLD.png b/textures/bamboo_OLD.png deleted file mode 100644 index f02dd53..0000000 Binary files a/textures/bamboo_OLD.png and /dev/null differ diff --git a/textures/ethereal_mushroom_garden_1.png b/textures/ethereal_mushroom_garden_1.png deleted file mode 100644 index c0d095d..0000000 Binary files a/textures/ethereal_mushroom_garden_1.png and /dev/null differ diff --git a/textures/ethereal_mushroom_garden_2.png b/textures/ethereal_mushroom_garden_2.png deleted file mode 100644 index ea74e0a..0000000 Binary files a/textures/ethereal_mushroom_garden_2.png and /dev/null differ diff --git a/textures/ethereal_mushroom_garden_3.png b/textures/ethereal_mushroom_garden_3.png deleted file mode 100644 index 85c797b..0000000 Binary files a/textures/ethereal_mushroom_garden_3.png and /dev/null differ diff --git a/textures/ethereal_mushroom_garden_4.png b/textures/ethereal_mushroom_garden_4.png deleted file mode 100644 index fd06524..0000000 Binary files a/textures/ethereal_mushroom_garden_4.png and /dev/null differ diff --git a/textures/ethereal_mushroom_sapling.png b/textures/ethereal_mushroom_sapling.png index 3579a8a..5d21922 100644 Binary files a/textures/ethereal_mushroom_sapling.png and b/textures/ethereal_mushroom_sapling.png differ diff --git a/textures/hearty_stew_cooked.png b/textures/hearty_stew_cooked.png deleted file mode 100644 index 24f20de..0000000 Binary files a/textures/hearty_stew_cooked.png and /dev/null differ diff --git a/textures/mushroom.png b/textures/mushroom.png deleted file mode 100644 index d318de0..0000000 Binary files a/textures/mushroom.png and /dev/null differ diff --git a/textures/mushroom_soup_cooked.png b/textures/mushroom_soup_cooked.png deleted file mode 100644 index a3bf981..0000000 Binary files a/textures/mushroom_soup_cooked.png and /dev/null differ diff --git a/textures/mushroom_spores.png b/textures/mushroom_spores.png deleted file mode 100644 index 989bf41..0000000 Binary files a/textures/mushroom_spores.png and /dev/null differ diff --git a/textures/red_leaves.png b/textures/red_leaves.png deleted file mode 100644 index 22dbb06..0000000 Binary files a/textures/red_leaves.png and /dev/null differ diff --git a/textures/scarlet_leaves.png b/textures/scarlet_leaves.png deleted file mode 100644 index d8566b2..0000000 Binary files a/textures/scarlet_leaves.png and /dev/null differ -- cgit v1.2.3