See 'n Say Appraisal (script)

From Elanthipedia
Revision as of 00:04, 5 March 2016 by ISHARON (talk | contribs)
Jump to navigation Jump to search
See 'n Say Appraisal (script)
Category information
Front-end Genie
Author Isharon

This is a script that appraises any weapon, shield, or armor and then echoes the appraisal in an IC way. (Shorthand appraisals, such as "l/bc/f p/r very strong," are often regarded as OOC (gibberish) when gwethed or spoken in-game.)

This script is suitable for role-players, Traders (who are often asked to appraise items), and people who are simply too lazy to type or copy and paste from the appraisal.

For IC comparisons, use See 'n Say Comparison (script).

Syntax

.APP %1 %2

%1: the item (use periods instead of spaces) %2: optional modifier (careful or quick)

For example, .APP MY.GREATSWORD CAREFUL, .APP HAMMER.ON.OAK.TABLE QUICK, and .APP ISHARON.SHIELD (for shown items).

Changelog

9/15/2015

  • Added support for bow draw strengths.

12/6/2014

  • Fixed recognition of ranged weapons.

2/23/2013

  • Added support for elemental damage and force of impact.
  • Tweaked some of the output to be clearer and more concise.

2/22/2013

  • Updated to DR 3.0 armor types.

07/18/2011

  • Fixed shield appraisals to work with the new hindrance scale.
  • Added a second version that includes weights (for skilled appraisers).

10/11/2010

  • Merged all three appraisal scripts; the appraisal script will now give all three output types.
  • Fixed the OOC armor output.

10/10/2010

  • This script now works with Durability 2.0. However, it will not display the item's construction unless you are certain about that appraisal.

Usage Notes

You do not need to type the full name of the weapon in order for it to appear in the output. The weapon name is read from the part of the appraisal that states the value.

The script should distinguish between singular and plural items when composing the output. For example, if you appraise your gauntlets, it will say, "the gauntlets are," not "the gauntlets is."

Swappable Weapons

Swappable weapons, such as bastard swords, are only partially supported by this script. If you see both appraisals when you appraise a swappable item, the script will only output the second appraisal listed. For example:

> .APP SWORD CAREFUL

A silver sword with a wing-shaped crossguard is a heavy edged melee-ranged weapon.
A silver sword with a wing-shaped crossguard trains the large edged skill.

You are certain that it could do:
low puncture damage
great slice damage
low impact damage
no fire damage
no cold damage
no electric damage

The silver sword is poorly designed for improving the force of your attacks.

You are certain that the sword is reasonably balanced and is fairly suited to gaining extra attack power from your strength.

A silver sword with a wing-shaped crossguard is a two-handed edged melee-ranged weapon.
A silver sword with a wing-shaped crossguard trains the two-handed edged skill.

You are certain that it could do:
somewhat fair puncture damage
very severe slice damage
fair impact damage
no fire damage
no cold damage
no electric damage

The silver sword is inadequately designed for improving the force of your attacks.

You are certain that the sword is soundly balanced and is reasonably suited to gaining extra attack power from your strength.

You are certain that the silver sword is of average construction, and is in pristine condition.

The script would simply treat this as a two-handed edged weapon and output that appraisal.

To get around this problem, don't appraise carefully. (This makes it less likely that you will see both weapon modes.) Run the script once, swap the weapon, and then run it again. This will force it to output both appraisals.

Sample Outputs

Melee Weapon

Verbose IC: This two-handed edged weapon can be wielded at pole range. It can inflict low puncture damage, mighty slice damage, somewhat moderate impact damage, no fire damage, no cold damage, and no electric damage. The greatsword fairly improves the force of your attacks, is poorly balanced, and is reasonably suited to taking advantage of your strength. It weighs 60 stones and is rather reinforced against damage.

Concise IC: This 60-stone greatsword can inflict low puncture damage, mighty slice damage, somewhat moderate impact damage, no fire damage, no cold damage, and no electric damage. It fairly improves the force of your attacks, is poorly balanced, and is reasonably suited to taking advantage of your strength. It is rather reinforced against damage.

OOC: two-handed edged (60 stones): low puncture/mighty slice/somewhat moderate impact/no fire/no cold/no electric, fairly improves force/poorly balanced/reasonably suited, rather reinforced against damage

Thrown Weapon

Verbose IC: This heavy thrown and heavy blunt weapon can be thrown from missile range or wielded at melee range. It can inflict no puncture damage, poor slice damage, very heavy impact damage, no fire damage, no cold damage, and no electric damage. The hammer soundly improves the force of your attacks, is inadequately balanced, and is reasonably suited to taking advantage of your strength. It weighs 50 stones and is of average construction.

