summaryrefslogtreecommitdiff
path: root/RGens/data/sample-grammars/zadrons-pouch.gram
diff options
context:
space:
mode:
Diffstat (limited to 'RGens/data/sample-grammars/zadrons-pouch.gram')
-rwxr-xr-xRGens/data/sample-grammars/zadrons-pouch.gram397
1 files changed, 198 insertions, 199 deletions
diff --git a/RGens/data/sample-grammars/zadrons-pouch.gram b/RGens/data/sample-grammars/zadrons-pouch.gram
index bb76faa..ae41cee 100755
--- a/RGens/data/sample-grammars/zadrons-pouch.gram
+++ b/RGens/data/sample-grammars/zadrons-pouch.gram
@@ -1,215 +1,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]
+[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]
+[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]
+[bag] → bag of [bag-type]
[sack-type] sack
[purse-type] purse
-[bag-type] holding
- tricks
- useful items
- devouring
- dwarf-kind
- invisible cloth
- monster summoning
+[bag-type] → holding
+ tricks
+ useful items
+ devouring
+ dwarf-kind
+ invisible cloth
+ monster summoning
-[sack-type] lunch
- recursive
+[sack-type] → lunch
+ recursive
-[purse-type] everfull
+[purse-type] → everfull
-[box] [box-type] box
+[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
+[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
-
+[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