Author Topic: Got time for a joke?  (Read 12118 times)

Shaggy

  • Rogueliker
  • ***
  • Posts: 65
  • Karma: +0/-0
  • (╯°□°)╯︵ ┻━┻ <( !@#$ THIS, I'M OUT. )
    • View Profile
    • Not Quite ADoM
    • Email
Got time for a joke?
« on: November 06, 2012, 10:31:40 PM »
While writing the class that handles equipment, I ended up writing this function. First time in a while that I've written code that made me literally laugh out loud. I thought a few of you might enjoy that.

It is meant to return the name of whatever this person is wearing on their head.

Code: [Select]
   def GetHead(self):
        if self.ArmorHead:
            return self.owner.name
        else:
            return 'Nothing'

Edit :: Meant to post this in the other general board! Oops! Could someone move this for me? Thanks  ::)
« Last Edit: November 07, 2012, 12:03:51 AM by Shaggy »
Check out my blog at http://NotQuiteADoM.blogspot.com/ !

Nekoninja

  • Newcomer
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Got time for a joke?
« Reply #1 on: July 10, 2013, 11:57:25 PM »
Best rpg joke of the age!
Bow to me, your evil programmer or I will destroy the internet with my 'delete' button!

Vanguard

  • Rogueliker
  • ***
  • Posts: 1112
  • Karma: +0/-0
    • View Profile
Re: Got time for a joke?
« Reply #2 on: July 11, 2013, 09:18:03 AM »
That owns.

guest509

  • Guest
Re: Got time for a joke?
« Reply #3 on: July 12, 2013, 05:15:06 AM »
Crap. Didn't get it. Is it the 'self head' angle?

ekolis

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 186
  • Karma: +0/-0
  • get ye dennis
    • View Profile
    • Ed's home page
    • Email
Re: Got time for a joke?
« Reply #4 on: July 13, 2013, 09:16:45 PM »
Oh, was it supposed to be a *dirty* joke? I totally missed looking at it that way... no wonder I didn't get it!
The Ed draws near! What dost thou deaux?

>EAT SANDVICH