Register

Regional Deck Draw

An Add-on Module for Foundry Virtual Tabletop

Author: BartekB Project Source Foundry Versions 13+ (Verified 13.347) Last Updated 2 months, 2 weeks ago

English

 

If you like my work plest consider lest tip Support Bartłomiej Bielecki

This module allows you to automatically place cards from a deck within a selected Region. First, create a region of any shape and from the behavior list choose "Create card notes at the start of combat."
Configuration
Next, select the "Start/End of Combat" trigger and provide the UUID of the chosen deck from which the cards will be drawn, as well as the number of cards to draw – this can be a dice formula like 1d3 or a fixed number like 4.
Example
The option "Instead of drawing cards randomly, you can select them manually" will show a dialog for the GM at the start of combat, allowing them to choose cards instead of drawing them randomly.
Dialog
After confirming, a Journal will be created with the card images and the text "Use this card!", each card having its own page in the journal. Additionally, on the map, notes will be created in the cells inside the Region, linked to the journal pages.
Placement of card
Each player can click on a Note and view the Journal page linked to that Note.
Clicking on note on map
When the "Use this card!" text is clicked, the selected Journal page and the map Note will be removed, and a chat message will appear indicating that the card has been used.
Using of card
Unused Notes and the Journal with the cards are deleted at the end of combat.
IMPORTANT!! – For players and the GM to see the notes on the map, they must have the "Journal Notes" option enabled in the map settings, and the pin icon must be filled with color.
Journal Notes pin

Polski

Ten moduł pozwala na automatycznie rozmieszczenie kart z tali wewnąt wybranego Regionu. Na początku tworzymy region o dowlnym kształcie i z lusty zachowań wybieramy "Twórz notatki kart na początku walki".
New behavior
Następnie wybieramy Zdanierznie "Początek/Koniec walki" i podajemy UUID wybrenej tali z której ma losować karty oraz ilosć losowanych kart - może być formuła rzutu 1d3 lub liczba 4.
Example
Opcja "Zamiast losowo losować karty, możesz je wybrać ręcznie." na początku walki pokaże okno dialogowe dla GM gdzie może wybrać karty zamiast ich losowania.
Dialog
Po zatwierdzeniu zostanie utworzony Dziennik z obrazami kart i napisem "Użyj karty!", każda karta ma osobną stronę w dzienniku. Ponadto na mapie w polach znajdujących się wewnątrz Regionu zostaną utworzone notatki mapy, które łączą się ze stronami dziennika.
Placement of card
Każdy Gracz ma możliwość kliknięcia na daną Notatę i zobaczy stronę Dziennika powiązaną z daną Notatką.
Clicking on note on map
Po kliknięciu na napis "Użyj karty!" wybrana strona z Dziennika i Notatka na mapie zostanie usunięta oraz pojawi się na Czacie informacja o użyciu karty.
Using of card
Nie wykorzystane Notatki oraz Dziennik z kartami są usuwane na koniec walki.
ISTOTNE!! - Żeby Gracze i GM widzieli notatki na mapie muszą mieć włączoną taką opcję w zakładce "Notatki Dziennika", symbol pinezki ma być wypełniony kolorem.
Journal Notes pin

Available Versions

  1. Version 1.0

    2 months, 2 weeks ago
    Foundry Version 13+ (Verified 13.347) Manifest URL