Hmmm.... I can't find it either. Perhaps @adam forgot to add it to his guide?
Anyway the if statement works as follows (logic?'True':'False')
In this example if dt is 1 then it will retun 1 else it will return 0.5
(dt==1?'1':'0.5')
So for the spelllist example one could have a list of all spells with a checkmark and when druidcraft is 1 enter the text else it is blank. Something like this. I dont know how it will handle extra formatting linebrakes ect.
('Druidcraft'==1?'#Druidcraft
Cantrip Transmutation
Casting Time: 1 action
Range: 30 feet
Target: See text
Components: V S
Duration: Instantaneous
Whispering to the spirits of nature, you create one of the following effects within range:
You create a tiny, harmless sensory effect that predicts what the weather will be at your location for the next 24 hours. The effect might manifest as a golden orb for clear skies, a cloud for rain, falling snowflakes for snow, and so on. This effect persists for 1 round.
You instantly make a flower blossom, a seed pod open, or a leaf bud bloom.
You create an instantaneous, harmless sensory effect, such as falling leaves, a puff of wind, the sound of a small animal, or the faint odor of skunk. The effect must fit in a 5-foot cube.
You instantly light or snuff out a candle, a torch, or a small campfire.':'')
Last edited March 6, 2023 10:26 am