MCPcopy Create free account
hub / github.com/NetHack/NetHack / show_skills

Function show_skills

src/weapon.c:1305–1318  ·  view source on GitHub ↗

Displays a skill list for dumplog purposes. */

Source from the content-addressed store, hash-verified

1303
1304/* Displays a skill list for dumplog purposes. */
1305void
1306show_skills(void)
1307{
1308 winid win;
1309 menu_item *selected;
1310
1311 pline("Skills:");
1312 win = create_nhwindow(NHW_MENU);
1313 start_menu(win, MENU_BEHAVE_STANDARD);
1314 add_skills_to_menu(win, FALSE, FALSE);
1315 end_menu(win, "");
1316 nhUse(select_menu(win, PICK_NONE, &selected));
1317 destroy_nhwindow(win);
1318}
1319
1320/*
1321 * The `#enhance' extended command. What we _really_ would like is

Callers 1

dump_everythingFunction · 0.85

Calls 3

add_skills_to_menuFunction · 0.85
select_menuFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected