summaryrefslogtreecommitdiff
path: root/data/sample-grammars/dungeondressing/monster.gram
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-04 21:14:41 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-06-04 21:14:41 -0300
commit63c7fff30d41ab691d6f49d8d7b69e60f9a9e80f (patch)
tree2addce4256bdabf4cc987fff936b4c04b9df2477 /data/sample-grammars/dungeondressing/monster.gram
parent9b9ce0c3123d70b9e839084aade4f37eb08e328d (diff)
Grammar updates
General pass to update grammars to new syntax/features
Diffstat (limited to 'data/sample-grammars/dungeondressing/monster.gram')
-rwxr-xr-xdata/sample-grammars/dungeondressing/monster.gram11
1 files changed, 8 insertions, 3 deletions
diff --git a/data/sample-grammars/dungeondressing/monster.gram b/data/sample-grammars/dungeondressing/monster.gram
index 47e1417..d3a793e 100755
--- a/data/sample-grammars/dungeondressing/monster.gram
+++ b/data/sample-grammars/dungeondressing/monster.gram
@@ -1,12 +1,17 @@
-[monster] [monster-kind]
+[monster] <^2> [monster-kind]
[monster-prefix] [monster-kind]
pragma initial-rule [monster]
-[monster-prefix] were-
+[monster-prefix] [monster-prefix-tail]
+
+pragma prefix-with [monster-prefix] <&1..3> [monster-prefix-head]
+
+[monster-prefix-tail] were-
half-
quarter-
- vampire
+
+[monster-prefix-head] vampire
giant
diseased
magic