1
0
cuberite-2a/Server/Prefabs/SinglePieceStructures/DesertWell.cubeset
12xx12 c18fe8aa45
Adding Generator For Single Piece Structures (#4830)
* the beginning of a magnificent work - added basic files and classes without functionality

* fixed checkstyle

* added imports

* moved imports

* - Adding SinglePieceStructureGen
- Adding a cPrefabChestStructure to generate Chests with contents
- Added the options and calls to the ComposableGenerator

* moved Globals to .h file

* removed the chest thingy from the code (for now)

* Update SinglePieceStructureGen.cpp

* readded whitespace

* renamed to SinglePieceStructuresGen for consistency
added new classes to test

* fixed small things (mostly style and cleanup)
removed loottables

* added small changes suggested by madmaxoft

* small change to documentation

* added check for allowed biomes

* check only the biome of the origin position

* fixed error on IsBiomeAllowed

* added new cubesets

* updated structures for with sponging

* updated biome names

* updated metadata to prevent crashing
removed debug output

* updated structures with sponging

* added sponging to deserterWell to make it disappear in sand

* small change in meta

* rename DesertTemple -> DesertPyramid

* minor style changes

Co-authored-by: 12xx12 <12xx12100@gmail.com>
Co-authored-by: Alexander Harkness <me@bearbin.net>
2020-09-17 22:20:50 +00:00

138 lines
2.3 KiB
Plaintext

-- DesertWell.cubeset
-- Defines the prefabs in the group DesertWell
-- NOTE: This file has been generated automatically by GalExport!
-- Any manual changes will be overwritten by the next automatic export!
Cubeset =
{
Metadata =
{
CubesetFormatVersion = 1,
ExportDate = "2020-08-27 10:42:17",
["AllowedBiomes"] = "Desert, DesertM, DesertHills",
["GridSizeX"] = "750",
["GridSizeZ"] = "750",
["IntendedUse"] = "SinglePieceStructures",
["MaxOffsetX"] = "100",
["MaxOffsetZ"] = "100",
["SeedOffset"] = "58612835",
},
Pieces =
{
{
OriginData =
{
ExportName = "DesertWell",
Name = "DesertWell",
GalleryName = "Desert",
GalleryIndex = "221",
ID = "1702",
CreatorName = "12xx12",
},
Size =
{
x = 5,
y = 6,
z = 5,
},
Hitbox =
{
MinX = 0,
MinY = 0,
MinZ = 0,
MaxX = 4,
MaxY = 5,
MaxZ = 4,
},
StructureBox =
{
MinX = 0,
MinY = 0,
MinZ = 0,
MaxX = 4,
MaxY = 5,
MaxZ = 4,
},
Connectors =
{
},
Metadata =
{
["AddWeightIfSame"] = "0",
["AllowedRotations"] = "7",
["DefaultWeight"] = "100",
["DepthWeight"] = "",
["ExpandFloorStrategy"] = "RepeatBottomTillNonAir",
["IsStarting"] = "1",
["MergeStrategy"] = "msSpongePrint",
["MoveToGround"] = "0",
["VerticalStrategy"] = "TerrainOrOceanTop|-3",
},
BlockDefinitions =
{
".: 0: 0", -- air
"a: 24: 0", -- sandstone
"b: 8: 0", -- water
"c: 44: 1", -- stone_slab
"m: 19: 0", -- sponge
},
BlockData =
{
-- Level 0
"aaaaa", -- 0
"aaaaa", -- 1
"aaaaa", -- 2
"aaaaa", -- 3
"aaaaa", -- 4
-- Level 1
"aaaaa", -- 0
"aaaaa", -- 1
"aabaa", -- 2
"aaaaa", -- 3
"aaaaa", -- 4
-- Level 2
"aacaa", -- 0
"aa.aa", -- 1
"c...c", -- 2
"aa.aa", -- 3
"aacaa", -- 4
-- Level 3
"mmmmm", -- 0
"ma.am", -- 1
"m...m", -- 2
"ma.am", -- 3
"mmmmm", -- 4
-- Level 4
"mmmmm", -- 0
"ma.am", -- 1
"m...m", -- 2
"ma.am", -- 3
"mmmmm", -- 4
-- Level 5
"mmmmm", -- 0
"mcccm", -- 1
"mcacm", -- 2
"mcccm", -- 3
"mmmmm", -- 4
},
}, -- DesertWell
}, -- Pieces
}