Re: Simple Parameters
Thank you.? I think I see my way forward from what you have clarified.
I believe I was missing/misunderstanding the step between setting the variable and the output, i.e. I didnt have an
By
SkidAce@...
·
#9879
·
|
Re: Simple Parameters
Using potions as an example, you'll first need to make separate lists of your common and rare potions.
After that, the simple way is to put those lists into separate groups within your Potions table,
By
ErolB1
·
#9878
·
|
Simple Parameters
For the life of my I cannot figure out simple yet correct parameters.
All I want is go to a table; set the parameter for say the rarity of potions (common, uncommon, etc.)
Then when I roll on the
By
SkidAce@...
·
#9877
·
|
Creating random spellbook lists with themed contents
So if i have a list of wizard spells and each spell has (right now) 4 tags for it
* - Damage Type (fire, acid, cold, etc)
* - Magic School (Enchantment, Evocation, Necromancy, etc)
* -Power Level (1,
By
ouchie
·
#9876
·
|
File /Rules and Calculations/Skill Checks.tab uploaded
#file-notice
The following files have been uploaded to the Files area of the [email protected] group.
* /Rules and Calculations/Skill Checks.tab ( /g/tablesmith/files/Rules and
By
[email protected] Notification <noreply@...>
·
#9875
·
|
Re: Anyone using the Library?
#tablesmith
Hi, sorry for the late reply, but I use the Library to store some stuff I rolled and I told my players in case they ever come back to it.
By
valminder_2
·
#9874
·
|
Re: Printing a % sign
Hi, I know I'm a little bit late to reply, but this is something I do for my tables. Leave these two subtables at the complete end of the table file.
#
By
valminder_2
·
#9873
·
|
Re: How do I make a maximum roll cap?
Try the Min~ function ¡
|x={Min~{Dice~3d10},20}|
This takes the lesser value of 3d10 or 20 (and places it in ¡°x¡±)
Vance
Sent: Friday, July 16, 2021 2:01 AM
To: [email protected]
Subject:
By
Vance
·
#9872
·
|
Re: How do I make a maximum roll cap?
question what is this going to be use for?
i would do this
%roll%,0
{dice~3d10} {If %roll%>=20? |roll=20|}
By
kevin
·
#9871
·
|
Re: How do I make a maximum roll cap?
Not sure how it done in Tablesmith, someone else can probably
give you the syntax but just an if where if the roll is greater
than 20 then the roll = 20
By
Ron Cote
·
#9870
·
|
Re: How do I make a maximum roll cap?
I'd use the Min function, which returns the smallest value from a list
{Min~{Dice~3d10},20}
This returns 20 if the 3d10 roll is greater or equal to 20, and just the 3d10 result if the roll is 19 or
By
ErolB1
·
#9869
·
|
Re: How do I make a maximum roll cap?
What about this solution:
%roll%,
;Start
10,|roll={Dice~3d10}|{Min~20,%roll%}
By
Gerd Bezold
·
#9868
·
|
Re: How do I make a maximum roll cap?
The While statement runs a sequence of commands until a specific value is
met.
;RollMy3d10
<|value={Dice~3d10}|
1,|my3d10={While~%value%>20,|value={Dice~3d10}|}%value%|
Unless I've jumbled my
By
Matthew Lynn
·
#9865
·
|
Re: How do I make a maximum roll cap?
In the help file, look up the While statement. Check out the example, I
think it's actually the exact line of code you're looking for...
Matt
By
Matthew Lynn
·
#9863
·
|
Re: Tablesmith 5.2 and Linux
And, registered! :) Thank you, Bruce! :)
<brucegulke+groupsio@...> wrote:
By
Matthew Lynn
·
#9861
·
|
Re: Tablesmith 5.2 and Linux
Just a note, there's no need to register again for a minor version increase. So if you registered 5.1 (or 5.0) already, just use the same code for 5.2.
Thanks,
Bruce
©\©\©\©\©\©\©\ Original
By
Bruce Gulke
·
#9860
·
|
Tablesmith 5.2 and Linux
Just update from the Linux front...
Previously I had Tablesmith 5.1 working on Linux. Today the Crossover
bottle it was living in decided to give me the finger, so I set about
rebuilding it, and
By
Matthew Lynn
·
#9859
·
|
Re: ERROR Generate function calling Generate again
#function
#error
My reply is quite late, but I wanted to thank you for the information. I guess I need to use the Datasets, but it complicates stuff, so I was trying to get anything running without them. I tinker with
By
klaas.reineke@...
·
#9858
·
|
Re: A question regarding parameters
argh. That would be ...{If~%FirstTimeThrough%=1... because it's a variable and needs to be marked as such.
Erol K. Bayburt
ErolB1@...
By
ErolB1
·
#9857
·
|
Re: A question regarding parameters
If I needed to do something like this using the InputList function, I'd would use an /OverrideRolls 1 directive, and have the number of NPCs rolled for be done within the table rather than through the
By
ErolB1
·
#9856
·
|