summaryrefslogtreecommitdiff
path: root/data/new-sample-grammars
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-07-20 12:52:31 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-07-20 12:52:31 -0300
commit5ab1f1df04000219ae19a70c38a66dda3849b665 (patch)
tree87b722f177d0539bdd0315f42b71bd0c0f752f44 /data/new-sample-grammars
parent93884fa70a1fdcef373353639f10cec7aee7cec0 (diff)
Update grammars
Diffstat (limited to 'data/new-sample-grammars')
-rw-r--r--data/new-sample-grammars/drakensang/gems.gram17
-rw-r--r--data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram6
-rw-r--r--data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram18
-rw-r--r--data/new-sample-grammars/gems.gram2
-rw-r--r--data/new-sample-grammars/noble-jewlery.gram24
-rw-r--r--data/new-sample-grammars/nonweapon-prof.gram8
-rw-r--r--data/new-sample-grammars/perchance/meal.gram4
7 files changed, 52 insertions, 27 deletions
diff --git a/data/new-sample-grammars/drakensang/gems.gram b/data/new-sample-grammars/drakensang/gems.gram
index 8ce0467..adec6c8 100644
--- a/data/new-sample-grammars/drakensang/gems.gram
+++ b/data/new-sample-grammars/drakensang/gems.gram
@@ -2,13 +2,13 @@
[gem-type] of qaizah
[unique-gem]
-pragma prefix-with [ds-gem] [gem-adjective]
-pragma prefix-with [ds-gem] [gem-quality]
+pragma prefix-with [ds-gem] [gem-adjective] [gem-quality]
pragma initial-rule [ds-gem]
[gem-quality] <^2> [gem-quality-normal]
- [gem-quality-alt]
+ [gem-quality-alt-1]
+ [gem-quality-alt-2]
[gem-quality-normal] flawed
splintered
@@ -19,20 +19,15 @@ pragma initial-rule [ds-gem]
sacred
royal
-[gem-quality-alt] [gem-quality-alt-1]
- [gem-quality-alt-2]
-
-[gem-quality-alt-1] lesser
+[gem-quality-alt-1] <^2> lesser
cut
cruciate
astral
-
-[gem-quality-alt-2] lesser
small
large
huge
-[gem-adjective] crystal
+[gem-adjective] <?2> crystal
festive
solstice
@@ -86,5 +81,7 @@ pragma prefix-with [unique-trail-1] [gem-descr]
[unique-type] bloodstone
moonstone
+ sunstone
+ starstone
pragma prefix-with [unique-type] [gem-descr] [gem-descr]
diff --git a/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram b/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram
index fdec9cc..597fd7b 100644
--- a/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram
+++ b/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram
@@ -6,6 +6,8 @@
[grooming]
[personal]
+pragma initial-rule [household-item]
+
[cooking] basin
bowl
bucket
@@ -43,14 +45,14 @@
[painting] encaustic painting
oil painting
- [tempera|watercolor] painting
+ [tempera||watercolor] painting
pennant
[sculpture] [scul-mat] [scul-fig]
[scul-mat] clay
bone
- [porcelain|faience]
+ [porcelain||faience]
stone
wood
ivory
diff --git a/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram b/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram
index 0177432..8b30be5 100644
--- a/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram
+++ b/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram
@@ -12,13 +12,13 @@
# Other
# - Expand generic entries (distilled liquour/tea/wine)
-[valuable-material] [spices]
+[valuable-materials] [spices]
[fabrics]
[other-valuable]
-pragma export-rule [valuable-materials]
+pragma initial-rule [valuable-materials]
-[spices] {@smods:=[spices-mod]} [spices-1]`
+[spices] {@smods:=[spices-mod]} [spices-1]
[spices-1] allspice
anise
@@ -70,11 +70,11 @@ pragma export-rule [valuable-materials]
pragma prefix-with [spices-1] <&0..2> [@smods]
pragma export-rule [spices]
-[fabrics] <^2> [cloth] cloth {$unit=100sqft} {$unit+:=bolt}
- [%common-pelt|%exotic-pelt] fur {$unit=100sqft} {$unit+:=bundle}
- [%common-pelt|%exotic-pelt|contraband|%other-pelt] leather {$unit=100sqft} {$unit+:=bundle}
- scale-hide {$unit=100sqft} {$unit+:=bundle}
- [fiber] fibers {$unit=pound}
+[fabrics] <^2> [cloth] cloth
+ [%(common-pelt)||%(exotic-pelt)] fur
+ [%(common-pelt)||%(exotic-pelt)||contraband||%(other-pelt)] leather
+ scale-hide
+ [fiber] fibers
[cloth] [other-cloth]
giant-spider silk
@@ -161,7 +161,7 @@ pragma export-rule [fabrics]
cedar resin
copal
frankincense
- <?4> [%common-pelt|exotic-pelt] musk
+ <?4> [%(common-pelt)||(exotic-pelt)] musk
myrrh
onycha
patchouli
diff --git a/data/new-sample-grammars/gems.gram b/data/new-sample-grammars/gems.gram
index 4a93395..0780d9c 100644
--- a/data/new-sample-grammars/gems.gram
+++ b/data/new-sample-grammars/gems.gram
@@ -47,7 +47,7 @@ pragma initial-rule [gems]
topaz
tourmaline
-[gems] black opal
+[jewels] black opal
black sapphire
diamond
emerald
diff --git a/data/new-sample-grammars/noble-jewlery.gram b/data/new-sample-grammars/noble-jewlery.gram
index 9224dd4..3527375 100644
--- a/data/new-sample-grammars/noble-jewlery.gram
+++ b/data/new-sample-grammars/noble-jewlery.gram
@@ -1,6 +1,6 @@
-[noble-jewlery]
+#[noble-jewlery] [noble-
-pragma initial-rule [noble-jewlery]
+#pragma initial-rule [noble-jewlery]
[jewlery-material] [jewlery-material-1]
[jewlery-material-1] and [jewlery-material-1]
@@ -95,6 +95,26 @@ pragma despace-rule [gem-size]
[gem-color] <^19> [gem-color-1]
[gem-color-2]
+[gem-color-1] bright crimson
+ blood red
+ orange
+ bright yellow
+ yellow ochre
+ yellow green
+ forest green
+ teal
+ sky blue
+ cerulean
+ phthalo blue
+ violet
+ lavender
+ pink
+ brown
+ grey
+ white
+ clear
+ black
+
[gem-color-2] [gem-color-1] and [gem-color-1] [gem-pattern]
[gem-pattern] striated
diff --git a/data/new-sample-grammars/nonweapon-prof.gram b/data/new-sample-grammars/nonweapon-prof.gram
index 00edc40..03df454 100644
--- a/data/new-sample-grammars/nonweapon-prof.gram
+++ b/data/new-sample-grammars/nonweapon-prof.gram
@@ -1,4 +1,10 @@
-[nonweapon-prof]
+[nonweapon-prof] [general-prof]
+ [priest]
+ [rogue]
+ [warrior]
+ [wizard]
+
+pragma initial-rule [nonweapon-prof]
[general-prof] agriculture
animal handling
diff --git a/data/new-sample-grammars/perchance/meal.gram b/data/new-sample-grammars/perchance/meal.gram
index fa73c23..410bc7d 100644
--- a/data/new-sample-grammars/perchance/meal.gram
+++ b/data/new-sample-grammars/perchance/meal.gram
@@ -1,6 +1,6 @@
[meal] It's a [adjective] dish with [type] [main] .
The [adjective] [main] is paired with a [size] serving of [condiment] .
- A [main] with with a bit of [condiment] and some [adjective] [side] on top .
+ A [main] with a bit of [condiment] and some [adjective] [side] on top .
pragma export-rule [meal]
@@ -25,7 +25,7 @@ pragma export-rule [meal]
unusually fresh
roasted
-[size] [(small||smol)||(large||hueg)||(tiny||teeny)]
+[size] [([small||smol])||([large||hueg])||([tiny||teeny])]
[condiment] <^2> pepper
salt