Casimir
June 27th, 2019, 16:55
I've combed through the forums, and in particular Mattekure's tutorial (https://www.fantasygrounds.com/forums/showthread.php?47885-Fantasy-Grounds-Custom-Calendar-Tutorial) for an answer to this but haven't found anything that really answers this question.
Is it possible within the FG code (particularly for DnD 5E) to set up a calendar where holidays don't necessarily get assigned to a fixed date? For example, let's say I have a 3 day holiday called the Midsummer Fire Festival - it's pretty clear how to set that up if it always happens on the 15th of a given month in the year. But what if I want to set that 3 day holiday up so that it always starts on the 2nd Friday of June (to use the Gregorian calendar as the example)? Is that possible to do? Would it be similar (and I assume, a lot more complicated as well) to the LUA script that determines leap years?
Is it possible within the FG code (particularly for DnD 5E) to set up a calendar where holidays don't necessarily get assigned to a fixed date? For example, let's say I have a 3 day holiday called the Midsummer Fire Festival - it's pretty clear how to set that up if it always happens on the 15th of a given month in the year. But what if I want to set that 3 day holiday up so that it always starts on the 2nd Friday of June (to use the Gregorian calendar as the example)? Is that possible to do? Would it be similar (and I assume, a lot more complicated as well) to the LUA script that determines leap years?