Giter Club home page Giter Club logo

moulinette-navigation-tools's Introduction

Moulinette Navigation Tools

GitHub tags (latest by date) License GitHub Download Tested on fvtt-vtt.com Support me on Patreon

See www.moulinette.cloud website.

This module provides an alternative view for navigating among scenes. The module is particularly useful if your campaign or adventure consists of many scenes organized in folders. By default, you need to click to open each folder and subfolder, and then two clicks are required to display or activate a scene. With this module, all scenes are presented, and you can switch from one scene to another with a single click.

Overview

Main advantages

  • Having a quick and comprehensive view of all scenes in a folder
  • Create a navigation view for a specific folder or subfolder
  • Facilitate navigation for game masters by reducing the number of clicks required :
Default behaviour Moulinette Navigation
Click on "Scenes" tab
Expand folder (Gor Todur)
Expand folder (The Anvil Quarter)
Right click on scene
Select "View scene"
5 clicks
Toggle navigation
Click on scene
2 clicks

To "fill" Moulinette navigation, you simply need to select the folder you want to display. Right-click on it and then select "Show in navigation (moulinette)"

Select folder

Then, click on the button "..." at the top left in the navigation bar to show or hide the list of scenes. In the list, click on a scene to display it, and hold down the "SHIFT" button to activate it.

List scenes and toggle navigation

Hide empty folders

This configuration automatically hides all directories that do not contain scenes.

FoundryVTT scenes | Show empty folders | Hide empty folders

Flatten the folder structure

When this option is enabled and a folder contains only one scene, Moulinette will not display the folder but only the scene to avoid cluttering the tree structure.

FoundryVTT scenes | Default folder structure | Flatten folder structure

Combine scenes (regex)

This configuration allows merging scenes based on their name. It's a regular expression representing the pattern used at the end of the scene names.

FoundryVTT scenes | Default folder structure | Merged folders

The configuration uses a regular expression to identify the pattern to recognize and the part to extract during merging.

Here are some concrete examples:

Pattern #1 : use of parentheses (default)

If you name your scenes like this :

  • My Scene (GF)
  • My Scene (1F)
  • My Scene (2F)
  • ...

You can then use the following regex to extract the part in parentheses: \((.+)\) (Parentheses characters must be escaped \( and \))

Pattern #2 : use of '-' character

If you name your scenes like this :

  • My Scene - GF
  • My Scene - 1F
  • My Scene - 2F
  • ...

You can then use the following regex to extract the part after the - character: - (.+) (You can replace - by any other character. Don't forget to escape it if it's a regex character)

To install the module from FoundryVTT:

  1. Start FVTT and browse to the Game Modules tab in the Configuration and Setup menu
  2. Search for "Moulinette Navigation Tools" and click install

To manually install the module (not recommended), follow these instructions:

  1. Start FVTT and browse to the Game Modules tab in the Configuration and Setup menu
  2. Select the Install Module button and enter the following URL: https://raw.githubusercontent.com/svenwerlen/moulinette-navigation-tools/master/module.json
  3. Click Install and wait for installation to complete

If you like my work and want to support me, consider subscribing to Moulinette!

You can also join Moulinette Discord

moulinette-navigation-tools's People

Contributors

svenwerlen avatar doumoku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.