See 'n Say Appraisal - OOC (script): Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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> |
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> |
<br> |
||
For IC appraisals, use [[See 'n Say Appraisal (script)]]. |
For IC appraisals, use [[See 'n Say Appraisal (script)]].<br> |
||
<br> |
|||
For IC comparisons, use [[See 'n Say Comparison (script)]]. |
|||
==Syntax== |
==Syntax== |
Revision as of 13:59, 1 June 2010
This is a Genie script that 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.
For IC appraisals, use See 'n Say Appraisal (script).
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).
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:
.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.
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: two-handed edged: low/bone-crushing/fair, poorly/reasonably, very strong
Thrown Weapon: heavy thrown and heavy blunt: no/no/heavy, fairly/reasonably, fairly sturdy
Brawling Weapon: Brawling weapon: no/no/heavy, of average strength
Parry Stick: Parry stick: reasonably balanced and fairly sturdy
Ranged Weapon: long bow: well/well, extremely weak
Ammunition: Crossbow ammunition: heavy/low/low, somewhat flimsy
Shield: large shield: fair to impressive protection, fair hindrance, fairly sturdy construction
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
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 extremely weak when extremely weak action setvariable construct somewhat flimsy when somewhat flimsy action setvariable construct of average strength when average strength action setvariable construct fairly sturdy when fairly sturdy action setvariable construct moderately strong when moderately strong action setvariable construct well constructed when well constructed action setvariable construct very strong when very strong action setvariable construct quite hard when quite hard action setvariable construct incredibly hard when incredibly hard action setvariable construct unbelievably strong when unbelievably strong 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: