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

Function seffect_stinking_cloud

src/read.c:1990–2002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1988}
1989
1990staticfn void
1991seffect_stinking_cloud(struct obj **sobjp)
1992{
1993 struct obj *sobj = *sobjp;
1994 int otyp = sobj->otyp;
1995 boolean already_known = (sobj->oclass == SPBOOK_CLASS /* spell */
1996 || objects[otyp].oc_name_known);
1997
1998 if (!already_known)
1999 You("have found a scroll of stinking cloud!");
2000 gk.known = TRUE;
2001 do_stinking_cloud(sobj, already_known);
2002}
2003
2004staticfn void
2005seffect_blank_paper(struct obj **sobjp UNUSED)

Callers 1

seffectsFunction · 0.85

Calls 2

YouFunction · 0.85
do_stinking_cloudFunction · 0.85

Tested by

no test coverage detected