summaryrefslogtreecommitdiff
path: root/data/sample-grammars/dungeondressing/monster.gram
diff options
context:
space:
mode:
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