FG Spreadshirt Swag
  1. #1

    1d6*10 In A Die Field???

    Hey Guys,

    In a die filed, is it possible to have something like "1d6*10" (note that this is not the same as 10d6), or do we use a die field with "1d6" in it and a numberfields with the "10" in it (and multiply the two together)?

    Cheers
    Last edited by dulux-oz; March 12th, 2017 at 04:47.
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Quote Originally Posted by dulux-oz View Post
    Hey Guys,

    In a die filed, is it possible to have something like "1d6*10" (note that this is not the same as 10d6), or do we use a die field with "1d6" in it and a numberfields with the "10" in it (and multiply the two together?

    Cheers
    I dont see why not. You would have to code it but it should be very doable.

  3. #3
    So are you saying that as far as you are aware you can't put 1d6*10 into a die field "as is"?

    (I'm trying to avoide having to code it - yeah, I'm lazy: that's why I went into IT in the first place )
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  4. #4

    Join Date
    Jun 2013
    Location
    Isanti, MN
    Posts
    2,922
    Depends on what you're doing with it. I have some table entries that generate parcels where I use something like "[2d6]0 GP" and it does that. But that won't work in every situation.

  5. #5
    No, this is on a character sheet (a spell-template to be exact) - I've used that table technique before and its a good one - thanks
    Dulux-Oz

    √(-1) 2^3 Σ Π
    ...And it was Delicious!


    Alpha-Geek
    ICT Professional
    GMing Since 1982
    NSW, Australia, UTC +10
    LinkedIn Profile: www.linkedin.com/in/mjblack

    Watch our games on Twitch: www.twitch.tv/dulux_oz

    Support Me on Patreon: www.patreon.com/duluxoz

    Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz

  6. #6
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Quote Originally Posted by dulux-oz View Post
    So are you saying that as far as you are aware you can't put 1d6*10 into a die field "as is"?

    (I'm trying to avoide having to code it - yeah, I'm lazy: that's why I went into IT in the first place )
    Im sure you have tried putting that in before...
    AFAIK you cant do it in an existing field.
    Im sure it will only take you 10mins...

  7. #7
    A diefield or diecontrol object in FG can only contain specific dice. It does not perform any calculations. All of those need to be built into Lua scripts surrounding the dice fields.

    We have plans to change this model in FGU to be a more general dice/math expression stored in diecontrol/diefield objects, but it is a very large, very invasive change.

    Also, there is an math expression parser already built into CoreRPG to handle specialized data from story template and random encounter records.
    StringManager.evalDiceMathExpression

    Cheers,
    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
  •  
5E Product Walkthrough Playlist

Log in

Log in