]> granicus.if.org Git - nethack/commitdiff
Add extended command #kick
authorPasi Kallinen <paxed@alt.org>
Sat, 9 Jan 2016 11:39:45 +0000 (13:39 +0200)
committerPasi Kallinen <paxed@alt.org>
Sat, 9 Jan 2016 11:39:47 +0000 (13:39 +0200)
I've seen some complaints about not being able to kick with ^d
so add kick as an extended command.

Also add the missing #exploremode command to the Guidebook.

doc/Guidebook.mn
doc/Guidebook.tex
src/cmd.c

index aa06e40c466dd6334aecbad53253ecd38b5e51de..2d73781f5f856f3b4e626f5324355ac5eb5b24fa 100644 (file)
@@ -860,12 +860,16 @@ See the section below entitled ``Conduct'' for details.
 Dip an object into something.
 .lp #enhance
 Advance or check weapon and spell skills.
+.lp #exploremode
+Enter the explore mode.
 .lp #force
 Force a lock.
 .lp #invoke
 Invoke an object's special powers.
 .lp #jump
 Jump to another location.
+.lp #kick
+Kick something.
 .lp #loot
 Loot a box or bag on the floor beneath you, or the saddle 
 from a steed standing next to you.
index 849476ef24b8f5437eb12764c7cc9a0879482008..53716a2a906af439a0b13e431854af2dc23a3cc7 100644 (file)
@@ -1042,6 +1042,9 @@ Dip an object into something.
 \item[\tb{\#enhance}]
 Advance or check weapon and spell skills.
 %.lp
+\item[\tb{\#exploremode}]
+Enter the explore mode.
+%.lp
 \item[\tb{\#force}]
 Force a lock.
 %.lp
@@ -1051,6 +1054,9 @@ Invoke an object's special powers.
 \item[\tb{\#jump}]
 Jump to another location.
 %.lp
+\item[\tb{\#kick}]
+Kick something.
+%.lp
 \item[\tb{\#loot}]
 Loot a box or bag on the floor beneath you, or the saddle 
 from a steed standing next to you.
index 162234a76a79b8ced6e96bdbb9827f789ddd2323..1b389f722b749df2e5d0a8764afa465c7254b884 100644 (file)
--- a/src/cmd.c
+++ b/src/cmd.c
@@ -2777,6 +2777,7 @@ struct ext_func_tab extcmdlist[] = {
     { "force", "force a lock", doforce, FALSE },
     { "invoke", "invoke an object's powers", doinvoke, TRUE },
     { "jump", "jump to a location", dojump, FALSE },
+    { "kick", "kick something", dokick, FALSE },
     { "loot", "loot a box on the floor", doloot, FALSE },
     { "monster", "use a monster's special ability", domonability, TRUE },
     { "name", "name a monster or an object", docallcmd, TRUE },