Skip to content

allow subdirectories in lich/scripts/ #23

@robbintt

Description

@robbintt

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:

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions