File: PLOT_Debug.txt

package info (click to toggle)
gearhead2 0.701-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 14,220 kB
  • sloc: pascal: 49,692; makefile: 95; sh: 12
file content (206 lines) | stat: -rw-r--r-- 3,477 bytes parent folder | download | duplicates (4)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
% ***
% *** Debugging and utility plots.
% ***
% *** Load them into the adventure via the "}" command.
% ***

Content
	name <Debug: TestSolo>
	desc <The lancemate has a personal job to complete. You can join it or let the LM go alone.>

	% E1 is the lancemate in question
	% E2 is the root scene
	Element1 <Character !Lancemate>
	Element2 <Scene Town>

	start <ifNPCOK %1% else .%id%_GoEndPlot   ifNPCLancemate %1% else .%id%_GoEndPlot  ifScene .%id%_scenetype if= P%id%01 0     P= %id%01 1  Alert %id%01  SetPlotStatus %plotid1% %id1%>
	.%id%_scenetype <outdoors>
	.%id%_GoEndPlot <EndPlot>

	Msg%id%01 <%name1% goes off on a solo mission.>

	% SubPlot1 is the solo mission- if the PC refuses to come along
	SubPlot1 <*LM_GoSolo 1 2>


Plot
	name <AA_TestCarve>
	% Used for generating isometric sprites of the prop meshes.
	% Back up three clicks exactly before taking the snap.

	Element1 <Scene CavClub>
	Element2 <Prefab>
	Place2 <1>

	update <if= V1 0 V= 1 1 Exit %2%>

	sub
		MetaScene 2
		MapWidth 40
		MapHeight 40
		Param <Carve 14 0 13>
		special <SHOWALL ADDEXIT>

		start <if= V1 0 V= 1 1 EndPlot MagicMap>
	end
	inv
		Encounter
	end


Plot
	name <ZZZ Debug Criminal Investigation>

	Element1 <Scene Building Public>
	Element2 <Prefab>
	Place2 <1 (Citizens) pass>
	Element3 <Scene Town>

	update <if= PlotStatus %plotid1% 0  SetPlotStatus %plotid1% %id1% Alert 1>
	Msg1 <Go investigate %name2% at \EXACT_SCENE %1% .>

	SubPlot1 <*:CriminalInvestigation 2 3>

	inv
		NPC Corporate Executive
		name <Bruce>
		chardesc Villainous

		STC CORE-ACTIVATABLE
		name <the debugging scene>
	end


Plot
	name <AA_RenderBuildings>
	% Used for generating isometric sprites of the prop meshes.
	% Back up three clicks exactly before taking the snap.

	Element1 <Scene CavClub>
	Element2 <Prefab>
	Place2 <1>

	update <if= V1 0 V= 1 1 Exit %2%>

	sub
		MetaScene 2
		MapWidth 40
		MapHeight 40
		BoxMap

		start <if= V1 0 V= 1 1 EndPlot MagicMap>
		param <Fill 1 0>

		sub
			Void
			param <Fill 23 0>
			minimap <1.2.3...............4.5.6>
			FloorType 23
			Width 15
			Height 15
			inv
				StairsUp
				MiniMapComponent 1

				Building
				Altitude 3
				NAtt 19 1 21
				MiniMapComponent 2

				Building
				Altitude 2
				NAtt 19 1 19
				MiniMapComponent 3

				Building
				Altitude 1
				NAtt 19 1 20
				MiniMapComponent 4
				PDir 1

				Building
				Altitude 1
				NAtt 19 1 15
				MiniMapComponent 5
				PDir 3

				Building
				Altitude 1
				NAtt 19 1 16
				MiniMapComponent 6
				PDir 5
			end
		end
	end
	inv
		Encounter
	end


Plot
	name <AA_RenderProp>
	% Used for generating isometric sprites of the prop meshes.
	% Back up two clicks or so before taking the snap.

	Element1 <Scene CavClub>
	Element2 <Prefab>
	Place2 <1>

	update <if= V1 0 V= 1 1 Exit %2%>

	sub
		MetaScene 2
		MapWidth 30
		MapHeight 30
		BoxMap

		start <if= V1 0 V= 1 1 EndPlot>
		param <Fill 1 0>

		sub
			Void
			param <Fill 23 0>
			minimap <1.5.2.....7...6.....3.8.4>
			Width 5
			Height 5
			inv
				STC TEST-ITEM
				MiniMapComponent 1
				PDir 0

				STC TEST-ITEM
				MiniMapComponent 2
				PDir 2

				STC TEST-ITEM
				MiniMapComponent 3
				PDir 4

				STC TEST-ITEM
				MiniMapComponent 4
				PDir 6

				STC TEST-ITEM
				MiniMapComponent 5
				PDir 1

				STC TEST-ITEM
				MiniMapComponent 6
				PDir 3

				STC TEST-ITEM
				MiniMapComponent 7
				PDir 5

				STC TEST-ITEM
				MiniMapComponent 8
				PDir 7
			end
		end
	end
	inv
		Encounter
	end