summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/zadrons-pouch.gram
blob: ae41ceeb369c900394b5ac3619b9a9db3568c04d (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
[zadrons-pouch] → [zadrons-item]
                  [zadrons-item] and a [zadrons-item]
                  [zadrons-item] and a  [zadrons-item] as well as a [zadrons-item]
                  [zadrons-item] or [zadrons-item]
                  [zadrons-item] or [zadrons-item] or maybe [zadrons-item]

pragma initial-rule [zadrons-pouch]

[zadrons-item] → [egg]
	         [glove]
	         [crys-sphere]
	         [rock]
	         [figurine]
	         [vial]
	         [mini-weapon]
	         [bag]
	         [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

[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

[card] → card of [card-type]
	 [card-type] card

[card-type] → fate
	      teleporting
	      elusive treasure
	      spell-storing
	      many-thing
	      imprisoning
	      messaging
	      bounty

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

[sphere-type] → microphonic
	        seeing-eye

[lens-type] → detection

[crystal-type] → prison
	         radar

[crys-suffix] → jumping

[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

[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