Numenera-FoundryVTT icon indicating copy to clipboard operation
Numenera-FoundryVTT copied to clipboard

Add Roll Table to cyphers/artifacts Effect field

Open SolarBear opened this issue 4 years ago • 6 comments

Requested by @morgruth in another issue:

If the Effect field was rich text for a Cypher item, then would it be possible to put a link to a rollTable there?

SolarBear avatar Aug 05 '20 16:08 SolarBear

I'm pretty sure you can reference it that way. That would probably be the best/easiest way to allow for this.

morgurth avatar Aug 06 '20 11:08 morgurth

@NiceTSY has added a nice, temporary workaround on this: forms can be listed in comma-separated format and, when created, a random one will be selected.

Of course this is not quite as flexible as roll tables but it will allow a simple version of that feature. Roll tables will still happen, though.

SolarBear avatar Aug 07 '20 13:08 SolarBear

It works in the Item, but once I drag it to the Actor, that Effect field is not Rich Text.

morgurth avatar Aug 22 '20 18:08 morgurth

Yes, I'm aware of that: I have only some tiny space for the description. I've been thinking about a solution for that problem: I'll have to try a different approach.

SolarBear avatar Aug 22 '20 19:08 SolarBear

I've just created Cyphers with every possible combination. It's some extra typing. I then have my master random cypher rollTable hit a cascade of rollTables to get the item. Having it done when the cypher is dropped into an Actor would be more elegant, but this works. I'm going to try to figure out how to make changes to the game system myself. I am not overly familiar with JS and CSS but I do know Python and do a lot of shell scripting (Bash and Powershell).

image

morgurth avatar Aug 23 '20 18:08 morgurth

Is it possible to add things like [[1d6]] (for duration and doses of a Chemical Factory) to the effect in the item, but when it is displayed on the character sheet, it becomes fixed text? Same with a rollTable. It hits the table and the text return is added at that point.

morgurth avatar Aug 25 '20 12:08 morgurth