This package contains art, text, or software code produced using generative AI.
Generative AI was used for defining security measures while parsing item descriptions. It also was used to refactor duplicated code and suggest options for coding best practices.
This module parses and applies inline commands in item descriptions, saving time players can spend elsewhere. Made specifically for project fabula ultima.
Among others, it can do the following when using an item:
- Apply effects
- Reduces resources
- Conditions
Requirements
- FoundryVTT: Version 13+
- System: Fabula Ultima (projectfu) 4.1.4
- Dependencies:
Installation
- Open FoundryVTT and go to the "Add-on Modules" tab
- Click "Install Module"
- Paste this manifest URL:
https://github.com/goobyx/fu-inline-automations/releases/latest/download/module.json
- Click "Install"
Usage
This module parses the same description inline effects Fabula Ultima already supports (e.g. @GAIN[], @LOSS[], @EFFECT[]) and applies them automatically when the item is used. The owner, and the targets are considered.
If the description mentions "you", ":" and other texts in-between: the effects in that line will be applied to the owner
You suffer: @LOSS[10 mp]
you receive: @EFFECT[shaken]
you: @TYPE[damage all light e:sot i:1 t:source]
Targets follow the same rules, but with the word "target" instead of "you".
targets heal: @GAIN[60 hp]
targets: @EFFECT[slow]@EFFECT[weak]
Some items allow users to choose from multiple effects. In those cases, wrap the options in parentheses.
Any readability text outside the inline tags is ignored, as long as the choices are inside the parentheses.
In this case, both items will be parsed identically
Target Suffers: (@EFFECT[dazed], @EFFECT[weak], or @LOSS[$sl*10 mp]{SL × 10 MP})
targets: (@EFFECT[dazed]@EFFECT[weak]@LOSS[$sl*10 mp])
Note
This module does not handle spell MP consuption.
You could achieve a similar effect, but multi-target spell consumption is not calculated:
Item name: Shaker spell
Description:
Flavor text
---
you pay: @LOSS[10 mp]
targets suffer: @EFFECT[shaken]