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

Shaggy

  • Priest
  • **
  • Posts: 65
  • (╯°□°)╯︵ ┻━┻ <( !@#$ 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

  • Acolyte
  • *
  • Posts: 28
    • 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

  • Protector of the @
  • *****
  • Posts: 1112
    • View Profile
Re: Got time for a joke?
« Reply #2 on: July 11, 2013, 09:18:03 AM »
That owns.

Jo

  • Protector of the @
  • *****
  • Posts: 1943
  • Joseph Bradshaw
    • View Profile
    • Email
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?
Klingon RL, Gunfist 7DRL, Cardlike 7DRL, Cardlike: Quest for the Goat Horn, Sun Crusher 7DRL, The Littlest Princess 7DRL and dozens of board and card games.

ekolis

  • Bishop
  • ***
  • Posts: 182
  • 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