See 'n Say Appraisal - OOC (script): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Redirected page to See 'n Say Appraisal (script)) |
||
Line 1: | Line 1: | ||
#REDIRECT [[See 'n Say Appraisal (script)]] |
|||
This is a Genie script that [[Appraisal skill|appraises]] any weapon, shield, or armor and then echoes the appraisal in an [[OOC]] way. I recommend whispering these appraisals with the OOC verb, because shorthand appraisals, such as "l/bc/f p/r very strong," are often regarded as OOC (gibberish) when gwethed or spoken in-game.<br> |
|||
<br> |
|||
Note: This script is compatible with Durability 2.0. I just haven't updated the sample outputs.<br> |
|||
<br> |
|||
For IC appraisals, use [[See 'n Say Appraisal (script)]].<br> |
|||
<br> |
|||
For IC comparisons, use [[See 'n Say Comparison (script)]]. |
|||
==Syntax== |
|||
{{tt|.app %1 %2}}<br> |
|||
%1: the item (use periods instead of spaces) |
|||
%2: optional modifier (careful or quick) |
|||
For example, {{tt|.app my.greatsword careful}}, {{tt|.app hammer.on.oak.table quick}}, and {{tt|.app Isharon.shield}} (for shown items). |
|||
==Usage Notes== |
|||
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: |
|||
<pre>.app sword careful |
|||
A gleaming silver sword is a heavy edged melee-ranged weapon. |
|||
You are certain that it could do: |
|||
poor puncture damage |
|||
great slice damage |
|||
low impact damage |
|||
You are certain that the sword is reasonably balanced and is fairly suited to gaining extra attack power from your strength. |
|||
A gleaming silver sword is a two-handed edged melee-ranged weapon. |
|||
You are certain that it could do: |
|||
low puncture damage |
|||
severe slice damage |
|||
fair impact damage |
|||
You are certain that the sword is reasonably balanced and is reasonably suited to gaining extra attack power from your strength. |
|||
You are certain that the gleaming silver sword is moderately strong, and is in pristine condition.</pre> |
|||
The script would simply treat this as a two-handed edged weapon and output that appraisal.<br> |
|||
<br> |
|||
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''': two-handed edged: low/bone-crushing/fair, poorly/reasonably, very strong<br> |
|||
<br> |
|||
'''Thrown Weapon''': heavy thrown and heavy blunt: no/no/heavy, fairly/reasonably, fairly sturdy<br> |
|||
<br> |
|||
'''Brawling Weapon''': Brawling weapon: no/no/heavy, of average strength<br> |
|||
<br> |
|||
'''Parry Stick''': Parry stick: reasonably balanced and fairly sturdy<br> |
|||
<br> |
|||
'''Ranged Weapon''': long bow: well/well, extremely weak<br> |
|||
<br> |
|||
'''Ammunition''': Crossbow ammunition: heavy/low/low, somewhat flimsy<br> |
|||
<br> |
|||
'''Shield''': large shield: fair to impressive protection, fair hindrance, fairly sturdy construction<br> |
|||
<br> |
|||
'''Armor''': heavy plate armor - puncture: high/great, slice: great/great, impact: moderate/great, fire: good/high, cold: moderate/high, electricity: poor/high, hindrance: great/insane, construction: well constructed |
|||
==Script== |
|||
<pre> |
|||
send appraise %1 careful |
|||
action setvariable noun $1 when .+ the .+ (.*) (is|are|could be|might be) worth |
|||
action setvariable noun $1 when .+ the .+ (.*) (is|are|could be|might be) probably worth |
|||
action setvariable noun $1 when .+ the (.*) (is|are|could be|might be) worth |
|||
action setvariable noun $1 when .+ the (.*) (is|are|could be|might be) probably worth |
|||
action setvariable wtype $1 when .+ is a (.*) .+ weapon |
|||
action setvariable range melee when melee-ranged |
|||
action setvariable range pole when pole-ranged |
|||
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 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 balance $1 when .+ is (.*) balanced |
|||
action setvariable power $1 when .+ is (.*) suited |
|||
action setvariable stype $1 when .+ is (.*) 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 a (.*) maneuvering hinde?rance |
|||
action setvariable shindrance $1 when .+ it imposes an (.*) maneuvering hinde?rance |
|||
action setvariable atype cloth when (is|are) cloth |
|||
action setvariable atype leather when (is|are) leather armor |
|||
action setvariable atype bone when (is|are) bone |
|||
action setvariable atype light chain when (is|are) light chain |
|||
action setvariable atype heavy chain when (is|are) heavy chain |
|||
action setvariable atype light plate when (is|are) light plate |
|||
action setvariable atype heavy plate when (is|are) heavy plate |
|||
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 ppuncture $1 when ^\s+(.*) protection and .+ damage absorption for puncture attacks |
|||
action setvariable pslice $1 when ^\s+(.*) protection and .+ damage absorption for slice attacks |
|||
action setvariable pimpact $1 when ^\s+(.*) protection and .+ damage absorption for impact attacks |
|||
action setvariable pfire $1 when ^\s+(.*) protection and .+ damage absorption for fire attacks |
|||
action setvariable pcold $1 when ^\s+(.*) protection and .+ damage absorption for cold attacks |
|||
action setvariable pelectricity $1 when ^\s+(.*) protection and .+ damage absorption for electrical attacks |
|||
action setvariable apuncture $1 when .+ protection and (.*) damage absorption for puncture attacks |
|||
action setvariable aslice $1 when .+ protection and (.*) damage absorption for slice attacks |
|||
action setvariable aimpact $1 when .+ protection and (.*) damage absorption for impact attacks |
|||
action setvariable afire $1 when .+ protection and (.*) damage absorption for fire attacks |
|||
action setvariable acold $1 when .+ protection and (.*) damage absorption for cold attacks |
|||
action setvariable aelectricity $1 when .+ protection and (.*) damage absorption for electrical attacks |
|||
action setvariable mhindrance $1 when .+ appears? to impose (.*) maneuvering hindrance |
|||
action setvariable shindrance $1 when .+ maneuvering hindrance and (.*) stealth hindrance |
|||
action setvariable construct $2 when ^You are certain that the .+ (is|are) (.*), and (is|are) |
|||
matchre wthrown thrown |
|||
matchre wmelee range |
|||
matchre wstick parry stick|calcified femur |
|||
matchre wbrawling brawling|elbow blades|elbow spikes|elbow wraps |
|||
matchre shield shield |
|||
matchre armor cloth|leather armor|bone armor|light chain|heavy chain|light plate|heavy plate |
|||
matchre wammob arrow |
|||
matchre wammoc bolt|quadrello|quarrel|pulzone |
|||
matchre wammos bullet|clump|lump|rock |
|||
matchre wbow bow|sling |
|||
matchwait |
|||
wthrown: |
|||
echo %wtype: %puncture/%slice/%impact, %balance/%power, %construct |
|||
pause |
|||
goto end |
|||
wmelee: |
|||
echo %wtype: %puncture/%slice/%impact, %balance/%power, %construct |
|||
pause |
|||
goto end |
|||
wstick: |
|||
echo Parry stick: %balance balanced and %construct |
|||
pause |
|||
goto end |
|||
wbrawling: |
|||
echo Brawling weapon: %puncture/%slice/%impact, %construct |
|||
pause |
|||
goto end |
|||
shield: |
|||
echo %stype shield: %sprotection protection, %shindrance hindrance, %construct construction |
|||
pause |
|||
goto end |
|||
armor: |
|||
echo %atype armor - puncture: %ppuncture/%apuncture, slice: %pslice/%aslice, impact: %pimpact/%aimpact, fire: %pfire/%afire, cold: %pcold/%acold, electricity: %pelectricity/%aelectricity, hindrance: %mhindrance/%shindrance, construction: %construct |
|||
pause |
|||
goto end |
|||
wammob: |
|||
echo Bow ammunition: %puncture/%slice/%impact, %construct |
|||
pause |
|||
goto end |
|||
wammoc: |
|||
echo Crossbow ammunition: %puncture/%slice/%impact, %construct |
|||
pause |
|||
goto end |
|||
wammos: |
|||
echo Sling ammunition: %puncture/%slice/%impact, %construct |
|||
pause |
|||
goto end |
|||
wbow: |
|||
echo %wtype: %balance/%power, %construct |
|||
pause |
|||
goto end |
|||
end: |
|||
</pre> |
|||
[[Category:Scripts]] |
Latest revision as of 19:40, 11 October 2010
Redirect to: