diff --git a/docs/notepad b/docs/notepad index 24d02c0..19ae926 100644 --- a/docs/notepad +++ b/docs/notepad @@ -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 diff --git a/mods/fl_trees/nodes.lua b/mods/fl_trees/nodes.lua index 66519f7..a879944 100644 --- a/mods/fl_trees/nodes.lua +++ b/mods/fl_trees/nodes.lua @@ -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") diff --git a/mods/fl_trees/readme b/mods/fl_trees/readme index 81a1a16..da300d6 100644 --- a/mods/fl_trees/readme +++ b/mods/fl_trees/readme @@ -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 (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 \ No newline at end of file +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 \ No newline at end of file diff --git a/mods/fl_trees/textures/farlands_acacia_planks.png b/mods/fl_trees/textures/farlands_acacia_planks.png new file mode 100644 index 0000000..4b9f313 Binary files /dev/null and b/mods/fl_trees/textures/farlands_acacia_planks.png differ diff --git a/mods/fl_trees/textures/farlands_apple_planks.png b/mods/fl_trees/textures/farlands_apple_planks.png new file mode 100644 index 0000000..e1d4506 Binary files /dev/null and b/mods/fl_trees/textures/farlands_apple_planks.png differ diff --git a/mods/fl_trees/textures/farlands_aspen_planks.png b/mods/fl_trees/textures/farlands_aspen_planks.png new file mode 100644 index 0000000..2b01c88 Binary files /dev/null and b/mods/fl_trees/textures/farlands_aspen_planks.png differ diff --git a/mods/fl_trees/textures/farlands_pine_planks.png b/mods/fl_trees/textures/farlands_pine_planks.png new file mode 100644 index 0000000..f5acefb Binary files /dev/null and b/mods/fl_trees/textures/farlands_pine_planks.png differ diff --git a/mods/fl_trees/textures/farlands_spruce_planks.png b/mods/fl_trees/textures/farlands_spruce_planks.png new file mode 100644 index 0000000..3a02225 Binary files /dev/null and b/mods/fl_trees/textures/farlands_spruce_planks.png differ diff --git a/mods/fl_trees/textures/farlands_spruce_planks.png~ b/mods/fl_trees/textures/farlands_spruce_planks.png~ new file mode 100644 index 0000000..c82e141 Binary files /dev/null and b/mods/fl_trees/textures/farlands_spruce_planks.png~ differ diff --git a/mods/fl_trees/textures/farlands_spruce_planks_raw.png b/mods/fl_trees/textures/farlands_spruce_planks_raw.png new file mode 100644 index 0000000..43f4c48 Binary files /dev/null and b/mods/fl_trees/textures/farlands_spruce_planks_raw.png differ diff --git a/mods/fl_trees/textures/farlands_spruce_planks_v1.png b/mods/fl_trees/textures/farlands_spruce_planks_v1.png new file mode 100644 index 0000000..f3129ac Binary files /dev/null and b/mods/fl_trees/textures/farlands_spruce_planks_v1.png differ