bothack.itemid

add-discoveries

(add-discoveries game discoveries)

add-discovery

(add-discovery game appearance id)

add-observed-cost

(add-observed-cost game appearance cha cost sell?)(add-observed-cost {:keys [player], :as game} appearance cost)(add-observed-cost {:keys [player], :as game} appearance cost sell?)

add-prop-discovery

(add-prop-discovery game appearance prop propval)

ambiguous-appearance?

(ambiguous-appearance? item)

appearance-cha-cost

appearance-name

appearance-of

(appearance-of item)

appearance-prop-val

base-cha-cost

blind-appearances

could-be?

(could-be? game id item)

discovery

forget-names

(forget-names game names)

initial-ids

(initial-ids item)(initial-ids item n)
Return n or all possible ItemTypes for the given item without taking
discoveries into consideration

item-id

(item-id item)(item-id game item)
Returns the common properties of all possible ItemTypes for the given item
(or simply the full record if unambiguous) optionally taking current
discoveries into consideration

item-name

(item-name game item)

item-names

item-subtype

(item-subtype item)

item-type

(item-type item)

item-weight

(item-weight item)

know-appearance?

(know-appearance? game id)

know-id?

(know-id? game item)
Can the item be unambiguously identified?

know-price?

(know-price? game item)

knowable-appearance?

(knowable-appearance? appearance)
Does it make sense to know anything about this appearance?  Not true for
unnamed lamps and other non-exclusive appearances

name-for

(name-for game item)

name-variants

(name-variants name)

names

new-discoveries

(new-discoveries)

observable-props

possible-ids

(possible-ids game item)(possible-ids game item n)
Return n or all possible ItemTypes for the given item, taking current
discoveries into consideration

possible-names

(possible-names game item)

query

macro

(query discoveries qr)