You mention the "secret ending" that is triggered by "stripping naked and going through a specific door" That specific door is the only door in a specific location where an NPC advises you to remove your clothing before entering. (idk what happens if you don't) That location...