Concise IC: This 50-stone hammer can inflict no puncture damage, poor slice damage, very heavy impact damage, no fire damage, no cold damage, and no electric damage. It soundly improves the force of your attacks, is inadequately balanced, and is reasonably suited to taking advantage of your strength. It is of average construction.

OOC: heavy thrown and heavy blunt (50 stones): no puncture/poor slice/very heavy impact/no fire/no cold/no electric, soundly improves force/inadequately balanced/reasonably suited, of average construction

Brawling Weapon

Verbose IC: These 35-stone footwraps are worn while brawling to increase damage. They can inflict no puncture damage, no slice damage, and heavy impact damage. They do not improve the force of your attacks. The footwraps are appreciably susceptible to damage.

Concise IC: These 35-stone footwraps can inflict no puncture damage, no slice damage, and heavy impact damage. They do not improve the force of your attacks and are appreciably susceptible to damage.

OOC: Brawling weapon (35 stones): no puncture/no slice/heavy impact, do not improve force, appreciably susceptible to damage

Parry Stick

Verbose IC: This 35-stone parry stick is a purely defensive item that is simply worn in combat. It is soundly balanced and marginally vulnerable to damage.

Concise IC: This 35-stone parry stick is soundly balanced and marginally vulnerable to damage.

OOC: Parry stick (35 stones): soundly balanced and marginally vulnerable to damage

Ranged Weapon

Verbose IC: This long bow can be used from missile range. The longbow superbly improves the force of your attacks, is well balanced, and is well suited to taking advantage of your strength. It weighs 35 stones and is appreciably susceptible to damage.

Concise IC: This 35-stone longbow superbly improves the force of your attacks, is well balanced, is and well suited to taking advantage of your strength. It is appreciably susceptible to damage.

OOC: long bow (35 stones): superbly improves force, well balanced/well suited, appreciably susceptible to damage

Ammunition

Verbose IC: These bolts are ammunition for a crossbow. When fired, they can inflict heavy puncture damage, low slice damage, somewhat fair impact damage, no fire damage, no cold damage, and no electric damage. They poorly improve the force of your attacks. The bolts weigh 45 stones and are appreciably susceptible to damage.

Concise IC: This ammunition can inflict heavy puncture damage, low slice damage, somewhat fair impact damage, no fire damage, no cold damage, and no electric damage. The bolts poorly improve the force of your attacks. They weigh 45 stones and are appreciably susceptible to damage.

OOC: Crossbow ammunition (45 stones): heavy puncture/low slice/somewhat fair impact/no fire/no cold/no electric, poorly improve force, appreciably susceptible to damage

Shield

Verbose IC: This large shield offers low to very great protection at the expense of high hindrance to one's ability to maneuver in combat. When used offensively, the shield can inflict very severe impact damage, is inadequately balanced, and is reasonably suited to taking advantage of your strength. It weighs 162 stones and is rather reinforced against damage.

Concise IC: This 162-stone shield offers low to very great protection at the expense of high hindrance. When used offensively, the shield can inflict very severe impact damage, is inadequately balanced, and is reasonably suited to taking advantage of your strength. It is rather reinforced against damage.

OOC: large shield (162 stones): low to very great protection, high hindrance, rather reinforced against damage

Armor

Verbose IC: This plate armor offers very high protection and exceptional damage absorption for puncture attacks, great protection and exceptional damage absorption for slice attacks, moderate protection and exceptional damage absorption for impact attacks, very good protection and great damage absorption for fire attacks, moderate protection and great damage absorption for cold attacks, and poor protection and great damage absorption for electrical attacks. This protection comes at the expense of great maneuvering hindrance and insane stealth hindrance. The armor weighs 755 stones and is of average construction.

Concise IC: This 755-stone armor offers very high protection and exceptional damage absorption for puncture attacks, great protection and exceptional damage absorption for slice attacks, moderate protection and exceptional damage absorption for impact attacks, very good protection and great damage absorption for fire attacks, moderate protection and great damage absorption for cold attacks, and poor protection and great damage absorption for electrical attacks. This protection comes at the expense of great maneuvering hindrance and insane stealth hindrance. The armor is of average construction.

OOC: plate armor (755 stones) - puncture: very high/exceptional, slice: great/exceptional, impact: moderate/exceptional, fire: very good/great, cold: moderate/great, electrical: poor/great, hindrance: great/insane, construction: of average construction

Script (With Weights)

put #class joust off
put #class racial off
var metal no
var maxcharge N/A
var cost owned

