Thread: The weight of the coins
-
November 17th, 2017, 18:36 #11
Yes skj310 this part still has to be done.
kylania i suggest we talk about how to make this work on this thread : https://www.fantasygrounds.com/forum...er-s-inventory
which seems to be a better place if a understood the structure of the forum right ^^
-
November 17th, 2017, 18:40 #12
Another option would be to add an inventory item called Coins and programmatically adjust the weight of that single inventory item. The encumbrance functions would not need to be overridden at all and you would further have the option to identify whether or not you were carrying it, it was in your backpack, on your horse, wagon or whatever. I could see a scenario where adventurers are leaving a cave loaded down with bags of coins and then set upon by bandits or the cave's occupants. Most warriors would drop the bags to the ground, battle it out and then go back for their loot once the threat has passed.
-
November 17th, 2017, 19:24 #13
-
November 18th, 2017, 05:08 #14
By the way ddavision as adeveloper could you help us to create an item in the DB ?
I'm wasn't far from it, but wasn't able to determine how to get the internal id of the item in the DB.
That was my initial thread about it : https://www.fantasygrounds.com/forum...er-s-inventory
-
November 18th, 2017, 07:15 #15
Fixed link: https://www.fantasygrounds.com/forum...er-s-inventory
Personally I'd settle for just finding an item called Coin Weight or Coins that was manually created.
-
November 18th, 2017, 07:45 #16
If you want to be able to simulate dropping the coins/encumbrance you could also do that with a check box beside the new weight.
-
November 20th, 2017, 13:19 #17
Hello a new version including total
Note : for existing players, you have to change coins or inventory to have the right total. I'll try to fix that soon.
-
November 20th, 2017, 14:05 #18
Without digging too deep I think you should look at:
\campaign\scripts\char_invlist.lua
and the function: onEncumbranceChanged
or
\campaign\scripts\manager_char.lua
and the function: updateEncumbrance
Im thinking probably the second one.. edit that function...
-
February 7th, 2018, 23:45 #19
Any plans to update this extension now that the base character sheet has changed?
Fantasy Grounds Unity Lives! Good job, Smiteworks!
-
February 8th, 2018, 02:41 #20
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks