1
/*-----------------------------------------------------------------
4
* This file is reserved for local functions that you may wish
5
* to hack into PennMUSH. Read parse.h for information on adding
6
* functions. This file will not be overwritten when you update
7
* to a new distribution, so it's preferable to add new functions
8
* here and leave the other fun*.c files alone.
12
/* Here are some includes you're likely to need or want.
13
* If your functions are doing math, include <math.h>, too.
21
#include "confmagic.h"
24
void local_functions(void);
26
/* Here you can use the new add_function instead of hacking into function.c
31
FUNCTION(local_fun_silly)
33
safe_format(buff, bp, "Silly%sSilly", args[0]);
42
function_add("SILLY", local_fun_silly, 1, 1, FN_REG);