more genocide prompts

Make the prompt for single genocide be more precise
 from:  What monster do you want to genocide?
 _to_:  What type of monster do you want to genocide?
and the re-prompt for it be slightly more verbose
 from:  What... [type the name of a monster]
 _to_:  What... [enter the name of a type of monster]

Also, make the already verbose re-prompt for class genocide even
more verbose
 from: What class... [type the symbol representing a class]
 _to_: What class... [type the symbol or name representing a class]

Possibly should have changed 'type' to 'enter' on the last one to
keep them consistent but I left that as-is.
This commit is contained in:
PatR
2022-09-28 15:19:41 -07:00
parent 40b16eb8c7
commit 064ee2021b

View File

@@ -2473,7 +2473,8 @@ do_class_genocide(void)
}
Strcpy(promptbuf, "What class of monsters do you want to genocide?");
if (iflags.cmdassist && j > 0)
Strcat(promptbuf, " [type the symbol representing a class]");
Strcat(promptbuf,
" [type the symbol or name representing a class]");
getlin(promptbuf, buf);
(void) mungspaces(buf);
/* choosing "none" preserves genocideless conduct */
@@ -2653,9 +2654,9 @@ do_genocide(int how)
pline1(thats_enough_tries);
return;
}
Strcpy(promptbuf, "What monster do you want to genocide?");
Strcpy(promptbuf, "What type of monster do you want to genocide?");
if (iflags.cmdassist && i > 0)
Strcat(promptbuf, " [type the name of a monster]");
Strcat(promptbuf, " [enter the name of a type of monster]");
getlin(promptbuf, buf);
(void) mungspaces(buf);
/* choosing "none" preserves genocideless conduct */