Numenera-FoundryVTT
Numenera-FoundryVTT copied to clipboard
Add Roll Table to cyphers/artifacts Effect field
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?
I'm pretty sure you can reference it that way. That would probably be the best/easiest way to allow for this.
@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.
It works in the Item, but once I drag it to the Actor, that Effect field is not Rich Text.
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.
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).
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.