Author Topic: Really funny comment in the codebase  (Read 3837 times)

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Really funny comment in the codebase
« on: February 16, 2016, 09:20:41 AM »
In Client.C in the function ClientDied:

Code: [Select]
/* No matter how bad it is, you don't die while not in the */
/* game. */

I understand why this is there. If anyone tries to drink poison or potions of pain in the town UI... but the wording is great

Markus Ramikin

  • Member
  • Posts: 24
  • Karma: +0/-0
  • From the void shall rise only the pure.
    • View Profile
Re: Really funny comment in the codebase
« Reply #1 on: February 16, 2016, 11:56:51 AM »
Heh. This should be a tradition. Hide easter eggs in code, or in games themselves, saying things like "eat healthy and exercise".
You say "potion of food". I say "yoghurt".

LysleShields

  • Administrator
  • Full Member
  • Posts: 208
  • Karma: +6/-1
  • Is the potion half full or half empty?
    • View Profile
    • Amulets & Armor
Re: Really funny comment in the codebase
« Reply #2 on: February 16, 2016, 02:15:37 PM »
Yep.  Otherwise we'd crash or people would enter the game and die.  I believe our first occurrence was someone using a lightning wand that zaps you too.

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: Really funny comment in the codebase
« Reply #3 on: February 17, 2016, 07:47:44 AM »
From OBJMOVE.C

Code: [Select]
/* !!! Gee ... who do we hurt?  Do */
/*  creatures hurt from falls? */
/* ouch!! */

peewee_RotA

  • Sr. Member
  • Posts: 272
  • Karma: +8/-0
    • View Profile
Re: Really funny comment in the codebase
« Reply #4 on: March 19, 2016, 05:42:41 AM »
GUILDUI.C - Tests left over from adding/removing people:

Code: [Select]
/*
    GuildUIAddPlayer    ("Joe Shmoe");
    GuildUIAddPlayer    ("Jack Sheet");
    GuildUIAddPlayer    ("Wonder Woman");
    GuildUIAddPlayer    ("Super Man");
    GuildUIRemovePlayer ("Wonder Woman");
*/