Allow opening chests when wielding corals
[oweals/minetest_game.git] / schematic_tables.txt
index ee25b8228e918cc56c47fe3e7bd56e9d28895be4..a33300f7312e6c42e725221d301e78b2b768b7b5 100644 (file)
@@ -9,7 +9,7 @@ The following tables are for pasting into mods that contain a function to
 convert the Lua tables into .mts files. Such mods often have two functions to
 process two formats of the 'data' table:
 
-The standard table format is described in the 'Schematic specifier' section of 
+The standard table format is described in the 'Schematic specifier' section of
 the lua_api.txt file in the Minetest Engine.
 The 'data' table appears as a sequence of vertical slices through the structure
 the schematic describes.
@@ -1756,7 +1756,7 @@ mts_save("small_pine_tree", {
                L, L, T, L, L,
                _, L, T, L, _,
                _, L, T, L, _,
-               _, L, L, L, _,
+               _, L, T, L, _,
                _, L, L, L, _,
                _, _, L, _, _,
                _, _, L, _, _,
@@ -1834,7 +1834,7 @@ mts_save("small_pine_tree_from_sapling", {
                L, L, B, L, L,
                _, L, B, L, _,
                _, L, B, L, _,
-               _, L, L, L, _,
+               _, L, B, L, _,
                _, L, L, L, _,
                _, _, L, _, _,
                _, _, L, _, _,
@@ -1914,7 +1914,7 @@ mts_save("snowy_small_pine_tree_from_sapling", {
                L, L, B, L, L,
                S, L, B, L, S,
                _, L, B, L, _,
-               _, L, L, L, _,
+               _, L, B, L, _,
                _, L, L, L, _,
                _, S, L, S, _,
                _, _, L, _, _,
@@ -2050,15 +2050,50 @@ local R = {name = "default:cactus", prob = 255, param2 = 20, force_place = true}
 local E = {name = "default:cactus", prob = 127, param2 = 20}
 
 mts_save("large_cactus", {
-       size = {x = 5, y = 7, z = 1},
+       size = {x = 5, y = 7, z = 5},
        data = {
-               _, _, R, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+
                _, _, C, _, _,
+               _, _, R, _, _,
                _, _, C, _, _,
                C, C, C, C, C,
                C, _, C, _, C,
                E, _, C, _, E,
                _, _, C, _, _,
+
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+               _, _, _, _, _,
+       },
+       yslice_prob = {
+               {ypos = 2, prob = 127},
        },
 })
 
@@ -2083,44 +2118,6 @@ mts_save("papyrus", {
 })
 
 
--- Corals
-
-local C = {name = "default:coral_brown", prob = 255, force_place = true}
-local c = {name = "default:coral_brown", prob = 191, force_place = true}
-local O = {name = "default:coral_orange", prob = 255, force_place = true}
-local o = {name = "default:coral_orange", prob = 191, force_place = true}
-local X = {name = "default:coral_skeleton", prob = 255, force_place = true}
-local x = {name = "default:coral_skeleton", prob = 63, force_place = true}
-
-mts_save("corals", {
-       size = {x = 5, y = 3, z = 5},
-       data = {
-               _, _, _, _, _,
-               o, C, O, c, _,
-               _, C, x, _, _,
-
-               _, _, X, _, _,
-               C, O, O, C, o,
-               c, c, O, o, x,
-
-               _, X, X, X, _,
-               c, C, C, O, O,
-               O, C, O, C, c,
-
-               _, _, X, _, _,
-               x, O, C, O, C,
-               _, x, C, O, _,
-
-               _, _, _, _, _,
-               _, o, O, C, c,
-               _, _, o, _, _,
-       },
-       yslice_prob = {
-               {ypos = 2, prob = 127},
-       }
-})
-
-
 -- Bush
 
 local L = {name = "default:bush_leaves", prob = 255}
@@ -2146,6 +2143,24 @@ mts_save("bush", {
 })
 
 
+-- Blueberry bush
+
+local L = {name = "default:blueberry_bush_leaves_with_berries", prob = 255, force_place = true}
+local M = {name = "default:blueberry_bush_leaves_with_berries", prob = 223}
+local N = {name = "default:blueberry_bush_leaves_with_berries", prob = 95}
+
+mts_save("blueberry_bush", {
+       size = {x = 3, y = 1, z = 3},
+       data = {
+               N, M, N,
+
+               M, L, M,
+
+               N, M, N,
+       },
+})
+
+
 -- Acacia bush
 
 local L = {name = "default:acacia_bush_leaves", prob = 255}