What files should I put custom hardcoded functions and commands in?

javelin's picture

What files should I put custom hardcoded functions and commands in?

Normally, any custom hardcoded functions you add should go in src/funlocal.c, and new commands in src/cmdlocal.c. These two files are not altered by new patch levels, which greatly reduces the chance of a conflict when upgrading patchlevels.

There are a few exceptions, of course, for cases when you need to have access to information that's not normally available outside of specific files. See the Guide for Gods for more information on this.


2001-Jun-11 8:02pm shawnw