FG Spreadshirt Swag
Page 1 of 9 123 ... Last
  1. #1

    The weight of the coins

    Hello everybody,

    This is an extension that compute the weight of the coins for DD5E.

    This is my first extension, so advices and comments are welcome. So are bug reports (if any)



    Updated version
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Zuger; November 20th, 2017 at 13:22.

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    16,358
    Hi Zuger, well done.

    Unfortunately you've zipped up the extension wrongly. When zipping up your extension only zip the contents of your folder not the top level folder itself. The way you have it now the extension doesn't show up in the extension list. So go back to your folder and only zip up the file called extension.xml and the scripts folder, not the folder called coins-weight.

    (You may also way to say a word or two about how the extension can be used )
    If you need to contact customer support or if there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here http://fgapp.idea.informer.com/

  3. #3
    My bad, sorry, this is a new version of the extension that is working

    The extension is very simple to use. Once activated, you will see a Coins field in the Encumbrance area. Each time you change the coins values this field will reflect the weight according to the DD5E rules. That's it
    Last edited by damned; November 16th, 2017 at 12:41.

  4. #4
    JohnD's Avatar
    Join Date
    Mar 2012
    Location
    Winnipeg Canada
    Posts
    4,921
    Blog Entries
    1
    Nice. Please maintain this going forward through new versions.
    DMing since February 1979. FGC & FGU Ultimate License holder.

    Currently GMing:
    * C&C Greyhawk | Yggsburgh and Castle Zagyg (Monday)
    * Rolemaster Greyhawk (Thursday)
    * AD&D The Village of Hommlet (Saturday)

    Thanks for 9+ years of gaming via FG my friends (AD&D 2e / 3.5e / Rolemaster Classic / Castles & Crusades / Pathfinder / Savage Worlds / 5e / Traveller 2e)!

  5. #5

    Join Date
    May 2013
    Location
    Slovakia (+1 GMT) after March 29 due to Summer time (+2 GMT)
    Posts
    258
    Blog Entries
    8
    nice thanks
    The most important rules of FG - 1.) drag player portraits onto the Combat tracker!
    2.) Drag NPCs onto the Combat Tracker! 3.) Drag icons from the Combat Tracker onto the Map!

    ----
    My timezone: Slovakia +1 GMT (CET), summer time +2 GMT (CET)
    see http://www.greenwichmeantime.com/tim...nion/slovakia/
    License holder: Ultimate License
    --
    (CEL) Central European Languages SK, CZ, PL, RU, FR - Font extension

  6. #6
    Very cool extension, just what I've been looking for! Thanks.

    I've managed to split it out so you can see weight, coin weight and total weight, and per coin weight but was wondering if you had some idea for making it update the values when inventory is changed? Couldn't find quite the right syntax to make that happen - only when you changed a coin value.


  7. #7
    You have a function called updateEncumbrance in manager_char.lua. Maybe you where there already ?

    I guess you have to override this method, but how you call the overridden function is still a mystery for me.

  8. #8
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    23,493
    Blog Entries
    1
    You will need to look at the code that updates the Current value and tell it to update the Coins+Gear value at the same time.

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  9. #9
    skj310's Avatar
    Join Date
    Jun 2016
    Location
    Queensland, Australia
    Posts
    198
    Blog Entries
    4
    Well done Zuger! Well done.
    Question though: the ext above, it doesn't have the Coins+Gear textbox as in the pictures of this thread. Is that cause you are working on it still?

  10. #10
    Quote Originally Posted by skj310 View Post
    Well done Zuger! Well done.
    Question though: the ext above, it doesn't have the Coins+Gear textbox as in the pictures of this thread. Is that cause you are working on it still?
    The default version adds one field with coin weight in it. The Coin+Gear is a feature I added to my copy.

    I'd been trying to figure out how to do this sort of thing and used Zuger's great extension to learn from.

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DMsGuild

Log in

Log in