rabbit.c

dw_fluffos_v1/lib/std/languages/rabbit.c · 573 B

From the archive dw_fluffos_v1.tar.gz

Download the archive   « Back to the archive contents

/*
 * Rabbit
 *
 * by pinkfish
 */

#include <language.h>

inherit LANGUAGE_INHERIT;

void setup() {
   set_long( "This is the local language of Rabbit.\n" );
   set_name( "Rabbitian" );
   set_start_text_bit( "Some carefully constructed characters "
                       "that might mean:\n" );
} /* setup() */

mixed do_garble_text( string text ) {
    return ({ "whats", "up", "doc", "carrot" })[random(4)];
} /* do_garble_text() */


string do_garble( string text, string text_type )  {
    return ({ "whats", "up", "doc", "carrot" })[random(4)];
} /* do_garble() */

Site Stats

Snippets: 1791
Codebases: 571