From 85a47b70497d6ca3546e00cecae86f3f50b1fe94 Mon Sep 17 00:00:00 2001 From: Beha Date: Mon, 9 Jan 2017 13:59:47 -0500 Subject: [PATCH] Add the abandoned mine, --- schematics/mine_1.mts | Bin 0 -> 1682 bytes structures.lua | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 schematics/mine_1.mts diff --git a/schematics/mine_1.mts b/schematics/mine_1.mts new file mode 100644 index 0000000000000000000000000000000000000000..81b50a8236c9f33be358483166f54e648208ae3d GIT binary patch literal 1682 zcmbtSeN<9+7{28ywJ$SWA7<3qN39Z$x>jkx>AO~B)0%nG-4L%zAh&rhk|9#5)mlWE zNv)JxHEWt?rX~>7TC$D?+K1ps$WU))VTy=?z}V^7#~V+wancJ2h%u;HOou1Ag?Ri0r5oS7Y2M&=jfn{qQu57GE$XP=!ts4JDEOC8y-qBC_ zV{a?3eK+|*=(F7s&3~m3Tm?DZ0h-*|+{GpMwZ-BE8bpFVl{g4 zRsP7-C(ZqVMX@HEv%}n7E+_K?D|mKcyMb$P)mR)U3Yx`m!)k4BoWD#{kUo8m(8H)M zKld50t1)O>xTASdCSo@`hj=YEL|yjKrYRsJ3NqT~c#+FDs?&{v4Bj1W0ai#>i$R|A zl*GxdBXkego{Rag&iP1*<8~Wrx(IOuj{OFyCX+8u(b#W^X|zL*1-72Rbd|WSOQD-d z&ND@{KgQ|g4|IH#r|&1gnJ0@xx=hVrs8dGC?zQ^k`KlI$wMc2Rlhnd3&w52KbbRt; zceLW4m*I|7Ak{eHM#GMw-oZ4z=PGNG4n7uMNoaJ2Lvac(Nf$>YVKFLykiX*PyqFg$ zyke*Xn*Ct7U`uG8R9%`IEueHaXlH6SUb_x6TV{WedU(<<#`RKlC2IBWa3)folUO`}{sIEMv zxpgRgah80(+4*^{^r^bMoXDTylufjOdy7h`JO>e5=QRE1-S8?YF-w0SHo||iaNO=Q zg|v+g$8=M45yC7~ef8p#FU#UEHSekVvd6b~Fa;?iLb$e4-MRkgOjn~)ar(M(?UU=# zi;OSbKO_JEfN%22F}c|KQXkg{H~R1LTW%67JZ{}i#@FKNmC&g{5u9^xq<&!}25=#h zc5s6>A68LpVYMd%Mx6CY)Fu5<1>9OtctDY&a|CS982K_EE2kH4{M|zE0@}?pRJfui z0$`7Sva~fe`0R)yw-}2xkCg*(M@U=bgiXGdnkI41L*CM+T&X$jOz}-@=Zs%EN>uk_ zxGHLK?Sz%Aw&ShmYW>7^J@8Ugcd=7mVe7$^M*5n+IrUYsl-{PT&K8ha)7y63qBtyL zW1!e5OHtNbYqwe1aosFIM#*X8xf`(pIv5@UI(w1@8M1u@mux;TWr}e(-ZiRVb*V)a z9dm`-=*2i0)jGP`W=RzcHP8oIzDCCUd6=Qi(4BZ(ilwP{;uZP W`|p>jM|&C2F#r(a@>pSiUjGksD`m(4 literal 0 HcmV?d00001 diff --git a/structures.lua b/structures.lua index e5afda1..75ba856 100644 --- a/structures.lua +++ b/structures.lua @@ -183,3 +183,27 @@ if rawget(_G, 'kingdoms') then }) end) end + +ancient_world.register("ancient_world:mine_1", { + schematic = minetest.get_modpath("ancient_world") .. "/schematics/mine_1.mts", + type = "decoration", + on = {"default:dirt_with_grass"}, + offset = { + x = 0, + y = -48, + z = 0, + }, + limit_y = { + max = 8, + min = -31000, + }, + replacements = { + ["ancient_world:placeholder_2"] = "air", + }, + random_replacements = { + ["ancient_world:placeholder_1"] = true, + ["ancient_world:placeholder_3"] = (rawget(_G, 'kingdoms') and + {"default:stone_with_gold", "default:stone_with_copper", "default:stone_with_iron", "kingdoms:stone_with_silver"} or + {"default:stone_with_gold", "default:stone_with_copper", "default:stone_with_iron"}), + }, +})