[#893] Add summoning to item activation workflow #3167
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds summoning configuration to the item usage configuration and the ability use dialog. Players will see a checkbox to indicate whether summoning should occur and if the item has more than one summoning profile, a dropdown for selecting which profile to use:
This also introduces a
prompt
boolean similar to the one used for measured templates and limited uses to control whether it is done by default or not. If the"Place Summons"
checkbox is checked, then the selected summoning profile ID is stored in flags in the chat message.A new
"Summon"
button has been added to the chat message to perform the summoning if not done automatically through the ability use process:If the button is clicked it will try to summon whatever profile is specified in the flags, or if none is specified it will throw up the ability use dialog again to ask which should be used.