Subj : load() search paths...
To : Angus McLeod
From : MCMLXXIX
Date : Thu Aug 13 2009 10:37 am
Re: load() search paths...
By: Angus McLeod to Deuce on Wed Aug 12 2009 23:24:00
> Used to be that 3rd party add-ons (doors, etc) were put in their own
> directories under the /SBBS/XTRN directory. With JS now offering another
> option for development of 3rd party add-ons, is it apropriate to install
> such add-ons under /SBBS/XTRN still? And if so, should any change to the
> JS load() method cater to add-ons in that location?
>
I would have put everything in /sbbs/xtrn...... but the problem is that nearly
all of my programs share a lot of the same functions and scripts, so i would
either have to put everything in a /sbbs/xtrn/lib folder (which means I would
then have to load everything from the same) or put it in /sbbs/exec or
/sbbs/mods
the /sbbs/xtrn folder isn't really ideal (in my opinion) because it is already
cluttered up with game directories