Difference between revisions of "Container"

From NetHackWiki
Jump to navigation Jump to search
(A statue can be a container.)
Line 1: Line 1:
 
A '''container''' usually means one of the following items: [[large box]], [[chest]], [[ice box]], [[sack]], [[oilskin sack]] or [[bag of holding]]. Note that even though [[bag of tricks]] is defined with the CONTAINER-macro in [[objects.c]], you cannot put items in it.
 
A '''container''' usually means one of the following items: [[large box]], [[chest]], [[ice box]], [[sack]], [[oilskin sack]] or [[bag of holding]]. Note that even though [[bag of tricks]] is defined with the CONTAINER-macro in [[objects.c]], you cannot put items in it.
 +
 +
A [[statue]] can also function as a container; this causes [[DYWPYI]] messages like, "The statue of the grid bug is empty." ([[end.c#line948]]) The contents correspond to the [[inventory]] of that monster before it was stoned.
  
 
[[Category:Items]]
 
[[Category:Items]]

Revision as of 20:35, 11 July 2006

A container usually means one of the following items: large box, chest, ice box, sack, oilskin sack or bag of holding. Note that even though bag of tricks is defined with the CONTAINER-macro in objects.c, you cannot put items in it.

A statue can also function as a container; this causes DYWPYI messages like, "The statue of the grid bug is empty." (end.c#line948) The contents correspond to the inventory of that monster before it was stoned.