GI JOE RPG Launch
Page 2 of 2 First 12
  1. #11
    Quote Originally Posted by LordEntrails View Post
    I've been trying to convince tj he should come on one of your streams
    Of course, you would have to make the offer...
    I’m game - let me know what to expect and when.

    Update: looks like the ball is in my court - I discussed this with Laerun and I'm to prep a Story Template scenario to demonstrate. I've been busy releasing the Table Edit extension as well as adding features to this extension. Perhaps the demonstration will make use of both extensions in a 2-fer.
    Last edited by tjlee; August 30th, 2024 at 07:29.

  2. #12

    New Release 2024.08.29

    This release adds the following:
    • Added logic to remove empty text blocks in Advanced Stories generated from Advanced Story Templates.
    • Formalized support for use of Link IDs in place of Table names and Story Template names (see Story Template Enhanced - examples).
    • Added a click action to the Toolbar Drag Record Link button (top left corner) to report the Link ID associated with the window to chat.

    Additionally, the Story Template Enhanced - examples have been updated to clarify existing examples and add examples to illustrate the above.
    Last edited by tjlee; August 30th, 2024 at 14:01.
    TJ Lee
    Story Template Enhanced (extension): https://forge.fantasygrounds.com/shop/items/1870/view
    Story Template Enhanced (examples module): https://forge.fantasygrounds.com/shop/items/1871/view
    Table Edit Extension: https://forge.fantasygrounds.com/shop/items/1881/view

  3. #13
    I went ahead and re-tested the extension with the 2024 D&D Ruleset update to make sure everything works as expected.

    If you do experience any issues, please reply to this thread with a description of the issue and I'll try to reproduce and address it in a timely manner.
    TJ Lee
    Story Template Enhanced (extension): https://forge.fantasygrounds.com/shop/items/1870/view
    Story Template Enhanced (examples module): https://forge.fantasygrounds.com/shop/items/1871/view
    Table Edit Extension: https://forge.fantasygrounds.com/shop/items/1881/view

  4. #14

    New Release 2024.09.30

    This release adds functions!

    Story Template Enhanced extension now supports function invocations with a syntax of functionName(stringExpression). The six functions supported are:

    • capitalize - the first letter of the string expression is made uppercase.
    • date - the system date according to the [DATE:format] template callout is evaluated. Ex. date(format)
    • fgdate - the game date (based upon selected calendar) according to the [FGDate:format] template callout is evaluated.
    • lower - the string expression is made all lower case. Ex. LOWER(Hi) is substituted by hi.
    • titlecase - the string expression is made title case. Ex. titlecase(hello there) is substituted by Hello There
    • upper - the string expression is made all lower case. Ex. upper(hi) is substituted by Hi.

    These functions can be nested and can be co-mingled with the other template syntax elements where it makes sense. The results of the function are substituted in place of the function callout.

    Example:

    • capitalize([NPC Name]) - capitalizes the result of calling the table named NPC Name (first letter is capitalized).

    Note: if the results of the table callout is not a string expression (such as formatted text), the function may produce unexpected results.
    TJ Lee
    Story Template Enhanced (extension): https://forge.fantasygrounds.com/shop/items/1870/view
    Story Template Enhanced (examples module): https://forge.fantasygrounds.com/shop/items/1871/view
    Table Edit Extension: https://forge.fantasygrounds.com/shop/items/1881/view

Page 2 of 2 First 12

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Merchandise

Log in

Log in