Bothack 1.0.0-SNAPSHOT
BotHack – A NetHack Bot Framework
bothack.actions
Public variables and functions:
- ->Apply
- ->ApplyAt
- ->Ascend
- ->Attack
- ->Autotravel
- ->Call
- ->Chat
- ->Close
- ->Contribute
- ->Descend
- ->Dip
- ->Discoveries
- ->Drop
- ->DropSingle
- ->Eat
- ->Engrave
- ->Enhance
- ->FarLook
- ->FarmAttack
- ->ForceLock
- ->Inventory
- ->Kick
- ->Look
- ->Loot
- ->Move
- ->Name
- ->Offer
- ->Open
- ->Pay
- ->PickUp
- ->Pray
- ->PutOn
- ->Quaff
- ->Quiver
- ->Read
- ->Remove
- ->Repeated
- ->Rub
- ->Search
- ->Sit
- ->TakeOff
- ->Throw
- ->Unlock
- ->UnWield
- ->Wait
- ->Wear
- ->Wield
- ->Wipe
- ->ZapWand
- ->ZapWandAt
- adjust-prayer-timeout
- arbitrary-move
- boulder-plug-re
- call-id-handler
- descend
- dig
- enhance-all
- etext-re
- etype-re
- examine-handler
- farlook-monster-re
- farlook-trap-re
- fountain-re
- kick
- make-use
- map->Apply
- map->Ascend
- map->Attack
- map->Autotravel
- map->Call
- map->Chat
- map->Close
- map->Descend
- map->Dip
- map->Discoveries
- map->DropSingle
- map->Eat
- map->Engrave
- map->Enhance
- map->FarLook
- map->FarmAttack
- map->ForceLock
- map->Inventory
- map->Kick
- map->Look
- map->Loot
- map->Move
- map->Name
- map->Offer
- map->Open
- map->Pay
- map->PickUp
- map->Pray
- map->PutOn
- map->Quaff
- map->Quiver
- map->Read
- map->Remove
- map->Repeated
- map->Rub
- map->Search
- map->Sit
- map->TakeOff
- map->Throw
- map->Wait
- map->Wear
- map->Wield
- map->Wipe
- map->ZapWand
- mark-recharge-handler
- mark-trap-here
- mark-tried
- name-item
- no-monster-re
- put-in
- recheck-peaceful-status
- remove-action
- remove-blockers
- remove-use
- search
- stairs-handler
- take-out
- thing-re
- things-re
- tried?
- unbag
- unparseable-item?
- untrap-move
- update-discoveries
- update-inventory
- update-tile
- update-trapped-status
- use-action
- wield
- wish-id-handler
- with-handler
- with-reason
- without-levitation
bothack.bots.dgl-menu
Navigation for nethack.alt.org/acehack.de dgamelaunch menu - to log in and start the game.
Public variables and functions:
bothack.bots.dgl-menu-wizmode
Navigation for nethack.alt.org/acehack.de dgamelaunch menu - to log in and start the game in wizmode.
Public variables and functions:
bothack.bots.mainbot
Public variables and functions:
- always-desired
- bag-items
- bless-gear
- blind-tool
- botched-farm?
- can-handle?
- can-ignore?
- castle-fort
- castle-move
- castle-plan-b
- choose-identify
- clear-farm
- consider-items
- consider-items-here
- corrodeproof-weapon?
- desired-bag
- desired-boots
- desired-cloak
- desired-food
- desired-gloves
- desired-helmet
- desired-items
- desired-shield
- desired-shirt
- desired-singular
- desired-suit
- desired-throwables
- desired-weapons
- detect-portal
- drop-junk
- end-farm?
- endgame?
- engrave-e
- examine-containers
- examine-containers-here
- excal-handler
- exposed?
- farm
- farm-action
- farm-clear?
- farm-done?
- farm-init
- farm-init-move
- farm-level?
- farm-rect
- farm-sink
- farm-sink-move
- farm-spot
- farm-spot*
- farm-spot-move
- farm-spot?
- farm-tool
- farm-wield
- farming?
- fight
- fight-covetous
- full-explore
- get-amulet
- get-protection
- handle-drowning
- have-throwable
- hit-corrosive
- hit-leprechaun
- hit-surtur
- hit-wizard
- hits-hard?
- hunt
- init
- init-farm?
- itemid
- keep-away?
- kill-medusa
- kite
- light?
- limited-desired
- lit-mines?
- make-excal
- mobile?
- name-first-amulet
- offer-amulet
- pray-for-hp
- progress
- pushover?
- random-unihorn
- real-amulet?
- reequip
- reequip-weapon
- remove-rings
- retreat
- rob-peacefuls
- rob?
- safe-zap?
- shop
- take-selector
- targettable
- uncurse-weapon
- use-features
- use-items
- use-light
- utility
- wander
- want-buy?
- wish
- wow-spot
bothack.bots.simplebot
A dumb example bot. Equivalent to SimpleBot.java
Public variables and functions:
bothack.bots.wizbot
a bot that can ascend in wizmode (when properly pre-equipped)
Public variables and functions:
- bless-gear
- consider-items
- currently-desired
- desired-boots
- desired-cloak
- desired-items
- desired-shield
- desired-suit
- desired-weapons
- detect-portal
- endgame?
- fight
- full-explore
- get-amulet
- hostile-dist-thresh
- init
- light?
- lit-mines?
- name-first-amulet
- offer-amulet
- progress
- real-amulet?
- reequip
- uncurse-weapon
- use-light
bothack.delegator
Public variables and functions:
- ->Delegator
- AboutToChooseActionHandler
- ActionChosenHandler
- ActionHandler
- ApplyItemHandler
- AttachCandlesHandler
- AutotravelHandler
- BOTLHandler
- ChargeWhatHandler
- ChooseCharacterHandler
- ConnectionStatusHandler
- CreateWhatMonsterHandler
- CurrentSkillsHandler
- deregister
- DieHandler
- DipHandler
- DipHereHandler
- DirectionHandler
- DlvlChangeHandler
- DoTeleportHandler
- DrinkHereHandler
- DrinkWhatHandler
- DropSingleHandler
- DryFountainHandler
- DumpCoreHandler
- EatItHandler
- EatWhatHandler
- EngraveAppendHandler
- EngraveWhatHandler
- EngraveWithWhatHandler
- EnhanceWhatHandler
- EnterGehennomHandler
- ForceGodHandler
- ForceLockHandler
- FoundItemsHandler
- FullFrameHandler
- GameStateHandler
- GenocideHandler
- IdentifyWhatHandler
- InventoryHandler
- KeepSaveHandler
- KnowPositionHandler
- LevelTeleportHandler
- LiftBurdenHandler
- LockHandler
- LootItHandler
- LootWhatHandler
- MakeWishHandler
- map->Delegator
- MultilineMessageHandler
- NameMenuHandler
- NameWhatHandler
- NetHackWriter
- new-delegator
- OfferHandler
- PayDamageHandler
- PayWhomHandler
- PickupHandler
- PromptResponseHandler
- PutInWhatHandler
- PutOnItemHandler
- PutSomethingInHandler
- QuiverHandler
- ReadWhatHandler
- ReallyAttackHandler
- RedrawHandler
- register
- RemoveItemHandler
- RubWhatHandler
- SacrificeItHandler
- SacrificeWhatHandler
- SeducedHandler
- SellItHandler
- set-inhibition
- set-writer
- StillClimbHandler
- StopEatingHandler
- switch
- TakeOffItemHandler
- TakeOutWhatHandler
- TakeSomethingOutHandler
- TeleportWhereHandler
- ThrowWhatHandler
- ToplineMessageHandler
- VaultGuardHandler
- WearItemHandler
- WhatNameHandler
- WhichRingFingerHandler
- WieldItemHandler
- WizmodeEnhanceHandler
- ZapWhatHandler
bothack.dungeon
Public variables and functions:
- ->Dungeon
- add-curlvl-tag
- add-level
- apply-default-blueprint
- at-curlvl
- at-planes?
- at-player
- below-castle?
- below-medusa?
- branch-entry
- branch-key
- branches
- change-dlvl
- curlvl
- curlvl-monsters
- curlvl-tags
- diggable-walls?
- dlvl
- dlvl-compare
- dlvl-from-entrance
- dlvl-from-tag
- dlvl-number
- dlvl-range
- edge-passable-walking?
- ensure-branch
- ensure-curlvl
- fake-wiztower-portal
- fake-wiztower-water
- get-branch
- get-dlvl
- get-level
- in-gehennom?
- in-maze-corridor?
- infer-branch
- infer-tags
- initial-branch-id
- level-blueprint
- lit?
- map->Dungeon
- map-tiles
- mark-room
- merge-branch-id
- monster-at
- narrow?
- new-dungeon
- next-dlvl
- next-plane
- passable-walking?
- planes
- portal-branches
- prev-dlvl
- real-boulder?
- reflood-room
- remove-monster
- reset-monster
- room-type
- soko-recog
- soko1-14
- soko2-12
- soko2a-16
- soko2b-16
- soko3a-12
- soko3b-9
- soko4a-18
- soko4b-5
- subbranches
- update-around
- update-around-player
- update-at
- update-at-player
- update-curlvl
- update-from-player
- update-item-at-player
- update-monster
- upwards-branches
- upwards?
bothack.item
Public variables and functions:
- ->Item
- ammo
- ammo?
- amulet?
- armor?
- artifact?
- bag?
- bell
- blessed?
- boh?
- book
- boots?
- can-take?
- candelabrum
- candle?
- charged?
- container?
- corpse->monster
- corpse?
- cursed?
- dagger?
- daggers
- dart?
- egg?
- enchantment
- explorable-container?
- food?
- gem?
- gloves?
- gold?
- holy-water?
- key?
- know-contents?
- label->item
- map->Item
- noncursed?
- nw-ratio
- other?
- parse-label
- pick?
- potion?
- price-id?
- recharged?
- ring?
- rocks?
- safe-buc?
- safe-enchant?
- safe?
- scroll?
- shield?
- shops-taking
- short-sword?
- single?
- slot-item
- spellbook?
- statue?
- tin?
- tool?
- two-handed?
- uncursed?
- wand?
- water?
- weapon?
- wished?
bothack.itemdata
Public variables and functions:
- amulet-appearances
- amulet-data
- armor-appearances
- armor-data
- boots
- cloaks
- exclusive-appearances
- figurines
- food-data
- gem-data
- gem-gems
- generic-plurals
- gloves
- helmets
- monster-foods
- others-data
- potion-appearances
- potion-data
- ring-appearances
- ring-data
- scroll-appearances
- scroll-data
- spellbook-appearances
- spellbook-data
- statue-data
- stone-gems
- tool-data
- wand-data
- wands-appearances
- weapon-data
bothack.itemid
Public variables and functions:
- add-discoveries
- add-discovery
- add-observed-cost
- add-prop-discovery
- ambiguous-appearance?
- appearance-cha-cost
- appearance-name
- appearance-of
- appearance-prop-val
- base-cha-cost
- blind-appearances
- could-be?
- discovery
- forget-names
- initial-ids
- item-id
- item-name
- item-names
- item-subtype
- item-type
- item-weight
- know-appearance?
- know-id?
- know-price?
- knowable-appearance?
- name-for
- name-variants
- names
- new-discoveries
- observable-props
- possible-ids
- possible-names
- query
bothack.itemtype
Public variables and functions:
- ->Amulet
- ->Armor
- ->Food
- ->Gem
- ->Other
- ->Potion
- ->Ring
- ->Scroll
- ->Spellbook
- ->Statue
- ->Tool
- ->Wand
- ->Weapon
- amulets
- armor
- blind-plurals
- food
- gems
- item-kinds
- items
- itemtype-impl
- jap->eng
- kw->itemtype
- map->Amulet
- map->Armor
- map->Food
- map->Gem
- map->Other
- map->Potion
- map->Ring
- map->Scroll
- map->Spellbook
- map->Statue
- map->Tool
- map->Wand
- map->Weapon
- name->item
- others
- plural->singular
- potions
- rings
- scrolls
- spellbooks
- statues
- tools
- wands
- weapons
bothack.monster
Public variables and functions:
- ->Monster
- amphibious?
- corrosive?
- covetous?
- demon-lord?
- drowner?
- flies?
- follower?
- guard?
- high-priest?
- hostile?
- human?
- ignores-e?
- infravisible?
- known-monster
- leprechaun?
- map->Monster
- medusa?
- mimic?
- mindless?
- nasty?
- new-monster
- oracle?
- passive?
- priest?
- pudding?
- rider?
- rodney?
- sees-invisible?
- sessile?
- shopkeeper?
- slow?
- spellcaster?
- steals?
- strong?
- titan?
- typename
- undead?
- unicorn?
- unique?
- unknown-monster
- werecreature?
bothack.pathing
Public variables and functions:
- ->Path
- at-level?
- autonavigable?
- base-cost
- branch-map
- can-unlock?
- dare-destroy?
- dead-end?
- entering-shop?
- exploration-index
- explore
- explore-level
- explored?
- fidget
- go-down
- level-seq
- likely-walkable?
- map->Path
- move
- nav-targets
- navigate
- navopts
- needs-levi?
- pass-monster
- reset-exploration
- safe-from-guards?
- safely-walkable?
- search-level
- seek
- seek-branch
- seek-feature
- seek-level
- seek-portal
- seek-tile
- unexplored-column
- unexplored-columns
- unstuck
- visit
- visited?
bothack.player
Public variables and functions:
- ->Player
- add-intrinsic
- available-gold
- bagged-items
- blind?
- blocker-slots
- blockers
- burdened?
- can-eat?
- can-engrave?
- can-remove?
- capacity
- confused?
- count-candles
- cursed-blockers
- dizzy?
- edible?
- fainting?
- fast?
- free-action?
- free-finger?
- gold
- hallu?
- has-hands?
- have
- have-all
- have-candles?
- have-intrinsic?
- have-key
- have-levi
- have-levi-on
- have-mr?
- have-pick
- have-sum
- have-unihorn
- have-usable
- hungry?
- impaired?
- initial-intrinsics
- inventory
- inventory-label
- inventory-slot
- light-radius
- map->Player
- new-player
- nutrition-sum
- nw-ratio-avg
- overloaded?
- overtaxed?
- reflection?
- remove-intrinsic
- safe-corpse-type?
- satiated?
- slot-appearance
- slots
- strained?
- stressed?
- taboo-corpses
- thick?
- unihorn-recoverable?
- update-player
- update-slot
- want-to-eat?
- weak?
- weight-mod
- weight-sum
- weight-to-burden
- wielded-item
- wielding
bothack.position
Public variables and functions:
- ->Position
- adjacent?
- at
- deltas
- diagonal
- diagonal-neighbors
- diagonal?
- directions
- dirmap
- distance
- distance-manhattan
- in-direction
- in-line
- including-origin
- map->Position
- neighbors
- opposite
- position
- position-map
- rectangle
- rectangle-boundary
- straight
- straight-neighbors
- straight?
- to-position
- towards
- valid-position?
bothack.tile
Public variables and functions:
- ->Tile
- altar?
- antimagic?
- arrowtrap?
- bars?
- beartrap?
- blank?
- blocked?
- boulder?
- bouldertrap?
- cloud?
- corridor?
- darttrap?
- diagonal-walkable?
- diggable?
- digit?
- door-closed?
- door-locked?
- door-open?
- door-secret?
- door?
- drawbridge-lowered?
- drawbridge-raised?
- drawbridge?
- dug?
- e?
- engravable?
- firetrap?
- floor?
- fountain?
- grave?
- has-feature?
- hole?
- ice?
- initial-tile
- item?
- lava?
- levelport?
- lootable-items
- magictrap?
- map->Tile
- mark-death
- mine?
- monster-glyph?
- monster?
- opposite-stairs
- parse-tile
- perma-e?
- pit?
- polytrap?
- pool?
- portal?
- reset-item
- rock?
- rocktrap?
- rusttrap?
- searched
- shop-types
- shop?
- shops
- sink?
- sleeptrap?
- spikepit?
- squeaky?
- stairs-down?
- stairs-up?
- stairs?
- statuetrap?
- teletrap?
- temple?
- throne?
- transparent?
- trap-names
- trap?
- trapdoor?
- traps
- tree?
- unexplored?
- unknown-trap?
- unknown?
- visited-stairs?
- walkable-by
- walkable?
- wall?
- web?
bothack.util
Public variables and functions:
- backspace
- condp-all
- config-get
- ctrl
- dissoc-in
- effective-str
- enum->kw
- esc
- find-first
- first-min-by
- firstv
- indexed
- keep-first
- kw->enum
- last-word
- less-than?
- max*
- max-by
- min-by
- more-than?
- not-any-fn?
- parse-int
- priority-bottom
- priority-default
- priority-top
- random-nth
- re-any-group
- re-first-group
- re-first-groups
- removev
- secondv
- select-some
- str->kw
- Type
- update
- vi-directions