X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=autopick_eng.txt;h=277262ad326c849f63da11b9697e01b1ff1129ce;hb=2c751de0350284cf64edd6a478436c11a3dfa243;hp=cd51f71e4c03e8a3aef71e7d3fb8f9e38e23303a;hpb=71cee1c14b1f6a7d891bba8405ceef0d828ce74f;p=hengbandforosx%2Fhengbandosx.git diff --git a/autopick_eng.txt b/autopick_eng.txt index cd51f71e4..277262ad3 100644 --- a/autopick_eng.txt +++ b/autopick_eng.txt @@ -212,7 +212,7 @@ # # - usage of operators # [EQU arg1 arg2 ...] -# If all args are same, returns "1", or else returns "0". +# If all args are the same as arg1, returns "1", or else returns "0". # [IOR arg1 arg2 ...] # [AND arg1 arg2 ...] # IOR evaluates and returns all args' logical OR. AND is logical AND. @@ -240,19 +240,22 @@ # Tourist, Imitator, BeastMaster, Sorcerer, Archer, # Magic-Eater, Bard, Red-Mage, Samurai, ForceTrainer, # Blue-Mage, Cavalry, Berserker, Weaponsmith, Mirror-Master, -# Ninja +# Ninja, Sniper # # $PLAYER # Returns player name. # $REALM1 # Returns player's first magic realm # none, Life, Sorcery, Nature, Chaos, Death, Trump, Arcane, -# Craft, Daemon, Crusade, Music, Kendo +# Craft, Daemon, Crusade, Music, Kendo, Hex # $REALM2 # Returns player's second magic realm # $LEVEL # Returns player level as two-character string. # Ex. "01","09","10","50" etc. +# $MONEY +# Returns player money as 9 character string. +# Ex. "000012345" etc. # #------------------------------------------------------------------ # @@ -357,8 +360,7 @@ Iron Spike#@v0 ?:1 # complex example; destroy needless food items. -?:[AND [GEQ $LEVEL 20] [IOR [EQU $REALM1 Life] [EQU $REALM2 Life] [EQU $REALM1 Nature] [EQU $REALM2 Nature] [EQU $REALM1 Craft] [EQU $REALM2 Craft]]] -(!Satisfy Hunger +?:[AND [GEQ $LEVEL 20] [IOR [EQU $REALM1 Life Nature Craft] [EQU $REALM2 Life Nature Craft]]] (!food (!Slime Mold (!of Elvish Waybread @@ -420,15 +422,26 @@ collecting spellbooks ?:1 # pick up for experience -?:[IOR [EQU $CLASS Warrior] [EQU $CLASS Berserker] [AND [EQU $CLASS Paladin] [EQU $REALM1 Life]]] +?:[EQU $CLASS Warrior Berserker] +(~unreadable fourth spellbooks:arcane +unreadable fourth spellbooks (~unreadable third spellbooks:arcane +unreadable third spellbooks +?:1 +?:[AND [EQU $CLASS Paladin] [EQU $REALM1 Crusade] [GEQ $LEVEL 30]] +(~unreadable fourth spellbooks:life +(~unreadable third spellbooks:life +?:[AND [EQU $CLASS Paladin] [EQU $REALM1 Crusade]] (~unreadable fourth spellbooks:arcane unreadable fourth spellbooks +(~unreadable third spellbooks:arcane unreadable third spellbooks ?:1 ?:[AND [EQU $CLASS Paladin] [EQU $REALM1 Death]] unreadable fourth spellbooks:life +unreadable fourth spellbooks:crusade unreadable third spellbooks:life +unreadable third spellbooks:crusade ?:1 # pick up for money