FGU Twitter Sweepstakes
Page 2 of 6 First 1234 ... Last
  1. #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 ^^

  2. #12
    ddavison's Avatar
    Join Date
    Sep 2008
    Posts
    4,944
    Blog Entries
    21
    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.

  3. #13
    Quote Originally Posted by ddavison View Post
    Another option would be to add an inventory item called Coins and programmatically adjust the weight of that single inventory item.
    That was how I wanted to do it first, but I wasn't able to create an item in the DB. I will check this way once I'll be better skilled.

    I like the idea of being able to drop your load.

  4. #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

  5. #15
    Quote Originally Posted by Zuger View Post
    That was my initial thread about it : https://www.fantasygrounds.com/forum...er-s-inventory
    Fixed link: http://www.fantasygrounds.com/forums...er-s-inventory

    Personally I'd settle for just finding an item called Coin Weight or Coins that was manually created.

  6. #16
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    21,657
    Blog Entries
    1
    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.

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

  7. #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.

  8. #18
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    21,657
    Blog Entries
    1
    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...

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

  9. #19
    Any plans to update this extension now that the base character sheet has changed?
    Fantasy Grounds Unity may be official now, but its release may take a while yet.

  10. #20
    Quote Originally Posted by Three of Swords View Post
    Any plans to update this extension now that the base character sheet has changed?
    The version I have seems to work just fine in the new version of FG. Are you getting errors or bugs?

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