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

Function doattributes

src/insight.c:2008–2019  ·  view source on GitHub ↗

^X command */

Source from the content-addressed store, hash-verified

2006
2007/* ^X command */
2008int
2009doattributes(void)
2010{
2011 int mode = BASICENLIGHTENMENT;
2012
2013 /* show more--as if final disclosure--for wizard and explore modes */
2014 if (wizard || discover)
2015 mode |= MAGICENLIGHTENMENT;
2016
2017 enlightenment(mode, ENL_GAMEINPROGRESS);
2018 return ECMD_OK;
2019}
2020
2021void
2022youhiding(boolean via_enlghtmt, /* enlightenment line vs topl message */

Callers

nothing calls this directly

Calls 1

enlightenmentFunction · 0.85

Tested by

no test coverage detected