From 4af1f3ac35f6a7fe7ac2bfe625bad9abaf2e868d Mon Sep 17 00:00:00 2001 From: Niels Breuker Date: Thu, 30 Mar 2023 17:18:18 +0200 Subject: PieceGenerator: Added functionality to end a structure with a custom prefab. --- Server/Prefabs/PieceStructures/NetherFort.cubeset | 119 +++++++++++++++++++++- 1 file changed, 118 insertions(+), 1 deletion(-) (limited to 'Server/Prefabs') diff --git a/Server/Prefabs/PieceStructures/NetherFort.cubeset b/Server/Prefabs/PieceStructures/NetherFort.cubeset index 2fad9d773..ec8496fac 100644 --- a/Server/Prefabs/PieceStructures/NetherFort.cubeset +++ b/Server/Prefabs/PieceStructures/NetherFort.cubeset @@ -1773,7 +1773,124 @@ Cubeset = }, }, -- BlazePlatformOverhang - + { + OriginData = + { + ExportName = "ClosurePiece", + }, + Size = + { + x = 5, + y = 2, + z = 1 + }, + Hitbox = + { + MinX = 0, + MinY = 0, + MinZ = 0, + MaxX = 4, + MaxY = 2, + MaxZ = 0, + }, + Connectors = + { + { + Type = 0, + RelX = 2, + RelY = 1, + RelZ = 0, + Direction = 2, + } + }, + Metadata = + { + ["AddWeightIfSame"] = "0", + ["AllowedRotations"] = "7", + ["DefaultWeight"] = "100", + ["DepthWeight"] = "", + ["ExpandFloorStrategy"] = "none", + ["IsClosurePiece"] = "1", + ["MergeStrategy"] = "msSpongePrint", + ["MoveToGround"] = "0", + ["VerticalStrategy"] = "Range|40|100", + }, + BlockDefinitions = + { + ".:112:0", + "a:113:0", + }, + BlockData = + { + ".....", + ".aaa.", + } + }, -- End Piece Connector + + { + OriginData = + { + ExportName = "ClosurePiece", + }, + Size = + { + x = 5, + y = 6, + z = 1 + }, + Hitbox = + { + MinX = 0, + MinY = 0, + MinZ = 0, + MaxX = 4, + MaxY = 4, + MaxZ = 0, + }, + Connectors = + { + { + Type = 1, + RelX = 2, + RelY = 1, + RelZ = 0, + Direction = 2, + }, + { + Type = -1, + RelX = 2, + RelY = 1, + RelZ = 0, + Direction = 2, + } + }, + Metadata = + { + ["AddWeightIfSame"] = "0", + ["AllowedRotations"] = "7", + ["DefaultWeight"] = "100", + ["DepthWeight"] = "", + ["ExpandFloorStrategy"] = "RepeatBottomTillSolid", + ["IsClosurePiece"] = "1", + ["MergeStrategy"] = "msSpongePrint", + ["MoveToGround"] = "0", + ["VerticalStrategy"] = "Range|40|100", + }, + BlockDefinitions = + { + ".:112:0", + "a:113:0", + }, + BlockData = + { + ".....", + ".aaa.", + ".aaa.", + ".aaa.", + ".aaa.", + ".....", + } + }, -- End Piece Connector { OriginData = -- cgit v1.2.3