add planks

This commit is contained in:
wsor 2021-03-26 20:54:54 -04:00
parent 9710d12443
commit fb6d867528
11 changed files with 26 additions and 5 deletions

View File

@ -8,3 +8,6 @@ bedrock -- solid layer atm, add noise or something for one layer above it
do something with
basalt
gneiss
hardware coloring
bricks, 2 glass blocks, 2 glass panes

View File

@ -1,6 +1,7 @@
local function tree_nodes(name, tgroup, lgroup)
local tgp = tgroup or {oddly_breakable_by_hand = 3, tree = 1, trunk = 1}
local lgp = lgroup or {oddly_breakable_by_hand = 3, tree = 1, leaf = 1}
local function tree_nodes(name, tgroup, lgroup, pgroup)
local tgp = tgroup or {oddly_breakable_by_hand = 3, wood_related = 1, tree = 1, trunk = 1}
local lgp = lgroup or {oddly_breakable_by_hand = 3, wood_related = 1, tree = 1, leaf = 1}
local pgp = pgroup or {oddly_breakable_by_hand = 3, wood_related = 1, plank = 1}
minetest.register_node("fl_trees:" .. name .. "_trunk", {
description = name .. " tree trunk",
@ -20,6 +21,14 @@ local function tree_nodes(name, tgroup, lgroup)
tiles = {"farlands_" .. name .. "_leaves.png"},
groups = lgp,
})
minetest.register_node("fl_trees:" .. name .. "_plank", {
description = name .. " plank",
paramtype2 = "facedir",
--place_param2 = 0,
tiles = {"farlands_" .. name .. "_planks.png"},
groups = pgp,
on_place = minetest.rotate_node
})
end
tree_nodes("acacia")

View File

@ -6,14 +6,17 @@ farlands_acacia_trunk_top1.png
farlands_apple_trunk.png
farlands_apple_trunk_top.png
farlands_apple_leaves.png
farlands_apple_planks.png
farlands_aspen_trunk.png
farlands_aspen_trunk_top.png
farlands_aspen_leaves.png
farlands_dead_aspen_leaves.png
farlands_aspen_planks.png
farlands_aspen_sapling.png
farlands_pine_trunk.png
farlands_pine_trunk_top.png
farlands_pine_leaves.png
farlands_aspen_sapling.png
farlands_pine_planks.png
Vanessa Ezekowitz <vanessaezekowitz@gmail.com> (CC-BY_SA 4.0):
farlands_spruce_trunk.png
@ -30,4 +33,10 @@ farlands_acacia_leaves.png
wsor(aka wsor4035)(CC BY-SA 3.0)
derivied from paramat and toby109tt texture under same license
farlands_acacia_trunk_top.png
farlands_acacia_trunk_top.png
wsor(aka wsor4035)(CC BY-SA 3.0)
derivied from paramat under same license
farlands_spruce_planks_raw.png
farlands_spruce_planks_v1.png
farlands_spruce_planks.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 664 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 798 B