diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-06-04 21:14:41 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-06-04 21:14:41 -0300 |
| commit | 63c7fff30d41ab691d6f49d8d7b69e60f9a9e80f (patch) | |
| tree | 2addce4256bdabf4cc987fff936b4c04b9df2477 /data/sample-grammars/dungeondressing | |
| parent | 9b9ce0c3123d70b9e839084aade4f37eb08e328d (diff) | |
Grammar updates
General pass to update grammars to new syntax/features
Diffstat (limited to 'data/sample-grammars/dungeondressing')
| -rwxr-xr-x | data/sample-grammars/dungeondressing/bedroom.gram | 73 | ||||
| -rwxr-xr-x | data/sample-grammars/dungeondressing/monster.gram | 11 |
2 files changed, 29 insertions, 55 deletions
diff --git a/data/sample-grammars/dungeondressing/bedroom.gram b/data/sample-grammars/dungeondressing/bedroom.gram index 8bb9449..a6e4390 100755 --- a/data/sample-grammars/dungeondressing/bedroom.gram +++ b/data/sample-grammars/dungeondressing/bedroom.gram @@ -13,9 +13,7 @@ pragma initial-rule [bedroom] deserted clearing desert island abandoned crypt - [fantasy-location-name] - [fantasy-location-name] - [fantasy-location-name] + <^3> [fantasy-location-name] [bedroom-bed] king bed with luxury sheets messy pile of wet hay @@ -26,8 +24,7 @@ pragma initial-rule [bedroom] tropical rope hammock altar -pragma prefix-with [bedroom-bed] [bed-prefix] -pragma prefix-with [bedroom-bed] [sacred-type] +pragma prefix-with [bedroom-bed] [bed-prefix] [sacred-type] [bed-prefix] ruined ancient @@ -46,21 +43,11 @@ pragma prefix-with [bedroom-bed] [sacred-type] infernal angelic -[bedroom-person] [bed-bones] - [bed-bones] +[bedroom-person] <^2> [bed-bones] jug of moonshine - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - [bed-aliveperson] - -[bedroom-lying] lying [onin] it + <^8> [bed-aliveperson] + +[bedroom-lying] lying [on|in] it draped atop it prostrated before it [tied] to it @@ -84,17 +71,13 @@ pragma prefix-with [bed-aliveperson] [bed-name] [bed-name] [full-name] , a(n) [fantasy-name] , a(n) -[bed-status] [bed-status1] - [bed-status2] - [bed-status1] [bed-status2] - [bed-status2] [bed-status1] +[bed-status] {empty} + +pragma prefix-with [bed-status] [bed-status1] [bed-status2] [bed-status1] dead decapitated - [status-alive] - [status-alive] - [status-alive] - [status-alive] + <^4> [status-alive] [status-alive] unconcious sleeping @@ -119,13 +102,8 @@ pragma prefix-with [bed-aliveperson] [bed-name] roped shackled -[onin] on - in - -[bed-bones] [pile] of [bone-status] [bones] - [pile] of [bone-status] [bones] - [pile] of [bone-status] [part-human] [bones] - [pile] of [bone-status] [part-human] [bones] +[bed-bones] <^2> [pile] of [bone-status] [bones] + <^2> [pile] of [bone-status] [part-human] [bones] [blood-puddle] [pile] pair @@ -187,11 +165,7 @@ pragma prefix-with [bed-arist] kidnapped mannequin puppet -pragma prefix-with [bed-doll] [sex] -pragma prefix-with [bed-doll] [realism] - -[sex] sex - sexy +pragma prefix-with [bed-doll] [sex|sexy] [realism] [realism] realistic unrealistic @@ -224,20 +198,18 @@ pragma prefix-with [bed-slave] [part-human] [bed-gender] male female -[part-human] [humanoids] - [part-human2] +[part-human] <^4> [humanoids] + <^2> [half-humans] + [quarter-humans] pragma prefix-with [part-human] [bed-gender] -[part-human2] [half-humans] - [quarter-humans] - -[half-humans] [half-human] +[half-humans] <^2> [half-human] [half-human] , [half-human] -[quarter-humans] [quarter-human] - [quarter-human] , [half-human] - [quarter-human] , [quarter-human] +[quarter-humans] <^4> [quarter-human] + <^2> [quarter-human] , [half-human] + <^2> [quarter-human] , [quarter-human] [quarter-human] , [quarter-human] , [quarter-human] [quarter-human] , [quarter-human] , [quarter-human] , [quarter-human] @@ -245,10 +217,7 @@ pragma prefix-with [part-human] [bed-gender] [quarter-human] quarter- [humanoids] -[humanoids] [humanoid] - [humanoid] - [humanoid] - [humanoid] +[humanoids] <^4> [humanoid] [bed-inhuman] pragma despace-rule [half-human] 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 |
