Thread: Exandrian Calendar - Help Please
-
March 25th, 2020, 17:20 #1
Exandrian Calendar - Help Please
Hello,
I'm trying to create the Exandrian Calendar for the new Wildemount book. I'm struggling to figure out how to get the days of the week to transition correctly from month to month (ie: if the last day of month 1 is Thursday, the first day of the month 2 should be Friday).
I found the CollapseCalendar mod, which seems to be a step in the right direction... but I got a bit lost with the .lua file in the extension. Not sure how the math works. I've attached my work to this post. The calendar is fully built in the .mod. I just need assistance with that last step.
Can anyone please help me make this work?
Thank you!
DrazThe most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.
-
March 25th, 2020, 17:38 #2
Have you seen this?
https://www.fantasygrounds.com/forum...endar-Tutorial
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
March 25th, 2020, 17:59 #3
I did see that. But with the very irregular nature of this particular calendar, I failed to work it out on my own. Months range from 27 - 32 days, 328 days in the year.
I haven't coded in over 15 years, so this is kicking my butt. I wish this calendar came w/ the official WotC mod for the book.The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.
-
March 25th, 2020, 18:23 #4
Mattekure will probably see this post soon. He;s a pretty nice guy and if he has time will probably help you resolve this. You can also look on the FG or FGC Discord servers and see if someone there can help you through the LUA part.
Problems? See; How to Report Issues, Bugs & Problems
On Licensing & Distributing Community Content
Community Contributions: Gemstones, 5E Quick Ref Decal, Adventure Module Creation, Dungeon Trinkets, Balance Disturbed, Dungeon Room Descriptions
Note, I am not a SmiteWorks employee or representative, I'm just a user like you.
-
March 25th, 2020, 18:30 #5
-
March 25th, 2020, 23:24 #6
Awe, close. I got it so it didn't start every month on the 1st day of the week, but the following months started 1-3 days later than they should have.
The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.
-
March 26th, 2020, 18:03 #7
Sorry I missed this thread earlier. I have something for you to try out. I have an extension that provides a generic lunar day handler, so as long as you dont have any leap years in your calendar, it should work no matter how wonky the months are.
In your calendar xml, for the lunar day handler, be sure to use "LunarWrap"
Here it is in action. I also attached the slightly tweaked calendar mod you made. just to add the correct handler.
Screenshot_1.jpgLast edited by mattekure; March 26th, 2020 at 18:12.
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
March 26th, 2020, 18:54 #8
Ok, so...
1. From the CollapseCalendar.mod file that you sent me, change this line in db.xml ... <lunardaycalc type="string">LunarWrap</lunardaycalc>
2. Re-add the edited .xml file to CollapsCalendar.mod
3. Put the edited CollapseCalendar.mod file in the modifications folder
4. Put the Generic Lunar Day Handler.ext file as provided in the extensions folder
Should that be it?The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.
-
March 26th, 2020, 18:58 #9
yeah, just make sure the extension is loaded. In my post I also attached a copy of your collapsecalendar.mod with the adjustments made. You can take a look to see exactly what I did in there.
For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e
-
March 26th, 2020, 19:10 #10The most merciful thing in the world, I think, is the inability of the human mind to correlate all its contents.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks