Skip to content

jbabin49/Calendar-and-Weather-Roll20-Mod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Calendar and Weather mod

English :

This mod is fully customizable and allows you to generate a report in the chat with the current date, season, weather and phases of the moon(s).

Français :

Ce mod est entièrement customisable et permet de générer un rapport dans le chat avec la date du jour, la saison, la météo et les phases de la (des) lune(s).

Customization

English :

The style ("chatStyle")

You can change the style of the report output in chat.

The weather ("WeatherConfig")

You can change the weather variables by modifying the values ​​in the tables:

  • Wind strength ("windForce")
  • Precipitation strength ("precipitationStrength") For each climate ("climates"), you can change:
  • Humidity ("humidity")
  • Wind direction probability ("windChances")
  • Temperature ranges for each season ("temperature")
  • Weather probabilities ("precipitation")

The calendar ("CalendarConfig")

The calendar is also fully customizable. You can change:

  • the names of the days and add or remove them (days)
  • the names of the months, their lengths and add or remove them (months)
  • the months of the seasons (seasons) ⚠️ We count from zero (the first month = 0, the second = 1, etc...) Please note: do not change the names of the seasons here, they must be changed in the translations further down in the code.

The moon ("MoonConfig")

You can change the name of the moon(s), the length of a cycle, and the name of the phases in the order they appear. You can also add or remove moons, respecting the format.

The translations ("i18n")

You can change the translation for each word in this section. You can put anything you want, be creative if you like 😁. The names of the seasons will be changed here.

The icons

All icons can also be customized if you wish in the code section after the translations. They are configured with emoticons.

Français :

Le style ("chatStyle")

Vous pouvez modifier le style de la sortie du rapport dans le chat.

La météo ("WeatherConfig")

Vous pouvez changer les variables pour la météo en changeant les valeurs dans les tableaux :

  • la force du vent ("windForce")
  • la force des précipitations ("precipitationsStrength") Pour chaque climat ("climates"), vous pouvez changer :
  • l'humidité ("humidity")
  • la probabilité de la direction du vent ("windChances")
  • les intervalles de températures pour chaque saison ("temperature")
  • les probabilités pour le temps qu'il fait ("precipitation")

Le calendrier ("CalendarConfig")

Le calendrier est lui aussi entièrement customisable. Vous pouvez changer :

  • le nom des jours et en ajouter ou en retirer ("days")
  • le nom des mois, leur durée et en ajouter ou en retirer ("months")
  • les mois des saisons ("seasons") ⚠️ On compte à partir de zéro. (le 1er mois = 0, le deuxième = 1, etc...) Attention, ne changez pas le nom des saisons ici, il faut le changer dans les traductions plus bas dans le code.

La lune ("MoonConfig")

Vous pouvez changer le nom de la (des) lune(s), la durée d'un cycle et le nom des phases dans l'ordre où elles apparaissent. Vous pouvez aussi ajouter ou retirer des lunes en respectant le format.

Les traductions ("i18n")

Vous pouvez changer la traduction pour chaque mot dans cette partie. Vous pouvez mettre tout ce que vous voulez, faites preuve de créativité si vous le souhaitez 😁. Le nom des saisons sera à changer ici.

Les icônes

Toutes les icônes peuvent aussi être customisées si vous le souhaitez dans la partie du code après les traductions. Elles sont configurées avec des émoticones.

About

A roll20 mod with fully customizable calendar and weather

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published