PDA

View Full Version : Calendar and Story Templates



discgolferusa
July 27th, 2020, 02:52
I spent some time looking but didn't see an answer for this.

Is there a way to access the current calendar date so that it appears on my custom daily encounter story template (similar to the story template in the user guide [The Day's Travels])?

Also is there a way to programmatically update the date to the next day when I generate a new daily encounter?

Thanks!

LordEntrails
July 27th, 2020, 03:19
Not without an extension.

Zacchaeus
July 27th, 2020, 08:49
Try this extension https://www.fantasygrounds.com/forums/showthread.php?54284-Player-Agency-Extension

It won't dynamically add the date but it will do a lot more than that.

JimSocks
June 17th, 2021, 14:07
UPDATE: This is core functionality now!

Use [Date:FORMAT] for your computer clocks date.

Use [FGDate:FORMAT] for the fantasy grounds calendar date.

If the FORMAT section includes any of the following, they will be replaced by a date value:
dd
ddd
day
mm
mmm ([Date:FORMAT] only)
month
yy
yyyy
epoch
oldschool ([Date:FORMAT] only)

LordEntrails
June 17th, 2021, 17:27
UPDATE: This is core functionality now!

Use [Date:FORMAT] for your computer clocks date.

Use [FGDate:FORMAT] for the fantasy grounds calendar date.

If the FORMAT section includes any of the following, they will be replaced by a date value:
dd
ddd
day
mm
mmm ([Date:FORMAT] only)
month
yy
yyyy
epoch
oldschool ([Date:FORMAT] only)
Oh, now I have to go update my story templates!

Moon Wizard
June 17th, 2021, 17:53
This will be in the next ruleset release (probably next week); so not quite prime time yet.

Regards,
JPG

JimSocks
June 18th, 2021, 01:00
Right. I’ve been so busy Working on the next update I was speeding a bit on this one. The formats are still the same as MW stated!

But... soon... :)

JimSocks
June 23rd, 2021, 20:08
Oh, now I have to go update my story templates!

It's live now! Go update those templates :)

JimSocks
June 24th, 2021, 16:18
I'll be making an updated video with new capabilities after the next code I send up to Smiteworks. Big new functionality coming with that one... So a new video will be good for the wiki.

...but it will include updated content for this date functionality too :)