Variable - Inline Variable Assignment Help

2»

Comments

  • Ok, so you are picking X number of skills and sorting them. One possible skill is actually multiple skills in their own list. I'm not sure the issue there has anything to do with external files. Here's a stupid generator I made to test this:

    Table: Stuff
    [!5 Items >> sort >> implode]
    
    Table: Items
    A
    B
    C
    D
    E
    [@F]
    G
    H
    
    Table: F
    [!3 Things]
    
    Table: Things
    Elephants
    Falcons
    Giraffes
    Watermelons
    

    (I said it was stupid.) Here's some sample output:

    B, D, E, FalconsWatermelonsGiraffes, G
    B, D, G, H, WatermelonsGiraffesElephants
    A, C, D, E, H
    A, B, C, G, GiraffesWatermelonsElephants
    C, E, G, H, WatermelonsElephantsGiraffes
    A, B, FalconsWatermelonsElephants, G, H

    So, the things being returned from the separate call to the F table (equivalent to your animalhandling table) aren't being treated as three separate items. They are being treated as one single block of text, so not even sorted or imploded.

    If I want to get those sorted properly, I can pick them one at a time:

    Table: Stuff
    [!5 Items >> sort >> implode]
    
    Table: Items
    A
    B
    C
    D
    E
    [@Things]
    G
    H
    
    Table: Things
    Elephants
    Falcons
    Giraffes
    Watermelons
    

    That yields:

    A, E, G, H, Watermelons
    A, C, E, Falcons, G
    B, D, G, Giraffes, H
    B, C, E, Falcons, G
    A, D, E, G, Giraffes

    If you want multiple animal handling skills, I think the better solution is to put Animal Handling on your skill list multiple times with a deck pick to determine what it's for. More like this:

    Table: Stuff
    [!5 Items >> sort >> implode]
    
    Table: Items
    A
    B
    C
    D
    E
    [@F]
    [@F]
    G
    H
    
    Table: F
    F ([!Things])
    
    Table: Things
    Elephants
    Falcons
    Giraffes
    Watermelons
    

    B, C, F (Elephants), F (Giraffes), H
    B, C, E, F (Falcons), G
    B, C, D, G, H
    C, E, F (Giraffes), F (Watermelons), G

    Note I'm still not getting any repeats here.

    Does that address your issue?

Leave a Comment