From NetHackWiki
Jump to navigation Jump to search

The Shirts are within "ifdef Tourist": in objects.c#line400 of the source. Would this make random generation impossible for everyone else? (the article implies shops are the exception).

The tourist seems to get an '8' for the Hawaiian shirt, '2' for a T shirt and as a result loses '10' for a bronze plate mail.--PeterGFin 12:44, August 7, 2010 (UTC)

The #ifdef and #endif blocks are for conditional compilation. Some places on the wiki will make reference to "if SOMEVALUE is defined then...". For example, if MAIL is not defined (by '#define MAIL', then mail daemons cannot exist - this is distinct from the mail option simply being turned off. This is done during compilation, and there is no way to change these without recompiling the nethack source code.
The result is that if tourists exist, then Tshirts exist too (both types), and if tourists don't exist, neither do Tshirts. All references to Tshirts, e.g. when checking armor slots for destroy armor, will include the #ifdef TOURIST - if TOURIST is not defined, then there isn't even a Tshirt armor slot. There is no change in whether or not you are a tourist when playing the game, only if you could play as a tourist.
I don't know what you mean for the 2nd half. Could you elaborate? That sounds like player monster generation. -- Qazmlpok 14:12, August 7, 2010 (UTC)

Real life Nethack T-shirts

The ASCII and tile versions of the Nethack shirt designs were straightforward to make on Zazzle[1]. You can find existing designs there, but copyright is dubious since the 'creators' make 10-50% of the price.--PeterGFin 15:46, 18 June 2011 (UTC)

Neat, we really need real-life t-shirts in the article. --Tjr 21:40, 18 June 2011 (UTC)

NethackT.jpeg NethackTTile.jpg

As mentioned above. The modelling is all virtual of course. I uploaded these with an NGPL tag, but am willing to stand corrected.--PeterGFin 17:10, 19 June 2011 (UTC)

Adding origins

I'm going to go ahead and start adding origins in italics for the T-shirt messages that are specific references. I thought of making it a chart, but that would be ugly, and most of them would just be "generic joke", etc. I don't want it to get too cluttered with speculation or explanations of obvious jokes, but things like the last two that are very direct references to IP not (often) referred to elsewhere in the game are worth (briefly) explaining, in my opinion. -Ion frigate (talk) 02:06, 29 August 2023 (UTC)