summaryrefslogtreecommitdiff
path: root/data/sample-grammars/zadrons-pouch.gram
blob: b918f1cf840a32ed579ba4b5a305368a112e0327 (plain)
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
[zadrons-pouch] → a(n) [zadrons-item]
	a(n) [quote-item] and a(n) [quote-item]
	a(n) [quote-item] and a(n) [quote-item] as well as a(n) [quote-item]
	a(n) [quote-item] or a(n) [quote-item]
	a(n) [quote-item] or a(n) [quote-item] or maybe a(n) [quote-item]

pragma initial-rule [zadrons-pouch]

[quote-item] ( [zadrons-item] )

pragma despace-rule [quote-item]

[zadrons-item] → [egg]
	[glove]
	[crys-sphere]
	[rock]
	[figurine]
	[vial]
	[mini-weapon]
	[bag]
	[zadron-card]
	[rope]
	[box]
	[wand]

pragma export-rule [zadrons-item]

[bag] → bag of [bag-type]
	[sack-type] sack
	[purse-type] purse

[bag-type] → holding
	tricks
	useful items
	devouring
	dwarf-kind
	invisible cloth
	monster summoning
	monster summoning (summons [creature-choice] )

[sack-type] → lunch
	recursive

[purse-type] → everfull

[box] → [box-type] box
	cube of [box-type]

[box-type] → limited-force
	frost-resisting
	morphing
	self-destructing
	pandora
	panicking

[zadron-card] → card of [zad-card-type]
	[zad-card-type] card

[zad-card-type] → fate
	teleporting
	elusive treasure
	spell-storing
	many-things
	imprisoning
	messaging
	bounty
	<^3> [card]

[crys-sphere] → crystal of [crystal-type]
	[crys-act]
	[crys-act]
	[crys-act]
	[crys-act]

[crys-act] → [sphere-type] spheres
	[sphere-type] sphere
	lens of [lens-type]
	[crystal-type] sphere
	ball
	ball of [crys-suffix]

pragma prefix-with [crys-act] crystal

[sphere-type] → microphonic
	seeing-eye
	immurement

[lens-type] → detection

[crystal-type] → prison
	radar
	seeing

[crys-suffix] → jumping
	scrying

[egg] → [egg-type] egg

[egg-type] → copper
	stone
	golden
	white
	white/pink
	glass

[figurine] → [fig-material] [fig-animal]

[fig-material] → golden
	onyx
	serpentine
	ivory
	marble
	bronze
	jade
	limestone

[fig-animal] → lion
	dog
	owl
	goat
	elephant
	warrior
	palace
	leprechaun

[glove] → gauntlets of [gauntlet-type]
	gloves of [glove-type]
	[glove-type] gloves

[gauntlet-type] → dexterity
	power

[glove-type] → pushing
	choking
	bigby
	stunning

[mini-weapon] → minature [weapon-type]
	small [weapon-type]
	tiny [weapon-type]
	[sling-type] sling
	[weapon-type]

[weapon-type] → boomerang
	arrow
	net
	catapult
	hammer
	sword
	club

[sling-type] → seeking

[rock] → [pebble-type] pebble
	stone of [stone-type]
	[stone-type] stone
	brick of [brick-type]
	[geode-type] geode

[pebble-type] → inscribed
	elemental control
	[elemental] control

[stone-type] → good-luck
	weight
	blind-defense
	metal-clinging

[brick-type] → flying

[geode-type] → ioun

[rope] → [rope-type] rope
	rope of [rope-type]
	ball of [string-type] [string-kind]

[rope-type] → trick
	entangling
	climbing
	dancing
	tripping
	snaring
	levitating
	self-entangling

[string-type] → endless

[string-kind] → string
	yarn

[vial] → vial of [vial-type]
	[vial-type] vial
	[bottle-type] bottle
	[flask-type] flask

[vial-type] → holding
	trapping
	experience
	unnatural regeneration

[bottle-type] → ever-smoking
	wheezing
	blank potion

[flask-type] → iron

[wand] → [wand-type] wand
	wand of [wand-type]
	canceling [wand-type] wand

[wand-type] → magic missile
	[spell-1]
	[spell-2]
	gusting
	life-detecting
	zadron

[spell-1] → frost
	fire
	lightining
	fear
	illumination
	polymorphing
	conjuration
	paralyzing

[spell-2] → [spell2-type] detecting

[spell2-type] → magic
	enemy
	secret door/trap