action setvariable noun $1 when .+ the .+ (\S+) (is|are|could be|might be) worth
action setvariable noun $1 when .+ the .+ (\S+) (is|are|could be|might be) probably worth
action setvariable noun $1 when .+ the (\S+) (is|are|could be|might be) worth
action setvariable noun $1 when .+ the (\S+) (is|are|could be|might be) probably worth
action setvariable tap $2 when ^In your right hand, you are carrying (a|an|some|the) (.+), and in your left hand, you are carrying

action setvariable wtype $1 when .+ is a (.*) .+ weapon

action setvariable range melee when melee-ranged weapon\.$
action setvariable range pole when pole-ranged weapon\.$
action setvariable wacc am certain that when You are certain that it could do
action setvariable wacc am confident that when You are confident that it could do
action setvariable wacc think that when You think that it could do
action setvariable wacc think it is likely that when You think it is likely that it could do
action setvariable wacc believe that when You believe that it could do
action setvariable wacc am pretty sure that when You are pretty sure that it could do
action setvariable wacc estimate that when You estimate that it could do
action setvariable wacc guess that when You guess that it could do
action setvariable wacc wonder if when You wonder if it could do
action setvariable puncture $1 when ^\s+(.*) puncture damage$
action setvariable slice $1 when ^\s+(.*) slice damage$
action setvariable impact $1 when ^\s+(.*) impact damage$
action setvariable fire $1 when ^\s+(.*) fire damage$
action setvariable cold $1 when ^\s+(.*) cold damage$
action setvariable electric $1 when ^\s+(.*) electric damage$
action setvariable puncture $1 when ^\s+(.*) puncture damage increase$
action setvariable slice $1 when ^\s+(.*) slice damage increase$
action setvariable impact $1 when ^\s+(.*) impact damage increase$
action setvariable fire $1 when ^\s+(.*) fire damage increase$
action setvariable cold $1 when ^\s+(.*) cold damage increase$
action setvariable electric $1 when ^\s+(.*) electric damage increase$
action setvariable bacc am certain that when ^You are certain that .+ balanced
action setvariable bacc feel certain that when ^You feel certain that .+ balanced
action setvariable bacc am confident that when ^You are confident that .+ balanced
action setvariable bacc feel confident that when ^You feel confident that .+ balanced
action setvariable bacc think that when ^You think that .+ balanced
action setvariable bacc think it is likely that when ^You think it is likely that .+ balanced
action setvariable bacc believe that when ^You believe that .+ balanced
action setvariable bacc am pretty sure that when ^You are pretty sure that .+ balanced
action setvariable bacc feel pretty sure that when ^You feel pretty sure that .+ balanced
action setvariable bacc estimate that when ^You estimate that .+ balanced
action setvariable bacc guess that when ^You guess that .+ balanced
action setvariable bacc wonder if when ^You wonder if .+ balanced
action setvariable force $2 when ^The .+ (is|are) (.+) designed for improving the force of your attacks\.$
action setvariable balance $2 when the .+ (is|are) (.+) balanced and .+ suited (to gaining extra attack power from your strength|for adding attack power from its draw strength)\.$
action setvariable power $1 when balanced and is (.+) suited (to gaining extra attack power from your strength|for adding attack power from its draw strength)\.$
action setvariable drawstrength $1 when ^The .+ appears set for a draw strength that is (.+) for a bow of this type\.$

action setvariable stype $1 when ^This shield is (\w+) in size\.$
action setvariable sacc am certain that when ^You are certain that the .+ offers
action setvariable sacc feel certain that when ^You feel certain that the .+ offers
action setvariable sacc am confident that when ^You are confident that the .+ offers
action setvariable sacc feel confident that when ^You feel confident that the .+ offers
action setvariable sacc think that when ^You think that the .+ offers
action setvariable sacc think it is likely that when ^You think it is likely that the .+ offers
action setvariable sacc believe that when ^You believe that the .+ offers
action setvariable sacc am pretty sure that when ^You are pretty sure that the .+ offers
action setvariable sacc feel pretty sure that when ^You feel pretty sure that the .+ offers
action setvariable sacc estimate that when ^You estimate that the .+ offers
action setvariable sacc guess that when ^You guess that the .+ offers
action setvariable sacc wonder if when ^You wonder if the .+ offers
action setvariable sprotection $1 when .+ offers (.*) protection\.$
action setvariable shindrance $1 when .+ it imposes (.+) maneuvering hinde?rance\.$

