-
May 2nd, 2018, 16:16 #11
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Here is an update.
-
May 2nd, 2018, 16:55 #12
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.
-
May 2nd, 2018, 16:58 #13
- Join Date
- Apr 2018
- Posts
- 16
-
May 2nd, 2018, 17:02 #14
Yes, but probably not perfectly maintained.
Start with the CoreRPG list of extensions. Since most rulesets are children of CoreRPG, these extensions work for most rulesets.
Then most ruleset specific forums (like 5E has this one) have a sticky thread with resources or extensions that only work in that ruleset.
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.
-
May 2nd, 2018, 17:16 #15
- Join Date
- Apr 2018
- Posts
- 16
Hmm. Seems like a problem sort of begging for a solution?
I am very new to this community, so this may be the ultimate in hubris to even suggest, but if there were a web-based repo where you could upload community extension/modules and it'd parse their metadata and make them available for search/download, would that be useful? Ultimately, I suppose you could also leverage that to end up with an app that'd handle selecting, installing, and updating extensions/mods, also. But at least making it easy to find the stuff people have worked hard to create?
Or maybe it's totally fine as is. Just seems non-intuitive to a newb, but I should probably also lurk more.
-
May 2nd, 2018, 20:26 #16
No, not hubris. And this has been discussed before.
I can't say I am or was completely involved in the discussion or aware of the pros and cons, but I can say one concern is security. Such a repository would have to be a trusted source. And who would manage that? That would be a lot of liability for SmiteWorks to take on. And of course doing so through the community raises questions too.
But, that's not to say it's impossible. I will say such a discussion would probably be best in a new thread since as you can imagine, it might go on for awhile
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.
-
July 8th, 2018, 21:05 #17
- Join Date
- Jul 2018
- Posts
- 5
Hello all! I decided to join this thread rather than start a new one since my issue is exactly the same as OP's. I made a calendar like follows (no leap years) but can't get the weekdays to line up from month to month (it always wants to start on Sunday). Here's the bit I wrote copying the gregorian style calendar (I left in the lunardaycalc type and periodvarcalc type for this post even though it's wrong since I know that's where I'll reference the extension):
Code:<fjellvale> <name type="string">Fjellvale Calendar</name> <setting type="string">Any</setting> <lunardaycalc type="string">gregorian</lunardaycalc> <lunarweek> <day1 type="string">Sunday</day1> <day2 type="string">Moonday</day2> <day3 type="string">Oathday</day3> <day4 type="string">Godday</day4> <day5 type="string">Freeday</day5> <day6 type="string">Starday</day6> </lunarweek> <periodvarcalc type="string">gregorian</periodvarcalc> <periods> <period1> <days type="number">60</days> <holidays> <holiday1> <duration type="number">2</duration> <name type="string">The Dawning</name> <startday type="number">1</startday> </holiday1> <holiday2> <duration type="number">1</duration> <name type="string">Deep Winter ends</name> <startday type="number">30</startday> </holiday2> <holiday3> <duration type="number">1</duration> <name type="string">End Winter begins</name> <startday type="number">31</startday> </holiday3> <holiday4> <duration type="number">1</duration> <name type="string">Day of the Ancients</name> <startday type="number">37</startday> </holiday4> <holiday5> <duration type="number">1</duration> <name type="string">End Winter ends</name> <startday type="number">60</startday> </holiday5> </holidays> <name type="string">Armaned</name> </period1> <period2> <days type="number">56</days> <holidays> <holiday1> <duration type="number">1</duration> <name type="string">Spring begins</name> <startday type="number">1</startday> </holiday1> <holiday2> <duration type="number">6</duration> <name type="string">Snowflowers</name> <startday type="number">6</startday> </holiday2> <holiday3> <duration type="number">4</duration> <name type="string">New Garden</name> <startday type="number">36</startday> </holiday3> <holiday4> <duration type="number">1</duration> <name type="string">Spring ends</name> <startday type="number">56</startday> </holiday4> </holidays> <name type="string">Velmaned</name> </period2> <period3> <days type="number">60</days> <holidays> <holiday1> <duration type="number">1</duration> <name type="string">Low Summer begins</name> <startday type="number">1</startday> </holiday1> <holiday2> <duration type="number">1</duration> <name type="string">Day of Lordship</name> <startday type="number">4</startday> </holiday2> <holiday3> <duration type="number">1</duration> <name type="string">Day of Kingship</name> <startday type="number">7</startday> </holiday3> <holiday3> <duration type="number">1</duration> <name type="string">Low Summer ends</name> <startday type="number">30</startday> </holiday3> <holiday4> <duration type="number">1</duration> <name type="string">High Summer begins</name> <startday type="number">31</startday> </holiday4> <holiday5> <duration type="number">1</duration> <name type="string">Day of Sovereignty</name> <startday type="number">37</startday> </holiday5> </holidays> <name type="string">Erkausi</name> </period3> <period4> <days type="number">60</days> <holidays> <holiday1> <duration type="number">6</duration> <name type="string">Richfest/Highsun</name> <startday type="number">4</startday> </holiday1> <holiday2> <duration type="number">1</duration> <name type="string">High Summer ends</name> <startday type="number">30</startday> </holiday2> <holiday3> <duration type="number">1</duration> <name type="string">End Summer begins</name> <startday type="number">31</startday> </holiday3> <holiday4> <duration type="number">1</duration> <name type="string">End Summer ends</name> <startday type="number">60</startday> </holiday4> </holidays> <name type="string">Almonat</name> </period4> <period5> <days type="number">56</days> <holidays> <holiday1> <duration type="number">1</duration> <name type="string">Autumn begins</name> <startday type="number">1</startday> </holiday1> <holiday2> <duration type="number">6</duration> <name type="string">Brewfest</name> <startday type="number">39</startday> </holiday2> <holiday3> <duration type="number">3</duration> <name type="string">Nightcreep</name> <startday type="number">53</startday> </holiday3> <holiday4> <duration type="number">1</duration> <name type="string">Autumn ends</name> <startday type="number">56</startday> </holiday4> </holidays> <name type="string">Jermanad</name> </period5> <period6> <days type="number">60</days> <holidays> <holiday1> <duration type="number">1</duration> <name type="string">Low Winter begins</name> <startday type="number">1</startday> </holiday1> <holiday2> <duration type="number">6</duration> <name type="string">Harvest Festival</name> <startday type="number">3</startday> </holiday2> <holiday3> <duration type="number">1</duration> <name type="string">Day of Plenty</name> <startday type="number">11</startday> </holiday3> <holiday4> <duration type="number">1</duration> <name type="string">Low Winter ends</name> <startday type="number">30</startday> </holiday4> <holiday5> <duration type="number">1</duration> <name type="string">Deep Winter begins</name> <startday type="number">31</startday> </holiday5> <holiday6> <duration type="number">16</duration> <name type="string">The Dawning</name> <startday type="number">45</startday> </holiday6> </holidays> <name type="string">Jofunde</name> </period6> </periods> </fjellvale>
In case it isn't clear, there are 6 weekdays, 6 months, 4 months have 60 days but 2 months have 56 days (the second and fifth months), and the year has 352 days in it total.Last edited by Chicken Denchers; July 8th, 2018 at 21:10.
-
July 8th, 2018, 21:10 #18
- Join Date
- Jun 2013
- Location
- Isanti, MN
- Posts
- 2,922
Well, you're telling it to use Gregorian calendar calculations with a non-Gregorian calendar. You'll need to write your own "lunardaycalc" and "periodvarcalc" functions and register them via an extension.
-
July 9th, 2018, 17:01 #19
- Join Date
- Jul 2018
- Posts
- 5
Yes, that's the bit I'm asking for help with. I noted in the post that I knew that part was incorrect but left it in since I know that's where the extension reference will go.
-
July 9th, 2018, 17:14 #20
- Join Date
- Jul 2018
- Posts
- 5
Here's what I have so far from the copied "collapse calendar" lua file at the beginning of this thread, but I'm both not a programmer and not a math guy (also I don't know lua) so I don't know where to go from the few things I've edited here:
Code:-- -- Please see the license.html file included with this distribution for -- attribution and copyright information. -- function onInit() CalendarManager.registerLunarDayHandler("fjellvale", calcFjellvaleLunarDay); CalendarManager.registerMonthVarHandler("collapse", calcFjellvaleMonthVar); end function calcFjellvaleLunarDay(nYear, nMonth, nDay) local nZYear = nYear - 1; local nZYearDays = nZYear * 352 + math.floor(nZYear / 4); local rDay = nDay + (nMonth-1)*30; if nMonth > 4 then rDay = rDay - 29; end if nMonth > 8 then rDay = rDay - 27; if (nYear % 4) == 0 then rDay = rDay + 1; end end rDay = (nZYearDays + rDay) % 7; if rDay == 0 then return 7; end return rDay; end function calcFjellvaleMonthVar(nYear, nMonth) if nMonth == 8 then local nYear = DB.getValue("calendar.current.year", 0); if (nYear % 4) == 0 then return 1; end end return 0; end
Last edited by Chicken Denchers; July 9th, 2018 at 17:21.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks