From the NannyMUD documentation

LAST CHANGE

2005-09-15 by Gabe

FUNCTION


NAME

        query_puzzle - Has the player solved the puzzle?

LOCATION

        In /obj/player.c through /obj/puzzle.c.

AVAILABILITY

        This function can be called by any object.

SYNTAX

        int query_puzzle(string puzzle_name)

DESCRIPTION

        This function is used to test if a player has solved a given puzzle.

RETURN VALUES

        True if the player has solved the puzzle.

NOTE

        Do not call this function for the purpose of testing if you should
        call set_puzzle. Call set_puzzle directly instead and test the return
        value of that call.

SEE ALSO

        set_puzzle in lfun/player/set_puzzle