{
	schematicYOffsets: {
		"story/devastationarea-present": -23,
		"story/devastationarea-past": -23,
		"story/village": -4,
		"story/lazaret": 7,
		"story/tobiascave": -7,
		"story/treasurehunter": -1,
	},
	structures: [
		{
			code: "resonancearchive",
			group: "storystructure",
			name: "Resonance Archive",
			schematics: ["story/resoarchive"],
			buildProtected: true,
			buildProtectionName: "custommessage-sacred",
			buildProtectionDesc: "Resonance Archives",
			placement: "underground",
			dependsOnStructure: "spawn",
			minSpawnDistX: -1000,
			maxSpawnDistX: 1000,
			minSpawnDistZ: 4000,
			maxSpawnDistZ: 6000,
			requireLandform: "hillplateu",
			landformRadius: 200,
            // radius = 0 means it only checks within the schematic/structure cuboid itself
            // if a radius > 0 is specified, it will check the exact radius and ignore the cuboid
			skipGenerationCategories: { "structures": 0,"rivulets": 0, "stalag": 0, "hotsprings": 200, "patches": 0}
		},
		{
			code: "lazaret",
			group: "storystructure",
			name: "Lazaret area",
			schematics: ["story/lazaret"],
			buildProtected: true,
			buildProtectionName: "custommessage-sacred",
			buildProtectionDesc: "Lazaret",
			placement: "SurfaceRuin",
			dependsOnStructure: "spawn",
			minSpawnDistX: 7000,
			maxSpawnDistX: 8000,
			minSpawnDistZ: 1000,
			maxSpawnDistZ: 2000,
			requireLandform: "veryflat",
			landformRadius: 200,
			generateGrass: true,
			skipGenerationCategories: { "structures": 200, "rivulets": 0, "stalag": 0, "caves": 50, "hotsprings": 200, "patches": 0, "pond":200 },
			replacewithblocklayers: ["soil-medium-normal","soil-medium-none","soil-medium-verysparse","soil-medium-sparse","soil-low-normal","soil-low-none","soil-low-verysparse","soil-low-sparse","packeddirt"],
			rockTypeRemapGroup: "underground",
			"ExcludeSchematicSizeProtect":true,
			CustomLandClaims: [
				{ x1: 0, y1: 0, z1: 0, x2: 42, y2: 39, z2: 34 },
				{ x1: 10, y1: 39, z1: 5, x2: 13, y2: 46, z2: 8 },
				{ x1: 10, y1: 39, z1: 16, x2: 13, y2: 46, z2: 19 },
				{ x1: 10, y1: 39, z1: 21, x2: 13, y2: 46, z2: 24 },
				{ x1: 24, y1: 39, z1: 13, x2: 28, y2: 47, z2: 17 }
			],
		},
		{
			code: "village",
			group: "storystructure",
			name: "Village area",
			schematics: ["story/village"],
			buildProtected: true,
			buildProtectionName: "custommessage-nadiya",
			buildProtectionDesc: "The Village",
            AllowUseEveryone: false,
            AllowTraverseEveryone: true,
			placement: "surface",
			dependsOnStructure: "lazaret",
			minSpawnDistX: 6000,
			maxSpawnDistX: 8000,
			minSpawnDistZ: 0,
			maxSpawnDistZ: 2000,
			forceRain: 134,
			forceTemperature: 10,
			requireLandform: "veryflat",
			landformRadius: 200,
			skipGenerationCategories: { "structures": 200, "trees": 120, "shrubs": 120 , "hotsprings": 200, "pond":200 , "rivulets": 0, "caves": 0, "patches":0}
		},
		{
			code: "devastationarea",
			group: "storystructure",
			name: "Devastation area",
			schematics: ["story/devastationarea-present"],
			buildProtected: true,
			buildProtectionName: "custommessage-sacred",
			buildProtectionDesc: "Devastation Area",
			placement: "surface",
			dependsOnStructure: "village",
			minSpawnDistX: 1000,
			maxSpawnDistX: 2000,
			minSpawnDistZ: 7000,
			maxSpawnDistZ: 8000,
			requireLandform: "veryflat",
            disableSurfaceTerrainBlending: true,
			landformRadius: 800,
			generationRadius: 700,
			skipGenerationCategories: {
				"structures": 800, "trees": 700, "shrubs": 700, "hotsprings": 800,
				"patches": 780, "caves": 750, "rivulets": 700, "stalag": 0, "pond":800, "creatures": 780
			},
			"ExcludeSchematicSizeProtect":true,
			extraLandClaimX: 460,
			extraLandClaimZ: 460
		},
		{
			code: "tobiascave",
			group: "storystructure",
			name: "Tobias cave area",
			schematics: ["story/tobiascave"],
			buildProtected: true,
			buildProtectionName: "custommessage-tobias",
			buildProtectionDesc: "Tobias Cave",
            AllowUseEveryone: false,
            AllowTraverseEveryone: true,
			placement: "surface",
			dependsOnStructure: "village",
			minSpawnDistX: 2000,
			maxSpawnDistX: 3000,
			minSpawnDistZ: 1000,
			maxSpawnDistZ: 2000,
			requireLandform: "veryflat",
			landformRadius: 200,
			generateGrass: true,
			skipGenerationCategories: { "structures": 200, "pond":100, "stalag": 100, "patches": 30, "hotsprings": 100, "caves": 120, "rivulets": 0},
			replacewithblocklayers: ["soil-medium-normal","soil-medium-none","soil-medium-verysparse","soil-medium-sparse","soil-low-normal","soil-low-none","soil-low-verysparse","soil-low-sparse"],
			rockTypeRemapGroup: "underground",
			"ExcludeSchematicSizeProtect":true,
			"CustomLandClaims": [
                { x1: 85, y1: 7, z1: 72, x2: 127, y2: 24, z2: 113 },
				{ x1: 95, y1: 14, z1: 113, x2: 103, y2: 24, z2: 124 }
			],
		},
		{
			code: "treasurehunter",
			group: "storystructure",
			name: "Treasure Hunter",
			schematics: ["story/treasurehunter"],
			buildProtected: true,
			buildProtectionName: "custommessage-treasurehunter",
			buildProtectionDesc: "Treasure Hunter",
            allowUseEveryone: false,
            allowTraverseEveryone: true,
			placement: "surface",
            UseWorldgenHeight: true,
            generateGrass: true,
			dependsOnStructure: "spawn",
			minSpawnDistX: -900,
			maxSpawnDistX: 900,
			minSpawnDistZ: -1100,
			maxSpawnDistZ: 1000,
			requireLandform: "veryflat",
			landformRadius: 200,
			replacewithblocklayers: ["soil-medium-normal","soil-medium-none","soil-medium-verysparse","soil-medium-sparse","soil-low-normal","soil-low-none","soil-low-verysparse","soil-low-sparse"],
			skipGenerationCategories: {"trees": 10, "shrubs": 10, "structures": 100,"rivulets": 10, "stalag": 0, "hotsprings": 200, "patches": 10}
		}
	],
	rocktypeRemapGroups: {
		"underground": {
			"ore-*-andesite":"ore-*-{rock}",
			"ore-*-chalk":"ore-*-{rock}",
			"ore-*-chert":"ore-*-{rock}",
			"ore-*-conglomerate":"ore-*-{rock}",
			"ore-*-limestone":"ore-*-{rock}",
			"ore-*-claystone":"ore-*-{rock}",
			"ore-*-granite":"ore-*-{rock}",
			"ore-*-sandstone":"ore-*-{rock}",
			"ore-*-shale":"ore-*-{rock}",
			"ore-*-basalt":"ore-*-{rock}",
			"ore-*-peridotite":"ore-*-{rock}",
			"ore-*-phyllite":"ore-*-{rock}",
			"ore-*-slate":"ore-*-{rock}",
			"ore-*-obsidian":"ore-*-{rock}",
			"ore-*-kimberlite":"ore-*-{rock}",
			"ore-*-scoria":"ore-*-{rock}",
			"ore-*-tuff":"ore-*-{rock}",
			"ore-*-bauxite":"ore-*-{rock}",
			"ore-*-halite":"ore-*-{rock}",
			"ore-*-suevite":"ore-*-{rock}",
			"ore-*-whitemarble":"ore-*-{rock}",
			"ore-*-redmarble":"ore-*-{rock}",
			"ore-*-greenmarble":"ore-*-{rock}",
			"drystonefence-granite-ns-free": "drystonefence-{rock}-ns-free",
			"drystonefence-granite-ew-free": "drystonefence-{rock}-ew-free",
			"ore-flint-granite": "ore-flint-{rock}",
			"crackedrock-granite": "rock-{rock}",
			"rock-granite": "rock-{rock}",
			"gravel-granite": "gravel-{rock}",
			"sand-granite": "sand-{rock}",
			"ore-quartz-granite": "ore-quartz-{rock}",
			"stalagsection-granite-04": "stalagsection-{rock}-04",
			"stalagsection-granite-06": "stalagsection-{rock}-06",
			"stalagsection-granite-08": "stalagsection-{rock}-08",
			"stalagsection-granite-10": "stalagsection-{rock}-10",
			"stalagsection-granite-12": "stalagsection-{rock}-12",
			"stalagsection-granite-14": "stalagsection-{rock}-14",

			"cobblestone-granite": "cobblestone-{rock}",
			"cobblestone-conglomerate": "cobblestone-{rock}",
			"cobblestoneslab-granite-down-free": "cobblestoneslab-{rock}-down-free",
			"cobblestonestairs-granite-up-south-free": "cobblestonestairs-{rock}-up-south-free",
			"cobblestonestairs-granite-up-north-free": "cobblestonestairs-{rock}-up-north-free",
			"cobblestonestairs-granite-up-west-free": "cobblestonestairs-{rock}-up-west-free",
			"cobblestonestairs-granite-up-east-free": "cobblestonestairs-{rock}-up-east-free",
			"stonebricks-granite": "stonebricks-{rock}",
			"stonebricks-conglomerate": "stonebricks-{rock}",
			"agedstonebricks-granite": "agedstonebricks-{rock}",
			"crackedstonebricks-granite": "crackedstonebricks-{rock}",
			"cobblestonestairs-granite-down-south-free": "cobblestonestairs-{rock}-down-south-free",
			"cobblestonestairs-granite-down-north-free": "cobblestonestairs-{rock}-down-north-free",
			"cobblestonestairs-granite-down-west-free": "cobblestonestairs-{rock}-down-west-free",
			"cobblestonestairs-granite-down-east-free": "cobblestonestairs-{rock}-down-east-free",
			"cobbleskull-granite": "cobbleskull-{rock}",
			"cobblestoneslab-granite-up-free": "cobblestoneslab-{rock}-up-free",
			"loosestones-granite-free": "loosestones-{rock}-free",
			"cobblestoneslab-granite-east-free": "cobblestoneslab-{rock}-east-free",
			"cobblestoneslab-granite-south-free": "cobblestoneslab-{rock}-south-free",
			"looseflints-granite-free": "looseflints-{rock}-free",
			"cobblestoneslab-granite-west-free": "cobblestoneslab-{rock}-west-free",
			"cobblestoneslab-granite-north-free": "cobblestoneslab-{rock}-north-free",
			"polishedrockslab-granite-west-free": "polishedrockslab-{rock}-west-free",
			"polishedrockslab-granite-east-free": "polishedrockslab-{rock}-east-free",
			"polishedrockslab-granite-down-free": "polishedrockslab-{rock}-down-free",
			"polishedrockslab-granite-south-free": "polishedrockslab-{rock}-south-free",
			"polishedrockslab-granite-north-free": "polishedrockslab-{rock}-north-free",
			"stonebrickstairs-granite-down-north-free": "stonebrickstairs-{rock}-down-north-free",
			"stonebrickstairs-granite-down-south-free": "stonebrickstairs-{rock}-down-south-free",
			"stonebrickslab-granite-north-free": "stonebrickslab-{rock}-north-free",
			"stonebrickstairs-granite-down-west-free": "stonebrickstairs-{rock}-down-west-free",
			"rockpolished-granite": "rockpolished-{rock}",
			"rockpolished-conglomerate": "rockpolished-{rock}",
			"stonebrickslab-granite-up-free": "stonebrickslab-{rock}-up-free",
			"stonebrickstairs-granite-down-east-free": "stonebrickstairs-{rock}-down-east-free",
			"stonebrickstairs-granite-up-south-free": "stonebrickstairs-{rock}-up-south-free",
			"stonebrickslab-granite-east-free": "stonebrickslab-{rock}-east-free",
			"drystone-granite": "drystone-{rock}",
			"drystone-conglomerate": "drystone-{rock}",
			"polishedrockold-full-granite": "polishedrockold-full-{rock}",
			"polishedrockold-cobbled-granite": "polishedrockold-cobbled-{rock}",
			"looseboulders-granite-free": "looseboulders-{rock}-free"
		}
	},
}
