STAR TREK 2d20
Page 4 of 10 First ... 23456 ... Last
  1. #31
    Awesome thanks for sharing this, very useful.

  2. #32
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,684
    Blog Entries
    1
    Hey Zuger i have made a small coding tutorial video and I have extended this extension as the content of the video. It addresses in a very basic way one method of being able to track carried and non carried treasure.
    https://youtu.be/x4leZBomtOc
    And the extension is here - feel free to use or not.
    coinweight.jpg


    Also any comments about splitting the code into different files are personal preference and not a criticism.
    Attached Files Attached Files

  3. #33
    Awesome job

    Also any comments about splitting the code into different files are personal preference and not a criticism.
    No worry that was my first extension, I know it was duct taped

  4. #34
    I am getting the following error when using the original extension.

    When i try and change the amount in the coins section I get the following:

    Script Error: [string "scripts/coins_weight.lua"]:52: attempt to perform arithmetic on a string value

    Any idea why?
    Last edited by frostbyte000jm; November 21st, 2018 at 01:34. Reason: Because I didn't leave enough information.

  5. #35
    Weird. ok I had to do a check on the coin to see if it is returning a number, if so then do the weight. I think something got stuck on this character sheet and I couldn't see it. It is working now, but I needed to revise the code. What I did was garbage trying to figure it out. I will try again in the morning with not 2 - 13 hour days of work brain.

  6. #36
    Hello,

    Did you find the solution of your problem ?

  7. #37
    Yes, my problem was an old character sheet. I have been training myself on development in FG by rebuilding extenstion and I forgot to delete and build a new character when I started looking into yours.

    There was a coin box with a nil value in it and your ext didn’t like that. Rookie mistake on my part. The moment I deleted the character sheet and started a new one, everything worked as expected.

    Thanks for reaching out.

  8. #38
    Thank you for your reply. This could help somebody having the same issue.

  9. #39
    IIRC, 3.3.7 has some kind of currency manager being introduced which may/may-not deal with weight. I glossed over it as I was just merging 3.3.7 with some of my personal extensions.

  10. #40
    It does not deal with weight, just adds the idea of campaign-specific currency settings. This may eventually lead to more advanced features, such as weight and/or conversion calculations; but there are no plans at this point.

    Regards,
    JPG

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 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
  •  
FG Spreadshirt Swag

Log in

Log in