Thread: The weight of the coins
-
November 16th, 2017, 10:43 #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 versionLast edited by Zuger; November 20th, 2017 at 14:22.
-
November 16th, 2017, 11:41 #2
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 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 https://www.fantasygrounds.com/featu...rerequests.php
-
November 16th, 2017, 11:57 #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 itLast edited by damned; November 16th, 2017 at 13:41.
-
November 16th, 2017, 16:15 #4
Nice. Please maintain this going forward through new versions.
"I am a Canadian, free to speak without fear, free to worship in my own way, free to stand for what I think right, free to oppose what I believe wrong, or free to choose those who shall govern my country. This heritage of freedom I pledge to uphold for myself and all mankind."
- John Diefenbaker
RIP Canada, February 21, 2022
-
November 16th, 2017, 20:19 #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
-
November 17th, 2017, 07:42 #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.
-
November 17th, 2017, 09:21 #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.
-
November 17th, 2017, 10:31 #8
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.
-
November 17th, 2017, 12:49 #9
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?
-
November 17th, 2017, 17:19 #10
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks