From 8f16d80de43aae4b30f325a883bd4bf354ba41d8 Mon Sep 17 00:00:00 2001 From: paramat Date: Fri, 9 Dec 2016 06:16:27 +0000 Subject: [PATCH] Add logs, credit sofar --- README.txt | 2 +- init.lua | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++- license.txt | 1 + 3 files changed, 85 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index 7a737ed..4ac4cf3 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -saveschems 0.2.1 by paramat +saveschems 0.2.2 by paramat and sofar For Minetest 0.4.13 and later Depends default flowers Licenses: Code MIT. Schematics CC BY-SA 3.0 diff --git a/init.lua b/init.lua index 7f55a2e..e74ad64 100644 --- a/init.lua +++ b/init.lua @@ -1025,7 +1025,7 @@ mts_save("bush", { }, }) --- Acaica bush +-- Acacia bush local L = {name = "default:acacia_bush_leaves", prob = 255} local M = {name = "default:acacia_bush_leaves", prob = 191} @@ -1048,3 +1048,85 @@ mts_save("acacia_bush", { N, M, N, }, }) + +-- Apple tree log + +mts_save("apple_log", { + size = {x = 3, y = 3, z = 1}, + data = { + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "default:tree", param2 = 12, prob = 191}, + {name = "default:tree", param2 = 12}, + {name = "default:tree", param2 = 12, prob = 127}, + {name = "air", prob = 0}, + {name = "flowers:mushroom_brown", prob = 63}, + {name = "air", prob = 0}, + }, +}) + +-- Jungletree log + +mts_save("jungle_log", { + size = {x = 3, y = 3, z = 1}, + data = { + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "default:jungletree", param2 = 12, prob = 191}, + {name = "default:jungletree", param2 = 12}, + {name = "default:jungletree", param2 = 12, prob = 127}, + {name = "air", prob = 0}, + {name = "flowers:mushroom_brown", prob = 127}, + {name = "air", prob = 0}, + }, +}) + +-- Pine tree log + +mts_save("pine_log", { + size = {x = 3, y = 3, z = 1}, + data = { + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "default:pine_tree", param2 = 12, prob = 191}, + {name = "default:pine_tree", param2 = 12}, + {name = "default:pine_tree", param2 = 12, prob = 127}, + {name = "air", prob = 0}, + {name = "flowers:mushroom_red", prob = 63}, + {name = "air", prob = 0}, + }, +}) + +-- Acacia tree log + +mts_save("acacia_log", { + size = {x = 3, y = 2, z = 1}, + data = { + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "default:acacia_tree", param2 = 12, prob = 191}, + {name = "default:acacia_tree", param2 = 12}, + {name = "default:acacia_tree", param2 = 12, prob = 127}, + }, +}) + +-- Aspen tree log + +mts_save("aspen_log", { + size = {x = 3, y = 3, z = 1}, + data = { + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "air", prob = 0}, + {name = "default:aspen_tree", param2 = 12}, + {name = "default:aspen_tree", param2 = 12}, + {name = "default:aspen_tree", param2 = 12, prob = 127}, + {name = "flowers:mushroom_red", prob = 63}, + {name = "flowers:mushroom_brown", prob = 63}, + {name = "air", prob = 0}, + }, +}) diff --git a/license.txt b/license.txt index 7842270..48b0307 100644 --- a/license.txt +++ b/license.txt @@ -30,6 +30,7 @@ Licenses of media (schematics) Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) Copyright (C) 2014-2016 paramat +Copyright (C) 2016 sofar You are free to: Share — copy and redistribute the material in any medium or format.