Vanilla is a product of Lussumo:
Documentation and Support.





Tell me what and who is pissing you off this week.
Explain to me why the world is shit.
Confess your sins. Get something off your chest. Tell me a plan. Tell me what's in your head. I want to know.
Object mug_full "coffee mug"
with name 'full' 'coffee' 'mug' ,
description "It's a sturdy white earthenware coffee mug, built to last. It is full to the brim with steaming hot coffee",
initial "The mug is now full of steaming hot coffee.",
before
[;
drink:
if (self in player || self in location)
{
remove mug_full;
move mug_empty to player;
print "You take a cautious sip of the coffee. It is so strong and hot that you almost spit it out, but manage to get it down. You feel better almost instantly. After blowing on the top you take a few more sips, then finish it off in three great gulps.^^
The effect is . . . profound. A sharp pain in your stomach doubles you over, and you spend a few minutes taking deep breaths, hoping to cool the burning sensation in your throat. You soon feel better . . . much better. You've never felt more awake, more aware of your surroundings. You suspect you won't have any more trouble staying awake.^^
After draining away the last few drops in the mug, you see something strange and wonderful in the corner of the room: A roiling cloud of pearly white light.";
! Set fatigue to zero
move pearly_cloud to location;
return true;
}
]
; But Thursday is Obama night, and we're totes excited. Hopefully the Politics thread will be back up by then so I can give everyone updates on our day at Mile High Stadium.
This is code from a text adventure (remember those?) I'm writing.