%*
%* Seven Kingdoms: Ancient Adversaries
%*
%* Copyright 1997,1998 Enlight Software Ltd.
%* Copyright 2018 Timothy Rink
%*
%* This program is free software: you can redistribute it and/or modify
%* it under the terms of the GNU General Public License as published by
%* the Free Software Foundation, either version 2 of the License, or
%* (at your option) any later version.
%*
%* This program is distributed in the hope that it will be useful,
%* but WITHOUT ANY WARRANTY; without even the implied warranty of
%* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%* GNU General Public License for more details.
%*
%* You should have received a copy of the GNU General Public License
%* along with this program.  If not, see <http://www.gnu.org/licenses/>.
%*
%*

\chapter{Mouse and keyboard Commands and Cheat Codes}

\section{Mouse Commands}

\begin{tabular}{ | l | p{6cm} |}
	\hline
	Action	& Description \\ \hline
	Click	& Press the left mouse button once. \\ \hline
	Double-Click	& Press the left mouse button twice quickly. \\ \hline
	Right-Click	& Press the right mouse button once. \\ \hline
	Group Select	& Click and hold down the left mouse button, dragging a box around the intended group. \\ \hline
	Right-Click on town transfer	& Transfers 10 peasants \\ \hline
	Right-Click on research project	& Sets research project for all towers of science \\ \hline
	Right-Click on train unit	& Dequeue 8 units \\ \hline
	Right-Click on collect tax	& Set automatic tax \\ \hline
	Right-Click on grant	&  Set automatic grant \\
	% i think one or two is missing
	\hline
	\end{tabular}

\section{Keyboard Commands}

\begin{tabular}{ | l | p{6cm} |}
	\hline	 
	Action	& Description \\ \hline
	Esc	& Close Scroll Reports. \\ \hline
	F1	& Kingdoms report \\ \hline
	F2	& Villages report \\ \hline
	F3	& Economy report \\ \hline
	F4	& Trade report \\ \hline
	F5	& Military report \\ \hline
	F6	& Technology report \\ \hline
	F7	& Espionage report \\ \hline
	F8	& Ranking report \\ \hline
	F9	& View the News Log. \\ \hline
	F11	& Capture the Screen to a .BMP file. The screenshot will be saved in the game’s directory. \\ \hline
\end{tabular}
	
	\begin{tabular}{ | l | p{6cm} |}
		\hline	 
		Action	& Description \\ \hline
	0 (zero)	& Pause the Game. Many overlays and menus will still be operational even while the game is paused. Units can be given new orders, but they will carry them out when the game is resumed. \\ \hline
	1--9	& Set the Speed of the Game. 1 is the slowest---and 9 the fastest. \\ \hline
	Spacebar	& Pause/unpause the game. \\ \hline
	Shift + Right-Click	& Queue 8 units / queue 10 weapons / queue 4 ships \\ \hline
	Up / Down Arrows	& Go to the previous/next building of the same type as the currently selected one. \\ \hline
	Left / Right Arrows	& Go to the previous/next object of the same type and of the same nationality as the currently selected one. \\ \hline
\end{tabular}

\begin{tabular}{ | l | p{10cm} |}
	\hline	 
	Action	& Description \\ \hline
	b	& If you select a unit, it will give you the build command. If you select a town, it will give you the train command. \\ \hline
	b+a	& Build a factory \\ \hline
	b+f	& build a fort \\ \hline
	b+h	& build a harbor \\ \hline
	b+i	& build an inn \\ \hline
	b+m	& build a market \\ \hline
	b+p	& build a seat of power \\ \hline
	b+r	& build a mine \\ \hline
	b+t	& build a tower of science \\ \hline
\end{tabular}
	
\begin{tabular}{ | l | p{10cm} |}
	\hline	 	
	Action	& Description \\ \hline
	d	& Open first diplomacy message / reply to chat \\ \hline
	e	& Switch the World Map Display Modes. \\ \hline
	f	& Select a Fort and center the screen on it. Press repeatedly to cycle through all of your Forts. Pressing the left or right arrow keys will also cycle through your Forts. Pressing the up and down arrow keys will cycle through all Forts, including those of other Kingdoms. \\ \hline
	g	& Select a General and center the screen on him. Press repeatedly to cycle through all of your Generals. \\ \hline
	u	& Select a Ship and center the screen on it. Press repeatedly to cycle through all of your Ships. \\ \hline
	j	& Center the screen on the location of a Natural Resource deposit. \\ \hline
	k	& Select your King and center the screen on him. \\ \hline
	l (el)	& Load a Game. \\ \hline
	o (oh)	& In-Game Options Menu. \\ \hline
	p	& Toggle between Opaque and Transparent Reports. \\ \hline
	r	& If you select a fort, it will Sortie the soldiers. If you select soldiers, it will withdraw them. If you select a village, it will recruit peasants. \\ \hline
	s	& Save the Game. The game will be Auto-Saved every two months in a separate file. \\ \hline
	t	& Settle \\ \hline
	x	& Clear all News and / or Chat messages from the screen. \\ \hline
	y	& Select a Spy and center the screen on him. Press repeatedly to cycle through all of your Spies. \\ \hline
\end{tabular}
	
	\begin{tabular}{ | l | p{6cm} |}
		\hline	 
		Action	& Description \\ \hline
	>	& Next block of text in Training. \\ \hline
	<	& Previous block of text in Training. \\ \hline
	Ctrl + (0--9)	& Assign all selected units to a numbered group. \\ \hline
	Alt + (0--9)	& Select all mobile units previously assigned to a numbered group. \\ \hline
	Alt + Right-Click	& Manually assign waypoints to mobile unit(s). After setting waypoints, use a normal Right Click to set the final destination. \\ \hline
	Alt + F4	& Quit to Desktop \\ \hline
		\hline
\end{tabular}

\section{Cheat Codes}

Type !!!@@@\#\#\# during gameplay to enable cheat mode. Note that the game will say you cheated, and your score will be zero.

\begin{tabular}{ | l | p{6cm} |}
	\hline	 
	Action	& Description \\ \hline
c	& Add \$1000 \\ \hline
n	& Add all technology \\ \hline
u	& Enable / disable King immortal mode. \\ \hline
z	& Construct building instantly \\ \hline
=	& Fill prayer bar in seat of power \\ \hline
[	& +20 combat skill \\ \hline
]	& +20 skill \\ \hline
;	& +10 population \\ \hline
‘	& +20 spy skill \\ \hline
\textbackslash\{\}	& Add 1000 food \\ \hline
/	& Reveal map \\ \hline
	\hline
\end{tabular}

