%title
Display Puzzle Caches

%introduction
Unknown Geocaches really come in two types:

Ones that you need to solve "in the field"

Ones that you need to solve ahead of time (puzzles)

These screens will show you a list of all the puzzle caches from a
search set (EG, pocket query).  They can be optionally sorted by a
distance from a waypoint.  With each cache you can either mark them as
solvable "in the field" or enter the solved coordinates for puzzles.
Then, in the future when you go to export your geocaches to your GPS
you can filter out any puzzles that aren't either marked as "in the
field" or have been solved.

%include searchbase-basics

%if 0
%[ ,,type=label]
%[puzlabel,0,type=label,text=Extra puzzle search parameters:]
%endif

&&(waypoint:subtype=Unknown
%if %[Include Multi Caches,0,type=checkbox,indent=1,helpdesc=This lets you update the default starting waypoint for a multi-cache as well.  This is useful if you've already done one stage of a multi-cache.  Simply treat them as a puzzle and set the solved coordinates to the next stage you need to head out to.]
||waypoint:subtype=Multi-cache
%endif
)

%if %[Include Unknowns Already Marked as "in field",0,type=checkbox,indent=1]
%else
  &&tag:-infield
%endif

%if %[Include Unknowns Already Marked as "solved",0,type=checkbox,indent=1]
%else
  &&tag:-solved
%endif

%if %[Include Caches Tagged as "found",0,type=checkbox,indent=1]
%else
  &&tag:-found
%endif

%if %[autopuzzle,1,type=checkbox,text=Auto-populate attributes with extracted puzzle equations]
%modify
makepuzzle:
%endif

%if "%[homepoint,GC,text=Sort by distance from waypoint,helpdisc="(Optional)"]" ne 'GC'
%modify
distance:from=%[homepoint]
%modify
sortby:
%endif

%display
Gui/List:separator=1,(plugins=Solve,Show,Attributes:nopuz=1)


