View Full Version : Tables with Number labels?
fabiocm
October 26th, 2020, 18:33
I was trying to use the /rollon macro to roll simple math in the collumns like "/rollon table -c [value1+value2]. However, I wasn't successful. Only later I figured that it could be because the columns names are strings, not number. Is this it? If so, is there any extension to modify it (make column name a number that can be math solved)?
superteddy57
October 26th, 2020, 21:21
You are able to do simple math in the result of the table output.
40526
LordEntrails
October 26th, 2020, 21:34
Can you sketch out an example? I' don't understand your intention.
You want the /rollon to add the results of two table rolls?
fabiocm
October 27th, 2020, 02:56
Can you sketch out an example? I' don't understand your intention.
You want the /rollon to add the results of two table rolls?
I'm trying to reproduce the Tagmar system, a brazilian portuguese system that rely almost all its roll on this table:
40529
The roll resolution is made by crossing row and column. The row is determined by the dice roll (1d20). The column is basically a character parameter, plus any modifier. So, for example, a roll result of 10 and a character parameter (plus any modifier) of 10, will result in ORANGE, that is one of the success degrees.
The problem is that the /rollon [table name] <-c [column] don't let us add any math in the [column] field. So, if I have a parameter of 10, but receive a +5 modifier, I would roll in the column 15, but I can't make FG solve this function: /rollon [table name] <-c [10+5].
LordEntrails
October 27th, 2020, 03:24
Hmm, I don't know how you might do this with any type of automation. Hopefully someone else has an idea.
superteddy57
October 27th, 2020, 12:05
Well you can output the columns and do the math yourself. It's not possible to add up two different outputs from a rollable table. The other option is to dive into making an extension and hard coding the table into FG which can do the math based on the results using lua.
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.