File size: 1,818 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
-- ========== GENERATED BY ExtrasGen Editor (Ctrl-Alt-G) DO NOT EDIT MANUALLY! ==========

PlaceObj('ExtrasGen', {
	RequiresClass = "EditorLineGuide",
	RequiresGuideType = "Horizontal",
	ToolbarSection = "Horizontal Objects",
	group = "PlaceObjects",
	id = "LayColonialStairs",
	PlaceObj('MoveSizeGuides', {
		Along = -1200,
		AlongScale = 1200,
		GuidesVar = "initial_selection",
		SizeChange = -2400,
		SizeChangeScale = 1200,
		UpDown = 700,
		UpDownScale = 700,
	}),
	PlaceObj('PrgIf', {
		Condition = function (self) return #initial_selection >= 4 end,
		PlaceObj('LaySlabsAlongGuides', {
			GuidesVar = "initial_selection",
			Middle = {
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_01",
					Rotate = 5400,
					Weight = 80,
				}),
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_02",
					Rotate = 5400,
					Weight = 20,
				}),
			},
			SnapToNearestWall = false,
			SnapToVoxelEdge = false,
			Start = {
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_Edge_01",
					Mirror = true,
				}),
			},
			StartIsSlab = true,
		}),
	}),
	PlaceObj('PrgElse', {
		PlaceObj('LaySlabsAlongGuides', {
			End1 = {
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_Edge_01",
				}),
			},
			EndIsSlab = true,
			GuidesVar = "initial_selection",
			Middle = {
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_01",
					Rotate = 5400,
					Weight = 80,
				}),
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_02",
					Rotate = 5400,
					Weight = 20,
				}),
			},
			SnapToNearestWall = false,
			SnapToVoxelEdge = false,
			Start = {
				PlaceObj('PlaceObjectData', {
					EditorClass = "Stairs_Colonial_Edge_01",
					Mirror = true,
				}),
			},
			StartIsSlab = true,
		}),
	}),
})