mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
Fix tree textures
Desaturated the tree textures.
This commit is contained in:
parent
9f7aa76c4f
commit
ec3fbc4606
9 changed files with 20 additions and 3 deletions
|
@ -57,8 +57,8 @@ minetest.register_alias("mapgen_dirt", "moontest:dust")
|
|||
--treegen function
|
||||
local function moontest_tree(x, y, z, area, data)
|
||||
|
||||
local c_tree = minetest.get_content_id("default:tree")
|
||||
local c_leaves = minetest.get_content_id("default:leaves")
|
||||
local c_tree = minetest.get_content_id("moontest:tree")
|
||||
local c_leaves = minetest.get_content_id("moontest:leaves")
|
||||
for j = -2, 4 do
|
||||
if j >= 1 then
|
||||
for i = -2, 2 do
|
||||
|
|
|
@ -36,6 +36,13 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:wood",
|
||||
recipe = {
|
||||
{"moontest:tree"},
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:water_source",
|
||||
recipe = {
|
||||
|
|
|
@ -209,11 +209,21 @@ minetest.register_node("moontest:sapling", {
|
|||
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", {
|
||||
description = "Moon Leaves",
|
||||
drawtype = "allfaces_optional",
|
||||
visual_scale = 1.3,
|
||||
tiles = {"default_leaves.png"},
|
||||
tiles = {"moontest_leaves.png"},
|
||||
paramtype = "light",
|
||||
groups = {snappy=3, leafdecay=3, flammable=2, leaves=1},
|
||||
drop = {
|
||||
|
|
BIN
mods/moontest/textures/default_torch_animated.png
Normal file
BIN
mods/moontest/textures/default_torch_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
mods/moontest/textures/default_torch_on_ceiling_animated.png
Normal file
BIN
mods/moontest/textures/default_torch_on_ceiling_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
mods/moontest/textures/default_torch_on_floor_animated.png
Normal file
BIN
mods/moontest/textures/default_torch_on_floor_animated.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
mods/moontest/textures/moontest_leaves.png
Normal file
BIN
mods/moontest/textures/moontest_leaves.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 406 B |
BIN
mods/moontest/textures/moontest_tree.png
Normal file
BIN
mods/moontest/textures/moontest_tree.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 641 B |
BIN
mods/moontest/textures/moontest_tree_top.png
Normal file
BIN
mods/moontest/textures/moontest_tree_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 762 B |
Loading…
Add table
Reference in a new issue