Concept
give players some namespace to work with and the ability to use source control w/ scripts by traversing 1 subdirectory deep when searching for scripts.
Use case:
clone a git repo of scripts into the lich/scripts/ folder. Script search then traverses 1 sudirectory deep when trying to find a script.
Issues
- Problem: Priority needs resolved between the
/lich/scripts/, its subdirectories, and between subdirectories.
- Solution: Main scripts path is searched last and gets priority. Subdirectory priority is alphabetical based on Ruby letter ordering rules (for characters not in english a-z). Probably inherited from ascii or unicode value.
Alternatives options:
- give the player a simple method for specifying a directory, e.g.
;mydirectory/myscript
- Drawback: longer, players prefer shorter directories
- maybe alternative character for
/. This creates potential filename conflicts unless the character is illegal in lich filenames.
Concept
give players some namespace to work with and the ability to use source control w/ scripts by traversing 1 subdirectory deep when searching for scripts.
Use case:
clone a git repo of scripts into the
lich/scripts/folder. Script search then traverses 1 sudirectory deep when trying to find a script.Issues
/lich/scripts/, its subdirectories, and between subdirectories.Alternatives options:
;mydirectory/myscript/. This creates potential filename conflicts unless the character is illegal in lich filenames.