action setvariable atype $2 when ^The.+(is|are) (plate|brigandine|chain|light) armor\.$
action setvariable aacc am certain that when ^You are certain that .+ appears? to impose
action setvariable aacc feel certain that when ^You feel certain that .+ appears? to impose
action setvariable aacc am confident that when ^You are confident that .+ appears? to impose
action setvariable aacc feel confident that when ^You feel confident that .+ appears? to impose
action setvariable aacc think that when ^You think that .+ appears? to impose
action setvariable aacc think it is likely that when ^You think it is likely that .+ appears? to impose
action setvariable aacc believe that when ^You believe that .+ appears? to impose
action setvariable aacc am pretty sure that when ^You are pretty sure that .+ appears? to impose
action setvariable aacc feel pretty sure that when ^You feel pretty sure that .+ appears? to impose
action setvariable aacc estimate that when ^You estimate that .+ appears? to impose
action setvariable aacc guess that when ^You guess that .+ appears? to impose
action setvariable aacc wonder if when ^You wonder if .+ appears? to impose
action setvariable abpuncture $1 when .+ \s(.*) for puncture attacks\.$
action setvariable abslice $1 when .+ \s(.*) for slice attacks\.$
action setvariable abimpact $1 when .+ \s(.*) for impact attacks\.$
action setvariable abfire $1 when .+ \s(.*) for fire attacks\.$
action setvariable abcold $1 when .+ \s(.*) for cold attacks\.$
action setvariable abelectrical $1 when .+ \s(.*) for electrical attacks\.$
action setvariable appuncture $1 when .+ \s(.*) protection and .+ damage absorption for puncture attacks\.$
action setvariable apslice $1 when .+ \s(.*) protection and .+ damage absorption for slice attacks\.$
action setvariable apimpact $1 when .+ \s(.*) protection and .+ damage absorption for impact attacks\.$
action setvariable apfire $1 when .+ \s(.*) protection and .+ damage absorption for fire attacks\.$
action setvariable apcold $1 when .+ \s(.*) protection and .+ damage absorption for cold attacks\.$
action setvariable apelectrical $1 when .+ \s(.*) protection and .+ damage absorption for electrical attacks\.$
action setvariable aapuncture $1 when .+ protection and (.*) damage absorption for puncture attacks\.$
action setvariable aaslice $1 when .+ protection and (.*) damage absorption for slice attacks\.$
action setvariable aaimpact $1 when .+ protection and (.*) damage absorption for impact attacks\.$
action setvariable aafire $1 when .+ protection and (.*) damage absorption for fire attacks\.$
action setvariable aacold $1 when .+ protection and (.*) damage absorption for cold attacks\.$
action setvariable aaelectrical $1 when .+ protection and (.*) damage absorption for electrical attacks\.$
action setvariable ahindrance $1 when .+ appears? to impose (.*), offering:$
action setvariable mhindrance $1 when .+ appears? to impose (.*) maneuvering hindrance and.+offering:$
action setvariable shindrance $1 when .+ appears? to impose .+ maneuvering hindrance and (.*) stealth hindrance, offering:$

action setvariable construct $2 when ^You are certain that the .+ (is|are) (.*), and (is|are)
action setvariable metal yes when ^The .+ is|are made with metal\.$
action setvariable weight1 $1 when ^You are certain that .+ weighs exactly (\d+) (stones|stone)\.$
action setvariable weight2 $1 when ^You are certain that .+ weighs exactly \d+ (.*)\.$
action setvariable value $2 when ^You are certain that .+ (is|are) worth exactly (\d+) kronars\.

matchre wthrown thrown and .+-ranged weapon\.$
matchre wmelee (pole|melee)-ranged weapon\.$
matchre wstick (parry stick|purely defensive item\.$)
matchre wbrawling the brawling skill\.$
matchre shield1 ^Your experience with shields allows a better appraisal of the protection capabilities\.$
matchre shield2 ^You are certain that the \w+ offers .+ to .+ protection\.$
matchre armor2 are (plate armor|brigandine|chain armor|light armor)\.$
matchre armor protection for the following areas:$
matchre wammob2 \barrows\b
matchre wammoc2 \b(bolts|quadrellos|quarrels|pulzones)\b
matchre wammos2 \b(bullets|clumps|lumps|rocks)\b
matchre wammob \barrow\b
matchre wammoc \b(bolt|quadrello|quarrel|pulzone)\b
matchre wammos \b(bullet|clump|lump|rock)\b
matchre wbow \b(bow|sling|crossbow)\b
send appraise %1 %2 careful
matchwait

