From 0f8a22f615e6eced1bbb635f77bc27f8a0476f8a Mon Sep 17 00:00:00 2001 From: PrairieAstronomer Date: Mon, 13 Jun 2022 14:12:39 -0600 Subject: [PATCH] Added banners to tower schematic, and changed vindicators to pillagers. --- .../mcl_structures/pillager_outpost.lua | 8 +++++--- .../mcl_structures_pillager_outpost.mts | Bin 1093 -> 1217 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mods/MAPGEN/mcl_structures/pillager_outpost.lua b/mods/MAPGEN/mcl_structures/pillager_outpost.lua index 590747c63..269561e92 100644 --- a/mods/MAPGEN/mcl_structures/pillager_outpost.lua +++ b/mods/MAPGEN/mcl_structures/pillager_outpost.lua @@ -92,7 +92,7 @@ local function get_place_rank(pos) end local function spawn_pillager(pos) - minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "mobs_mc:vindicator") + minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "mobs_mc:pillager") end local function spawn_evoker(pos) minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "mobs_mc:evoker") @@ -129,12 +129,14 @@ minetest.register_abm({ local pillagers_counter = 0 for _, obj in pairs(minetest.get_objects_inside_radius(p, 30)) do local lua_entity = obj:get_luaentity() - if luaentity and luaentity.name == "mobs_mc:vindicator" then + if luaentity and luaentity.name == "mobs_mc:pillager" then pillagers_counter = pillagers_counter + 1 if pillagers_counter > 7 then return end end end - spawn_pillager(pos) + if pillagers_counter <= 8 then + spawn_pillager(pos) + end end }) -- This is a temporary fix to the fact that totems of undying are unobtainable in survival. Minecraft Outposts dont have evokers. diff --git a/mods/MAPGEN/mcl_structures/schematics/mcl_structures_pillager_outpost.mts b/mods/MAPGEN/mcl_structures/schematics/mcl_structures_pillager_outpost.mts index a26ff8429ec0489d298bbf37917650ed81c0be0d..1d3a9be648da2d9e5dbb93698b41a7fcee1f9ae3 100644 GIT binary patch delta 926 zcmV;P17ZBd2*C+MO;l4&00aOJ02Kfae}8{}e}8{}e}8{}e}8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