Fix tree textures

Desaturated the tree textures.
This commit is contained in:
HeroOfTheWinds 2014-05-15 15:15:49 -10:00
parent 9f7aa76c4f
commit ec3fbc4606
9 changed files with 20 additions and 3 deletions

View file

@ -57,8 +57,8 @@ minetest.register_alias("mapgen_dirt", "moontest:dust")
--treegen function --treegen function
local function moontest_tree(x, y, z, area, data) local function moontest_tree(x, y, z, area, data)
local c_tree = minetest.get_content_id("default:tree") local c_tree = minetest.get_content_id("moontest:tree")
local c_leaves = minetest.get_content_id("default:leaves") local c_leaves = minetest.get_content_id("moontest:leaves")
for j = -2, 4 do for j = -2, 4 do
if j >= 1 then if j >= 1 then
for i = -2, 2 do for i = -2, 2 do

View file

@ -36,6 +36,13 @@ minetest.register_craft({
}, },
}) })
minetest.register_craft({
output = "default:wood",
recipe = {
{"moontest:tree"},
},
})
minetest.register_craft({ minetest.register_craft({
output = "default:water_source", output = "default:water_source",
recipe = { recipe = {

View file

@ -209,11 +209,21 @@ minetest.register_node("moontest:sapling", {
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
}) })
minetest.register_node("moontest:tree", {
description = "Moon Tree",
tiles = {"moontest_tree_top.png", "moontest_tree_top.png", "moontest_tree.png"},
paramtype2 = "facedir",
is_ground_content = false,
groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
sounds = default.node_sound_wood_defaults(),
on_place = minetest.rotate_node
})
minetest.register_node("moontest:leaves", { minetest.register_node("moontest:leaves", {
description = "Moon Leaves", description = "Moon Leaves",
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
visual_scale = 1.3, visual_scale = 1.3,
tiles = {"default_leaves.png"}, tiles = {"moontest_leaves.png"},
paramtype = "light", paramtype = "light",
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1}, groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
drop = { drop = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 762 B