summaryrefslogtreecommitdiff
path: root/data/new-sample-grammars/dungeonfantasy-treasure
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/dungeonfantasy-treasure
parent93884fa70a1fdcef373353639f10cec7aee7cec0 (diff)
Update grammars
Diffstat (limited to 'data/new-sample-grammars/dungeonfantasy-treasure')
-rw-r--r--data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram6
-rw-r--r--data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram18
2 files changed, 13 insertions, 11 deletions
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