wthrown:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %wtype weapon can be thrown from missile range or wielded at %range range. It can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone %noun can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %wtype (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force/%balance balanced/%power suited, %construct
pause
goto exit

wmelee:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %wtype weapon can be wielded at %range range. It can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone %noun can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %wtype (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force/%balance balanced/%power suited, %construct
pause
goto exit

wstick:
echo
echo Verbose IC: This %weight1-stone parry stick is a purely defensive item that is simply worn in combat. It is %balance balanced and %construct.
echo
echo Concise IC: This %weight1-stone parry stick is %balance balanced and %construct.
echo
echo OOC: Parry stick (%weight1 %weight2): %balance balanced and %construct
pause
goto exit

wbrawling:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %weight1-stone %noun are worn while brawling to increase damage. They can inflict %puncture puncture damage, %slice slice damage, and %impact impact damage. They %force improve the force of your attacks. The %noun are %construct.
echo
echo Concise IC: These %weight1-stone %noun can inflict %puncture puncture damage, %slice slice damage, and %impact impact damage. They %force improve the force of your attacks and are %construct.
echo
echo OOC: Brawling weapon (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact, %force improve force, %construct
pause
goto exit

shield1:
echo
echo Verbose IC: This %stype shield offers %sprotection protection at the expense of %shindrance hindrance to one's ability to maneuver in combat. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone shield offers %sprotection protection at the expense of %shindrance hindrance. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %stype shield (%weight1 %weight2): %sprotection protection, %shindrance hindrance, %construct
pause
goto exit

shield2:
echo
echo Verbose IC: This %stype shield offers roughly %sprotection protection at the expense of %shindrance hindrance to one's ability to maneuver in combat. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone shield offers roughly %sprotection protection at the expense of %shindrance hindrance. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %stype shield (%weight1 %weight2): roughly %sprotection protection, %shindrance hindrance, %construct
pause
goto exit

armor2:
echo
echo Verbose IC: This %atype armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun weigh %weight1 %weight2 and are %construct.
echo
echo Concise IC: This %weight1-stone armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun are %construct.
echo
echo OOC: %atype armor (%weight1 %weight2) - puncture: %appuncture/%aapuncture, slice: %apslice/%aaslice, impact: %apimpact/%aaimpact, fire: %apfire/%aafire, cold: %apcold/%aacold, electrical: %apelectrical/%aaelectrical, hindrance: %mhindrance/%shindrance, construction: %construct

pause
goto exit

armor:
echo
echo Verbose IC: This %atype armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun is %construct.
echo
echo OOC: %atype armor (%weight1 %weight2) - puncture: %appuncture/%aapuncture, slice: %apslice/%aaslice, impact: %apimpact/%aaimpact, fire: %apfire/%aafire, cold: %apcold/%aacold, electrical: %apelectrical/%aaelectrical, hindrance: %mhindrance/%shindrance, construction: %construct
pause
goto exit

wammob2:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are ammunition for a bow. When fired, they can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. They %force improve the force of your attacks. The %noun weigh %weight1 %weight2 and are %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improve the force of your attacks. They weigh %weight1 %weight2 and are %construct.
echo
echo OOC: Bow ammunition (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improve force, %construct
pause
goto exit

wammoc2:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are ammunition for a crossbow. When fired, they can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. They %force improve the force of your attacks. The %noun weigh %weight1 %weight2 and are %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improve the force of your attacks. They weigh %weight1 %weight2 and are %construct.
echo
echo OOC: Crossbow ammunition (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improve force, %construct
pause
goto exit

wammos2:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are ammunition for a sling or staff sling. When hurled, they can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. They %force improve the force of your attacks. The %noun weigh %weight1 %weight2 and are %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improve the force of your attacks. They weigh %weight1 %weight2 and are %construct.
echo
echo OOC: Sling ammunition (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improve force, %construct
pause
goto exit

wammob:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %noun is ammunition for a bow. When fired, it can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks. The %noun weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks. It weighs %weight1 %weight2 and is %construct.
echo
echo OOC: Bow ammunition (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force, %construct
pause
goto exit

wammoc:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %noun is ammunition for a crossbow. When fired, it can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks. The %noun weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks. It weighs %weight1 %weight2 and is %construct.
echo
echo OOC: Crossbow ammunition (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force, %construct
pause
goto exit

wammos:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %noun is ammunition for a sling or staff sling. When hurled, it can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks. The %noun weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks. It weighs %weight1 %weight2 and is %construct.
echo
echo OOC: Sling ammunition (%weight1 %weight2): %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force, %construct
pause
goto exit

wbow:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %wtype can be used from missile range. The %noun %force improves the force of your attacks, is %balance balanced, and is %power suited for adding attack power from its draw strength, which is %drawstrength for a bow of this type. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone %noun %force improves the force of your attacks, is %balance balanced, and is %power suited for adding attack power from its draw strength, which is %drawstrength. It is %construct.
echo
echo OOC: %wtype (%weight1 %weight2): %force improves force, %balance balanced/%power suited, %drawstrength draw strength, %construct
pause
goto exit

exit:

Script (Without Weights)

put #class joust off
put #class racial off
var metal no
var maxcharge N/A
var cost owned

action setvariable noun $1 when .+ the .+ (\S+) (is|are|could be|might be) worth
action setvariable noun $1 when .+ the .+ (\S+) (is|are|could be|might be) probably worth
action setvariable noun $1 when .+ the (\S+) (is|are|could be|might be) worth
action setvariable noun $1 when .+ the (\S+) (is|are|could be|might be) probably worth
action setvariable tap $2 when ^In your right hand, you are carrying (a|an|some|the) (.+), and in your left hand, you are carrying

action setvariable wtype $1 when .+ is a (.*) .+ weapon

action setvariable range melee when melee-ranged weapon\.$
action setvariable range pole when pole-ranged weapon\.$
action setvariable wacc am certain that when You are certain that it could do
action setvariable wacc am confident that when You are confident that it could do
action setvariable wacc think that when You think that it could do
action setvariable wacc think it is likely that when You think it is likely that it could do
action setvariable wacc believe that when You believe that it could do
action setvariable wacc am pretty sure that when You are pretty sure that it could do
action setvariable wacc estimate that when You estimate that it could do
action setvariable wacc guess that when You guess that it could do
action setvariable wacc wonder if when You wonder if it could do
action setvariable puncture $1 when ^\s+(.*) puncture damage$
action setvariable slice $1 when ^\s+(.*) slice damage$
action setvariable impact $1 when ^\s+(.*) impact damage$
action setvariable fire $1 when ^\s+(.*) fire damage$
action setvariable cold $1 when ^\s+(.*) cold damage$
action setvariable electric $1 when ^\s+(.*) electric damage$
action setvariable puncture $1 when ^\s+(.*) puncture damage increase$
action setvariable slice $1 when ^\s+(.*) slice damage increase$
action setvariable impact $1 when ^\s+(.*) impact damage increase$
action setvariable fire $1 when ^\s+(.*) fire damage increase$
action setvariable cold $1 when ^\s+(.*) cold damage increase$
action setvariable electric $1 when ^\s+(.*) electric damage increase$
action setvariable bacc am certain that when ^You are certain that .+ balanced
action setvariable bacc feel certain that when ^You feel certain that .+ balanced
action setvariable bacc am confident that when ^You are confident that .+ balanced
action setvariable bacc feel confident that when ^You feel confident that .+ balanced
action setvariable bacc think that when ^You think that .+ balanced
action setvariable bacc think it is likely that when ^You think it is likely that .+ balanced
action setvariable bacc believe that when ^You believe that .+ balanced
action setvariable bacc am pretty sure that when ^You are pretty sure that .+ balanced
action setvariable bacc feel pretty sure that when ^You feel pretty sure that .+ balanced
action setvariable bacc estimate that when ^You estimate that .+ balanced
action setvariable bacc guess that when ^You guess that .+ balanced
action setvariable bacc wonder if when ^You wonder if .+ balanced
action setvariable force $2 when ^The .+ (is|are) (.+) designed for improving the force of your attacks\.$
action setvariable balance $2 when the .+ (is|are) (.+) balanced and .+ suited to gaining extra attack power from your strength\.$
action setvariable power $1 when balanced and is (.+) suited to gaining extra attack power from your strength\.$

action setvariable stype $1 when ^This shield is (\w+) in size\.$
action setvariable sacc am certain that when ^You are certain that the .+ offers
action setvariable sacc feel certain that when ^You feel certain that the .+ offers
action setvariable sacc am confident that when ^You are confident that the .+ offers
action setvariable sacc feel confident that when ^You feel confident that the .+ offers
action setvariable sacc think that when ^You think that the .+ offers
action setvariable sacc think it is likely that when ^You think it is likely that the .+ offers
action setvariable sacc believe that when ^You believe that the .+ offers
action setvariable sacc am pretty sure that when ^You are pretty sure that the .+ offers
action setvariable sacc feel pretty sure that when ^You feel pretty sure that the .+ offers
action setvariable sacc estimate that when ^You estimate that the .+ offers
action setvariable sacc guess that when ^You guess that the .+ offers
action setvariable sacc wonder if when ^You wonder if the .+ offers
action setvariable sprotection $1 when .+ offers (.*) protection\.$
action setvariable shindrance $1 when .+ it imposes (.+) maneuvering hinde?rance\.$

action setvariable atype $2 when ^The.+(is|are) (plate|brigandine|chain|light) armor\.$
action setvariable aacc am certain that when ^You are certain that .+ appears? to impose
action setvariable aacc feel certain that when ^You feel certain that .+ appears? to impose
action setvariable aacc am confident that when ^You are confident that .+ appears? to impose
action setvariable aacc feel confident that when ^You feel confident that .+ appears? to impose
action setvariable aacc think that when ^You think that .+ appears? to impose
action setvariable aacc think it is likely that when ^You think it is likely that .+ appears? to impose
action setvariable aacc believe that when ^You believe that .+ appears? to impose
action setvariable aacc am pretty sure that when ^You are pretty sure that .+ appears? to impose
action setvariable aacc feel pretty sure that when ^You feel pretty sure that .+ appears? to impose
action setvariable aacc estimate that when ^You estimate that .+ appears? to impose
action setvariable aacc guess that when ^You guess that .+ appears? to impose
action setvariable aacc wonder if when ^You wonder if .+ appears? to impose
action setvariable abpuncture $1 when .+ \s(.*) for puncture attacks\.$
action setvariable abslice $1 when .+ \s(.*) for slice attacks\.$
action setvariable abimpact $1 when .+ \s(.*) for impact attacks\.$
action setvariable abfire $1 when .+ \s(.*) for fire attacks\.$
action setvariable abcold $1 when .+ \s(.*) for cold attacks\.$
action setvariable abelectrical $1 when .+ \s(.*) for electrical attacks\.$
action setvariable appuncture $1 when .+ \s(.*) protection and .+ damage absorption for puncture attacks\.$
action setvariable apslice $1 when .+ \s(.*) protection and .+ damage absorption for slice attacks\.$
action setvariable apimpact $1 when .+ \s(.*) protection and .+ damage absorption for impact attacks\.$
action setvariable apfire $1 when .+ \s(.*) protection and .+ damage absorption for fire attacks\.$
action setvariable apcold $1 when .+ \s(.*) protection and .+ damage absorption for cold attacks\.$
action setvariable apelectrical $1 when .+ \s(.*) protection and .+ damage absorption for electrical attacks\.$
action setvariable aapuncture $1 when .+ protection and (.*) damage absorption for puncture attacks\.$
action setvariable aaslice $1 when .+ protection and (.*) damage absorption for slice attacks\.$
action setvariable aaimpact $1 when .+ protection and (.*) damage absorption for impact attacks\.$
action setvariable aafire $1 when .+ protection and (.*) damage absorption for fire attacks\.$
action setvariable aacold $1 when .+ protection and (.*) damage absorption for cold attacks\.$
action setvariable aaelectrical $1 when .+ protection and (.*) damage absorption for electrical attacks\.$
action setvariable ahindrance $1 when .+ appears? to impose (.*), offering:$
action setvariable mhindrance $1 when .+ appears? to impose (.*) maneuvering hindrance and.+offering:$
action setvariable shindrance $1 when .+ appears? to impose .+ maneuvering hindrance and (.*) stealth hindrance, offering:$

action setvariable construct $2 when ^You are certain that the .+ (is|are) (.*), and (is|are)
action setvariable metal yes when ^The .+ is|are made with metal\.$
action setvariable weight1 $1 when ^You are certain that .+ weighs exactly (\d+) (stones|stone)\.$
action setvariable weight2 $1 when ^You are certain that .+ weighs exactly \d+ (.*)\.$
action setvariable value $2 when ^You are certain that .+ (is|are) worth exactly (\d+) kronars\.

matchre wthrown thrown and .+-ranged weapon\.$
matchre wmelee (pole|melee)-ranged weapon\.$
matchre wstick (parry stick|purely defensive item\.$)
matchre wbrawling the brawling skill\.$
matchre shield1 ^Your experience with shields allows a better appraisal of the protection capabilities\.$
matchre shield2 ^You are certain that the \w+ offers .+ to .+ protection\.$
matchre armor2 are (plate armor|brigandine|chain armor|light armor)\.$
matchre armor protection for the following areas:$
matchre wammob2 \barrows\b
matchre wammoc2 \b(bolts|quadrellos|quarrels|pulzones)\b
matchre wammos2 \b(bullets|clumps|lumps|rocks)\b
matchre wammob \barrow\b
matchre wammoc \b(bolt|quadrello|quarrel|pulzone)\b
matchre wammos \b(bullet|clump|lump|rock)\b
matchre wbow \b(bow|sling|crossbow)\b
send appraise %1 %2 careful
matchwait

wthrown:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %wtype weapon can be thrown from missile range or wielded at %range range. It can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo Concise IC: This %noun can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %wtype: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force/%balance balanced/%power suited, %construct
pause
goto exit

wmelee:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %wtype weapon can be wielded at %range range. It can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo Concise IC: This %noun can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. It %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %wtype: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force/%balance balanced/%power suited, %construct
pause
goto exit

wstick:
echo
echo Verbose IC: This parry stick is a purely defensive item that is simply worn in combat. It is %balance balanced and %construct.
echo
echo Concise IC: This parry stick is %balance balanced and %construct.
echo
echo OOC: Parry stick: %balance balanced and %construct
pause
goto exit

wbrawling:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are worn while brawling to increase damage. They can inflict %puncture puncture damage, %slice slice damage, and %impact impact damage. They %force improve the force of your attacks. The %noun are %construct.
echo
echo Concise IC: These %noun can inflict %puncture puncture damage, %slice slice damage, and %impact impact damage. They %force improve the force of your attacks and are %construct.
echo
echo OOC: Brawling weapon: %puncture puncture/%slice slice/%impact impact, %force improve force, %construct
pause
goto exit

shield1:
echo
echo Verbose IC: This %stype shield offers %sprotection protection at the expense of %shindrance hindrance to one's ability to maneuver in combat. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone shield offers %sprotection protection at the expense of %shindrance hindrance. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %stype shield (%weight1 %weight2): %sprotection protection, %shindrance hindrance, %construct
pause
goto exit

shield2:
echo
echo Verbose IC: This %stype shield offers roughly %sprotection protection at the expense of %shindrance hindrance to one's ability to maneuver in combat. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It weighs %weight1 %weight2 and is %construct.
echo
echo Concise IC: This %weight1-stone shield offers roughly %sprotection protection at the expense of %shindrance hindrance. When used offensively, the %noun can inflict %impact impact damage, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %stype shield (%weight1 %weight2): roughly %sprotection protection, %shindrance hindrance, %construct
pause
goto exit

armor2:
echo
echo Verbose IC: This %atype armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun are %construct.
echo
echo Concise IC: This armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun are %construct.
echo
echo OOC: %atype armor - puncture: %appuncture/%aapuncture, slice: %apslice/%aaslice, impact: %apimpact/%aaimpact, fire: %apfire/%aafire, cold: %apcold/%aacold, electrical: %apelectrical/%aaelectrical, hindrance: %mhindrance/%shindrance, construction: %construct

pause
goto exit

armor:
echo
echo Verbose IC: This %atype armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun is %construct.
echo
echo Concise IC: This armor offers %abpuncture for puncture attacks, %abslice for slice attacks, %abimpact for impact attacks, %abfire for fire attacks, %abcold for cold attacks, and %abelectrical for electrical attacks. This protection comes at the expense of %ahindrance. The %noun is %construct.
echo
echo OOC: %atype armor - puncture: %appuncture/%aapuncture, slice: %apslice/%aaslice, impact: %apimpact/%aaimpact, fire: %apfire/%aafire, cold: %apcold/%aacold, electrical: %apelectrical/%aaelectrical, hindrance: %mhindrance/%shindrance, construction: %construct
pause
goto exit

wammob2:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are ammunition for a bow. When fired, they can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks and are %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun are %construct.
echo
echo OOC: Bow ammunition: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improve force, %construct
pause
goto exit

wammoc2:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are ammunition for a crossbow. When fired, they can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks and are %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun are %construct.
echo
echo OOC: Crossbow ammunition: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improve force, %construct
pause
goto exit

wammos2:
if "%force" = "not" then var force do not
echo
echo Verbose IC: These %noun are ammunition for a sling or staff sling. When hurled, they can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks and are %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun are %construct.
echo
echo OOC: Sling ammunition: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improve force, %construct
pause
goto exit

wammob:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %noun is ammunition for a bow. When fired, it can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks and is %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun is %construct.
echo
echo OOC: Bow ammunition: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force, %construct
pause
goto exit

wammoc:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %noun is ammunition for a crossbow. When fired, it can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks and is %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun is %construct.
echo
echo OOC: Crossbow ammunition: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force, %construct
pause
goto exit

wammos:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %noun is ammunition for a sling or staff sling. When hurled, it can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun %force improves the force of your attacks and is %construct.
echo
echo Concise IC: This ammunition can inflict %puncture puncture damage, %slice slice damage, %impact impact damage, %fire fire damage, %cold cold damage, and %electric electric damage. The %noun is %construct.
echo
echo OOC: Sling ammunition: %puncture puncture/%slice slice/%impact impact/%fire fire/%cold cold/%electric electric, %force improves force, %construct
pause
goto exit

wbow:
if "%force" = "not" then var force does not
echo
echo Verbose IC: This %wtype can be used from missile range. The %noun %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo Concise IC: This %noun %force improves the force of your attacks, is %balance balanced, and is %power suited to taking advantage of your strength. It is %construct.
echo
echo OOC: %wtype: %force improves force, %balance balanced/%power suited, %construct
pause
goto exit

exit: