From db126565fd4c8c8caf979898fc4f7084a08479dc Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Fri, 8 Jun 2018 20:35:21 -0400 Subject: More grammars --- .../dungeonfantasy-treasure/household-items.gram | 101 +++++++++++ .../dungeonfantasy-treasure/mundane-materials.gram | 4 + .../dungeonfantasy-treasure/notes.txt | 4 + .../valuable-materials.gram | 185 +++++++++++++++++++++ data/new-sample-grammars/nonweapon-prof.gram | 87 ++++++++++ 5 files changed, 381 insertions(+) create mode 100644 data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram create mode 100644 data/new-sample-grammars/dungeonfantasy-treasure/mundane-materials.gram create mode 100644 data/new-sample-grammars/dungeonfantasy-treasure/notes.txt create mode 100644 data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram create mode 100644 data/new-sample-grammars/nonweapon-prof.gram (limited to 'data/new-sample-grammars') diff --git a/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram b/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram new file mode 100644 index 0000000..fdec9cc --- /dev/null +++ b/data/new-sample-grammars/dungeonfantasy-treasure/household-items.gram @@ -0,0 +1,101 @@ +[household-item] [cooking] + [decor] + [painting] + [sculpture] + [furniture] + [grooming] + [personal] + +[cooking] basin + bowl + bucket + cauldron + chopsticks + cup + dinner plate + drinking set + cooking fork + table fork + goblet + table knife + ladle + mortar and pestle + pitcher + place setting + platter + pot + skillet + cooking spit + tea set + iron teapot + wine glass + +[decor] banner + brazier + candlesticks + [censer] + complex clock + simple clock + music box + +[censer] censer + incense burner + +[painting] encaustic painting + oil painting + [tempera|watercolor] painting + pennant + +[sculpture] [scul-mat] [scul-fig] + +[scul-mat] clay + bone + [porcelain|faience] + stone + wood + ivory + +[furniture] bench + chair + folding chair + couch + footstool + headrest + mattress + pillow + rug/carpet + sheets + table + folding table + tapestry + tub + +[grooming] brush + comb + cosmetics + grooming kit + razor + scissor + strigil + +[personal] fan + mask + canopy parasol + pipe + seal + staff + tinderbox + walking stick + wand + water pipe + large wig + small wig + +# TODO +# Continue from here, page 16 of pdf +[science] abacus + +[scul-fig] sculpture + figurine + +pragma initial-rule [household-item] diff --git a/data/new-sample-grammars/dungeonfantasy-treasure/mundane-materials.gram b/data/new-sample-grammars/dungeonfantasy-treasure/mundane-materials.gram new file mode 100644 index 0000000..fb4088d --- /dev/null +++ b/data/new-sample-grammars/dungeonfantasy-treasure/mundane-materials.gram @@ -0,0 +1,4 @@ +[mundane-materials] [valuable-materials] + [household-item] + +pragma initial-rule [mundane-materials] diff --git a/data/new-sample-grammars/dungeonfantasy-treasure/notes.txt b/data/new-sample-grammars/dungeonfantasy-treasure/notes.txt new file mode 100644 index 0000000..d46a953 --- /dev/null +++ b/data/new-sample-grammars/dungeonfantasy-treasure/notes.txt @@ -0,0 +1,4 @@ +This is adapted from the GURPS 'Dungeon Fantasy - Treasure Tables' pdf + +It may not stay in this form, as various generators will probably be pulled +away for better, more detailed handling diff --git a/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram b/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram new file mode 100644 index 0000000..0177432 --- /dev/null +++ b/data/new-sample-grammars/dungeonfantasy-treasure/valuable-materials.gram @@ -0,0 +1,185 @@ +# TODO +# +# Spices +# - Add more spices +# - Add dried herbs? +# +# Fabrics +# - Add various animals for scale hide +# - Change contraband to reference the race table, when added +# - Add more otherworldly fabric types (cloth & fiber) +# +# Other +# - Expand generic entries (distilled liquour/tea/wine) + +[valuable-material] [spices] + [fabrics] + [other-valuable] + +pragma export-rule [valuable-materials] + +[spices] {@smods:=[spices-mod]} [spices-1]` + +[spices-1] allspice + anise + annato + asafetida + cardamom + cassia + chiles + cinnamon + clove + coriander + cumin + savory fungus + pepperbark + glimmerseed + fennel + fenugreek + ginger + savory + [huajiao] + mace + mustard + nigella + nutmeg + onion seed + firegrain + pepper + poppy seed + saffron + salt + sumac + tamarind + turmeric + zeodary + +[huajiao] huajiao + szechuan pepper + +[spices-mod] dwarven + savory + elven + faerie + halfling + orcish + black + white + red + +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} + +[cloth] [other-cloth] + giant-spider silk + <^2> gauze + <^2> linen + <^2> pashima wool + <^2> plain silk + <^2> samite + <^2> satin + <^2> velvet + wool + +[other-cloth] spun moonbeam + stabilized seafoam + felted tear + +[other-pelt] angelic horse + astral tiger + demon-skin + +# This is treasure, it should lean towards more valuable things + +[common-pelt] [common-pelt-1] + [exotic-pelt] + +[common-pelt-1] seal + monkey + rabbit + fox + goat + horse + ox + deer + elk + reindeer + antelope + ibex + +[exotic-pelt] nidjet + sable + ermine + jaguar + lion + tiger + wolf + bear + wyvern + ape + snake + +pragma prefix-with [exotic-pelt] [epelt-prefix] + +[epelt-prefix] dire + cave + giant + frost + fire + winter + +[fiber] linen + silk + wild silk + wool + pashmina wool + giant-spider silk + otherworldly + +pragma export-rule [fabrics] + +[other-valuable] ale + distilled liquor + flavored ale + flavored brandy + kumiz + mead + opium + black tea + green tea + date wine + rice wine + [other-wine] wine + sealing wax + ambergris + cedar resin + copal + frankincense + [%common-pelt|exotic-pelt] musk + myrrh + onycha + patchouli + sandalwood gum + flower water + perfumed essence + perfumed oil + pomander + carmine + cinnabar + ochre + henna + indigo + madder + murex + orpiment + woad + +[other-wine] dissolved stardust + lotus nectar + fermented demon's blood diff --git a/data/new-sample-grammars/nonweapon-prof.gram b/data/new-sample-grammars/nonweapon-prof.gram new file mode 100644 index 0000000..00edc40 --- /dev/null +++ b/data/new-sample-grammars/nonweapon-prof.gram @@ -0,0 +1,87 @@ +[nonweapon-prof] + +[general-prof] agriculture + animal handling + animal training + artistic ability + blacksmithing + brewing + carpentry + cobbling + cooking + dancing + direction sense + etiquette + fire-building + fishing + heraldry + modern languages + leatherworking + mining + pottery + [airborne||land-based] riding + rope use + seamanship + [seamstress||tailor] + singing + stonemasonry + swimming + weather sense + weaving + +[priest] ancient history + astrology + engineering + healing + herbalism + ancient languages + local history + musical instrument + navigation + reading/writing + religion + spellcraft + +[rogue] ancient history + appraising + blind-fighting + disguise + forgery + gaming + gem cutting + juggling + jumping + local history + musical instrument + reading libs + set snares + tightrope walking + tumbling + ventriloquism + +[warrior] animal lore + armorer + blind-fighting + [bowyer||fletcher] + charioteering + endurance + gaming + hunting + mountaineering + navigation + running + set snares + survival + tracking + weaponsmithing + +[wizard] ancient history + astrology + engineering + gem cutting + herbalism + ancient languages + navigation + reading/writing + religion + spellcraft -- cgit v1.2.3