Difference between revisions of "Search Switch"

From Alter Aeon Wiki
(fix POISON flag search)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Switches are used to narrow down a search for specific types of items
'''Search switches''' are used to narrow down and search for specific types of items and equipment,
they can be used with the following commands:-
they can be used with the following commands:-
*{{Icode|list search <switches>}}
*{{Icode|list search <switches>}} - To search a [[shop]] or [[donation room]]


*{{Icode|storage search <switches>}}
*{{Icode|storage search <switches>}} - To search a personal [[storage locker]]


*{{Icode|look in <container> <switches>}}
*{{Icode|clan storage search <switches>}} - To search a [[clan]] storage locker
 
*{{Icode|look in <container> <switches>}} - To filter items within a [[container]].


==Format==
==Format==
Switches are prefixed with either a minus or a plus symbol.
Switches are prefixed with either a minus or a plus symbol. Sometimes it will not mater which is used other times when dealing with switches that can have numeric arguments it will.


{{Icode|-<switch> <optional value>}}
{{Icode|-<switch> <optional value>}}
Line 26: Line 28:
*feet
*feet
*held
*held
*shield
*two_shield
*wield
*two_wield


===Item Affects===
===Item Affects===
Line 99: Line 105:
* nobackstab
* nobackstab
*nosave
*nosave
* poison
* poisoned <sup>†</sup>
*random
*random
* rare
* rare
Line 107: Line 113:
* warrior
* warrior


<sup>†</sup> the POISON flag is searched with -poisoned so as to not conflict with the -poisonsave flag


==Item type==
==Item type==


*container
*container
*herb
*food
*key
*key
*magic (seems to work differently than the other switches)
*magic (seems to work differently than the other switches)
Line 116: Line 125:
*potion
*potion
*scroll
*scroll
*spellcomp
*staff
*staff
*treasure
*treasure
Line 124: Line 134:
==Configure the display==
==Configure the display==


