diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-02-07 10:32:57 -0500 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-02-07 10:32:57 -0500 |
| commit | 3b07acb43c5f865c65094ae891f5a2dc791c8088 (patch) | |
| tree | 45e65344aa4ff277c48834344c723cc57f4387a9 /RGens/data/sample-grammars/diablo-ii | |
| parent | 03838b1b6c0a71042b69b2cb3de5faaf7a526596 (diff) | |
Update
Diffstat (limited to 'RGens/data/sample-grammars/diablo-ii')
| -rwxr-xr-x | RGens/data/sample-grammars/diablo-ii/.DS_Store | bin | 0 -> 6148 bytes | |||
| -rwxr-xr-x | RGens/data/sample-grammars/diablo-ii/diabloii.gram | 46 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/diablo-ii/diabloiiitems.gram | 202 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram | 108 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/diablo-ii/diabloiiprefixes.gram | 171 | ||||
| -rwxr-xr-x | RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram | 216 |
6 files changed, 743 insertions, 0 deletions
diff --git a/RGens/data/sample-grammars/diablo-ii/.DS_Store b/RGens/data/sample-grammars/diablo-ii/.DS_Store Binary files differnew file mode 100755 index 0000000..5008ddf --- /dev/null +++ b/RGens/data/sample-grammars/diablo-ii/.DS_Store diff --git a/RGens/data/sample-grammars/diablo-ii/diabloii.gram b/RGens/data/sample-grammars/diablo-ii/diabloii.gram new file mode 100755 index 0000000..d16b4f9 --- /dev/null +++ b/RGens/data/sample-grammars/diablo-ii/diabloii.gram @@ -0,0 +1,46 @@ +# Load other files +pragma load-sub-grammar [item-act] diabloiiitems.gram +pragma load-sub-grammar [perishables] diabloiiperish.gram +pragma load-sub-grammar [prefix] diabloiiprefixes.gram +pragma load-sub-grammar [suffix] diabloiisuffixes.gram + +[base-treasures] [base-treasure] + [base-treasure] as well as [base-treasure] + [base-treasure] or [base-treasure] + [base-treasure] , and [base-treasure] as well as [base-treasure] + [base-treasure] , [base-treasure] or [base-treasure] + +pragma initial-rule [base-treasures] + +[base-treasure] a(n) [item] + [non-item] + +[non-item] [money] + [money] + nothing + +[money] [amount] [money-type] + +[amount] 1 + 5 + 10 + 20 + 50 + 100 + 200 + 500 + 1000 + +[money-type] [metal-type] coin(s) + +[metal-type] copper + silver + gold + platinum + +[item] [item-act] + [item-act] of [suffix] + [item-act] of [suffix] and [suffix] + +pragma prefix-with [item] [prefix] +pragma prefix-with [item] [prefix] diff --git a/RGens/data/sample-grammars/diablo-ii/diabloiiitems.gram b/RGens/data/sample-grammars/diablo-ii/diabloiiitems.gram new file mode 100755 index 0000000..c6abc09 --- /dev/null +++ b/RGens/data/sample-grammars/diablo-ii/diabloiiitems.gram @@ -0,0 +1,202 @@ +[item-act] [armor] + [headgear] + [accoutrements] + [shields] + [knives] + [swords] + [clubs] + [spears] + [polearms] + [axes] + [bows] + [crossbows] + [wands] + [staves] + [accessories] + [gems] + [inscriptions] + [perishables] + +[armor] cape + rags + cloak + robe + quilted armor + leather armor + hard leather armor + studded leather armor + ring mail + scale mail + chainmail + breast plate + light plate + splint mail + plate mail + field plate + ancient armor + gothic plate + full plate mail + +[headgear] cap + helm + mask + crown + +[headgear-kind] full + great + bone + +pragma prefix-with [headgear] [headgear-kind] + +[accoutrements] gloves + sash + boots + bracers + belt + gauntlets + girdle + +[acc-kind] leather + chain + plate + +pragma prefix-with [accoutrements] [acc-kind] + +[shields] buckler + shield + [shield-size] shield + [shield-type] shield + [shield-size] [shield-type] shield + +[shield-size] small + large + huge + +[shield-type] kite + spiked + bone + tower + gothic + +[knives] dagger + throwing knife + kris + +[swords] sword + sabre + blade + scimitar + falchion + claymore + +[sword-kind] long + broad + short + bastard + two-handed + +pragma prefix-with [swords] [sword-kind] + +[clubs] club + spiked club + mace + morning star + flail + war hammer + maul + malus + +[spears] javelin + spear + pilum + glaive + trident + pike + brandistock + +[polearms] bardiche + scythe + poleax + halberd + +[axes] axe + [axe-size] axe + [axe-type] axe + [axe-size] [axe-type] axe + +[axe-size] small + large + giant + +[axe-type] throwing + broad + battle + great + +[bows] arrow ( [amount] count) + bow + [bow-size] bow + [bow-type] bow + [bow-size] [bow-type] bow + +[bow-size] short + long + +[bow-type] hunter’s + composite + battle + war + +[crossbows] bolt ( [amount] count) + crossbow + [crossbow-type] crossbow + +[crossbow-type] light + repeating + heavy + +[wands] wand + [wand-type] wand + torch + scepter + [wand-type] scepter + +[wand-type] bone + yew + +[staves] staff + +[staff-type] short + long + gnarled + composite + battle + war + +pragma prefix-with [staves] [staff-type] + +[accessories] charm + ring + flag + orb + amulet + +[gems] [gem-type] + +[gem-quality] chipped + flawed + flawless + perfect + +[gem-type] amethyst + diamond + emerald + ruby + sapphire + topaz + +pragma prefix-with [gems] [gem-quality] + +[inscriptions] scroll + rune + book diff --git a/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram b/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram new file mode 100755 index 0000000..26117d6 --- /dev/null +++ b/RGens/data/sample-grammars/diablo-ii/diabloiiperish.gram @@ -0,0 +1,108 @@ +[perishables] [perishable-type] of [perishable-effect] + [perishable-effect] [perishable-type] + [bodypart] of [perishable-effect] + +[bodypart] heart + brain + jawbone + eye + ear + horn + tail + fang + quill + scalp + spleen + soul + +[perishable-type] potion + oil + herb + elixir + resin + +[perishable-effect] [restore-effect] + light [restore-effect] + full [restore-effect] + detox + restoration + flaming + explosive + fulminating + [gas-type] gas + acidic + energizing + strengthening + empowering + artful + skillful + adroit + sturdy + hardy + robust + sage + shrewd + vivid + indigo + cerulean + russet + vermillion + crackling + forked + swart + atramentous + vital + enduring + urgent + fleet + brisk + swift + dazzling + fascinating + bright + solar + omniscient + mystical + arcane + strength + dexterity + vitality + intelligence + chi + spectral + fire + ice + lightning + magic + psionic + poison + energy + accuracy + damage + defense + life + power + accuracy + precision + mastery + sharpness + pain + savagery + death + hardening + imperviousness + immunity + skill + fortitude + blacksmith’s + permanence + enchantment + +[restore-effect] healing + mana + rejuvenation + chi + +[gas-type] rancid + choking + strangling diff --git a/RGens/data/sample-grammars/diablo-ii/diabloiiprefixes.gram b/RGens/data/sample-grammars/diablo-ii/diabloiiprefixes.gram new file mode 100755 index 0000000..e9f2072 --- /dev/null +++ b/RGens/data/sample-grammars/diablo-ii/diabloiiprefixes.gram @@ -0,0 +1,171 @@ +[prefix] [armor-class] + [saving-throw] + [foe-reaction] + [skill-improve] + [cursed] + [visibility] + [castability] + [magical-effect] + [personal-stat] + [to-hit] + [extra-damage] + [to-hit+damage] + [item-charges] + +[armor-class] sturdy + fine + strong + grand + valiant + glorious + blessed + awesome + saintly + holy + godly + +[saving-throw] tawny + azure + crimson + ocher + pearl + beryl + coal + jasmine + lapis + burgundy + tangerine + ivory + jade + jet + pyrite + cobalt + garnet + coral + crystal + viridian + ebony + crysolite + sapphire + ruby + amber + diamond + emerald + obsidian + topaz + prismatic + bond + +[foe-reaction] subduing + wearying + phasing + depleting + howling + chaotic + subjugating + fatiguing + exhausting + overwhelming + +[skill-improve] fletcher’s + slayer’s + summoner’s + monk’s + angel’s + archer’s + berserker’s + necromancer’s + priest’s + arch-angel’s + +[cursed] rusted + vulnerable + glass + hyena’s + frog’s + pitch + brass + tin + crystalline + weak + bent + useless + dull + clumsy + +[visibility] glowing + oracular + unseen + hidden + veiled + stalking + +[castability] lizard’s + spider’s + raven’s + snake’s + serpent’s + drake’s + dragon’s + worm’s + hydra’s + devious + fortified + vulpine + +[magical-effect] extending + chrono + augmenting + catalyzing + +[personal-stat] blue + red + orange + white + black + tough + swift + brilliant + mighty + vibrant + forceful + resilient + silver + muscular + healthy + +[to-hit] bronze + iron + silver + steel + gold + platinum + mithril + meteoric + weird + +[extra-damage] jagged + deadly + vicious + heavy + brutal + massive + savage + ruthless + merciless + +[to-hit+damage] sharp + fine + warrior’s + soldier’s + knight’s + master’s + doppelganger’s + lord’s + champion’s + king’s + +[item-charges] plentiful + jester’s + bountiful + diff --git a/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram b/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram new file mode 100755 index 0000000..66e264e --- /dev/null +++ b/RGens/data/sample-grammars/diablo-ii/diabloiisuffixes.gram @@ -0,0 +1,216 @@ +[suffix] [damage-reduction] + [defense-effect] + [durability] + [hitpoints] + [ability-scores] + [cursed] + [recovery] + [memorization] + [combat-action] + [treasure-finder] + [light-source] + [hazard-reduction] + [damage-increase] + [min-damage] + [attack-speed] + [attack-effect] + [attack-restore] + [item-damage] + [weapon-proficency] + [weapon-use] + [spell-casting] + +[damage-reduction] health + protection + absorption + life + deflection + +[defense-effect] thorns + spikes + blocking + +[durability] sturdiness + structure + the ages + bonding + unity + +[hitpoints] the [hitpoints-act] + +[hitpoints-act] jackal + fox + jaguar + wolf + eagle + tiger + lion + mammoth + whale + colossus + +[ability-scores] vitality + dexterity + magic + strength + the lynx + zest + skill + the mind + might + the leopard + vim + accuracy + brilliance + power + the jaguar + vigor + precision + sorcery + the giant + the tiger + life + perfection + wizardry + the titan + the lion + the sky + the moon + the stars + the heavens + the zodiac + +[cursed] tears + pain + brittleness + decay + fragility + the vulture + disease + atrophy + dyslexia + weakness + the cat + the pit + illness + paralysis + draining + frailty + the rat + trouble + pox + corruption + infection + ruin + the exposed + discord + the night + the dark + the void + passivity + snail + fool + +[recovery] regeneration + regrowth + +[memorization] warding + the sentinel + guarding + negation + osmosis + +[combat-action] the apprentice + the magus + balance + stability + harmony + +[treasure-finder] greed + chance + wealth + fortune + +[light-source] light + radiance + the sun + +[hazard-reduction] the thief + warmth + remedy + amelioration + defiance + purging + +[damage-increase] craftsmanship + quality + maiming + slaying + gore + devestation + the jester + carnage + slaughter + +[min-damage] measure + worth + excellence + performance + +[attack-speed] readiness + alacrity + swiftness + quickness + speed + haste + +[attack-effect] frost + flame + shock + blight + ice + fire + lightning + venom + the glacier + burning + thunder + pestilence + vileness + the crusaders + destruction + peril + the bear + the grizzly + +[attack-restore] the leech + the claw + the bat + blood + the talon + the vampire + the lamprey + +[item-damage] piercing + breaking + puncturing + smashing + bashing + +[weapon-proficency] ease + simplicity + +[weapon-use] many + plenty + +[spell-casting] [spell-number] magic + +[spell-number] 1st + 2nd + 3rd + 4th + 5th + 6th + 7th + 8th + 9th |
