monster gender-related follow-ups
remove unintentionally left M2_MALE flag on dwarf lord/lady/leader provide a way to verify gender information relayed from the core in debug mode on tty via #wizmgender debugging extended command
This commit is contained in:
@@ -1844,6 +1844,8 @@ struct ext_func_tab extcmdlist[] = {
|
||||
wiz_level_change, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ '\0', "lightsources", "show mobile light sources",
|
||||
wiz_light_sources, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ '\0', "wizmgender", "force added info about monster gender",
|
||||
wiz_mgender, IFBURIED | AUTOCOMPLETE | WIZMODECMD },
|
||||
{ ':', "look", "look at what is here", dolook, IFBURIED },
|
||||
{ M('l'), "loot", "loot a box on the floor", doloot, AUTOCOMPLETE },
|
||||
#ifdef DEBUG_MIGRATING_MONS
|
||||
|
||||
11
src/detect.c
11
src/detect.c
@@ -2096,4 +2096,15 @@ int which_subset; /* when not full, whether to suppress objs and/or traps */
|
||||
return;
|
||||
}
|
||||
|
||||
int
|
||||
wiz_mgender(VOID_ARGS)
|
||||
{
|
||||
iflags.wizmgender = !iflags.wizmgender;
|
||||
pline("wizmgender toggled %s", iflags.wizmgender ? "on" : "off");
|
||||
if (!u.uswallow)
|
||||
see_monsters();
|
||||
map_redisplay();
|
||||
return 0; /* no time */
|
||||
}
|
||||
|
||||
/*detect.c*/
|
||||
|
||||
@@ -448,8 +448,7 @@ NEARDATA struct permonst mons_init[] = {
|
||||
NO_ATTK, NO_ATTK, NO_ATTK),
|
||||
SIZ(900, 300, MS_HUMANOID, MZ_HUMAN), 0, 0,
|
||||
M1_TUNNEL | M1_NEEDPICK | M1_HUMANOID | M1_OMNIVORE,
|
||||
M2_DWARF | M2_STRONG | M2_LORD | M2_MALE | M2_GREEDY | M2_JEWELS
|
||||
| M2_COLLECT,
|
||||
M2_DWARF | M2_STRONG | M2_LORD | M2_GREEDY | M2_JEWELS | M2_COLLECT,
|
||||
M3_INFRAVISIBLE | M3_INFRAVISION, 6, CLR_BLUE),
|
||||
MON3("dwarf king", "dwarf queen", "dwarf ruler",
|
||||
S_HUMANOID, LVL(6, 6, 10, 20, 6), (G_GENO | 1),
|
||||
|
||||
Reference in New Issue
Block a user