*brewable shows all spellcomps, herbs and food
*count shows total number of items that fit the switch criteria
*count shows total number of items that fit the switch criteria
*insult shows item keywords and uuids
*insult shows item keywords and uuids
Line 129: Line 140:
*wearable shows only items that are currently able to be worn. This factors in strength requirements for  shields and weapons.
*wearable shows only items that are currently able to be worn. This factors in strength requirements for  shields and weapons.
*weight (shows items in order from heaviest to lightest
*weight (shows items in order from heaviest to lightest
==Switches added in 2016==
In [[Year 2016|2016]] the search systems was reworked and a number of new switches were added including:-
* {{icode|+consumable}} - for consumable objects such as [[scroll]]s, [[potion]]s, [[poison]]s, [[wand]]s etc
* {{icode|+type <type>}} - such as [[weapon]] types
* {{icode|+quality <quality>}} - for randoms such as wellmade,  mastercraft2, exceptional
* {{icode|+composite <composite type>}} - for items with a particular composite type or higher such as relic, antique, epic, remarkable or exceptional
* {{icode|+spellname <spell>}} - for items with spells attached such as [[bomb|grenades]], [[potion]]s, [[scroll]]s, [[spellbook]]s, [[stave]]s and [[wand]]s, and also for [[spell component]]s affinity.
* {{icode|+charges}} - for items with spell charges such as [[wand]]s
* {{icode|+permspell <spell>}} - for items with perm spell attachements
==Examples==
* {{icode|list search -coldsave -5}} - returns items with 25% cold saves or higher
* {{icode|list search +firesave +1}} - returns items with negative 5% fire saves or lower
* {{icode|storage search +composite test}} - returns all items as there is no such composite as test.
* {{icode|storage search +composite epic}} - returns items that are epic
* {{icode|storage search +composite exceptional}} - returns items that are exception or better (exception+epic items).
* {{icode|l in vor -spellcomp +spellname ball}} - returns a spider egg which is a [[spell component]] that has affinty for [[lightning]] spells.
* {{icode|l in vor +permspell haste}} - returns [[Boots of speed (Item)|Boots of speed]] which are a piece of equipment with the perm spell [[haste]] attached.
* {{icode|list search -dtype stab}} - returns items with damage type: stab


==Notes==
==Notes==
Line 140: Line 172:
* [http://www.alteraeon.com/articles/list_switches.html List Switches]
* [http://www.alteraeon.com/articles/list_switches.html List Switches]


[[Category:Item Management]]
[[category:Equipment]]
[[Category:Commands]]
[[Category:Item management]]
[[Category:2016]]

Latest revision as of 19:40, 11 January 2022

Search switches are used to narrow down and search for specific types of items and equipment, they can be used with the following commands:-

  • clan storage search <switches> - To search a clan storage locker
  • look in <container> <switches> - To filter items within a container.

Format

Switches are prefixed with either a minus or a plus symbol. Sometimes it will not mater which is used other times when dealing with switches that can have numeric arguments it will.

-<switch> <optional value> or +<switch> <optional value>

Wear location

  • head
  • neck
  • arms
  • wrist
  • hands
  • finger or ring
  • on
  • about
  • waist
  • legs
  • feet
  • held
  • shield
  • two_shield
  • wield
  • two_wield

Item Affects

  • absorbfire
  • absorbcold or absorbice
  • absorbmagic
  • absorbzap
  • age
  • aging
  • alignment
  • armor
  • attack
  • cast
  • chr
  • clerclevel
  • coldsave
  • con
  • damroll
  • dex
  • dodge
  • firesave
  • hide
  • hp
  • hitroll
  • hpregen
  • int
  • luck
  • mageclevel
  • mana
  • manaregen
  • moveregen
  • move
  • necrclevel
  • parry
  • poisonsave
  • savebreath
  • size
  • sneak
  • spellsave
  • sres
  • str
  • thiefskill
  • warrskill
  • wieldable
  • wis
  • zapsave

Item flags

  • antievil
  • antifemale
  • antigood
  • antimale
  • antineuter
  • antineutral
  • antique
  • artifact
  • beta
  • cleric
  • crystal
  • cursed
  • enchanted
  • evil
  • floating
  • fragile
  • glow
  • good
  • hum
  • invisible
  • light
  • mage
  • necr
  • nobackstab
  • nosave
  • poisoned
  • random
  • rare
  • remarkable
  • thief
  • transparent
  • warrior

the POISON flag is searched with -poisoned so as to not conflict with the -poisonsave flag

Item type

  • container
  • herb
  • food
  • key
  • magic (seems to work differently than the other switches)
  • other
  • potion
  • scroll
  • spellcomp
  • staff
  • treasure
  • typearmor
  • wand
  • weapon

Configure the display

  • brewable shows all spellcomps, herbs and food
  • count shows total number of items that fit the switch criteria
  • insult shows item keywords and uuids
  • multi gives a complete identify of the first 10 items found
  • wearable shows only items that are currently able to be worn. This factors in strength requirements for shields and weapons.
  • weight (shows items in order from heaviest to lightest

Switches added in 2016

In 2016 the search systems was reworked and a number of new switches were added including:-

  • +consumable - for consumable objects such as scrolls, potions, poisons, wands etc
  • +type <type> - such as weapon types
  • +quality <quality> - for randoms such as wellmade, mastercraft2, exceptional
  • +composite <composite type> - for items with a particular composite type or higher such as relic, antique, epic, remarkable or exceptional
  • +spellname <spell> - for items with spells attached such as grenades, potions, scrolls, spellbooks, staves and wands, and also for spell components affinity.
  • +charges - for items with spell charges such as wands
  • +permspell <spell> - for items with perm spell attachements

Examples

  • list search -coldsave -5 - returns items with 25% cold saves or higher
  • list search +firesave +1 - returns items with negative 5% fire saves or lower
  • storage search +composite test - returns all items as there is no such composite as test.
  • storage search +composite epic - returns items that are epic
  • storage search +composite exceptional - returns items that are exception or better (exception+epic items).
  • l in vor -spellcomp +spellname ball - returns a spider egg which is a spell component that has affinty for lightning spells.
  • l in vor +permspell haste - returns Boots of speed which are a piece of equipment with the perm spell haste attached.
  • list search -dtype stab - returns items with damage type: stab

Notes

  • Look in <container> supports only a limited range of switches.
  • Saves are negative and each point is 5% of save e.g. -5 equals 25% save
  • For manaregen each point is 0.5 of regen e.g. 5 equals 2.5 regen.
  • The remarkable, exceptional and antique flags do not actually search for the remarkable, exceptional or antique flags on an item. They use the item's actual composite ranking, so, for example, a scepter of the sorcerer king shows up on a search for -antique even though it does not have the antique flag.
  • the wieldable flag shows all items you can wield, even if they are not weapons.

Helpful Guides