summaryrefslogtreecommitdiff
path: root/data/sample-grammars/zadrons-pouch.gram
diff options
context:
space:
mode:
Diffstat (limited to 'data/sample-grammars/zadrons-pouch.gram')
-rwxr-xr-xdata/sample-grammars/zadrons-pouch.gram233
1 files changed, 233 insertions, 0 deletions
diff --git a/data/sample-grammars/zadrons-pouch.gram b/data/sample-grammars/zadrons-pouch.gram
new file mode 100755
index 0000000..f72cf25
--- /dev/null
+++ b/data/sample-grammars/zadrons-pouch.gram
@@ -0,0 +1,233 @@
+[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
+ [card]
+ [card]
+ [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