mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 12:41:07 +01:00
[Feature] Summon Action Implementation (#1514)
* Schema definition for DHSummonAction * Will reimplement * HBS idea formed. Need to recheck drag drop implementation * Tried to refine drag drop * drag drop implemented (css tbd) * phase 1 complete * tbd work on summon action type * Improved Schema and now it works * . * Dialog created. Tokens not dragged(tbd). * Bare minimum implementation * Finalized functionality * Cleanup * . * Added optional summon render to chat message * Updated SRD * bugfix: fix title lines not rendering in chat messages * Added summon actions to the easily doable environments in the SRD * Update module/data/fields/action/summonField.mjs Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com> --------- Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com> Co-authored-by: Murilo Brito <dev.murilobrito@gmail.com> Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
This commit is contained in:
parent
d823501d91
commit
d282a81594
44 changed files with 902 additions and 312 deletions
16
lang/en.json
16
lang/en.json
|
|
@ -69,7 +69,11 @@
|
|||
},
|
||||
"summon": {
|
||||
"name": "Summon",
|
||||
"tooltip": "Create tokens in the scene."
|
||||
"tooltip": "Create tokens in the scene.",
|
||||
"error": "You do not have permission to summon tokens or there is no active scene.",
|
||||
"invalidDrop": "You can only drop Actor entities to summon.",
|
||||
"chatMessageTitle": "Test2",
|
||||
"chatMessageHeaderTitle": "Summoning"
|
||||
}
|
||||
},
|
||||
"Config": {
|
||||
|
|
@ -122,6 +126,9 @@
|
|||
},
|
||||
"cost": {
|
||||
"stepTooltip": "+{step} per step"
|
||||
},
|
||||
"summon": {
|
||||
"dropSummonsHere": "Drop Summons Here"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -2205,6 +2212,10 @@
|
|||
"stress": "Stress",
|
||||
"subclasses": "Subclasses",
|
||||
"success": "Success",
|
||||
"summon": {
|
||||
"single": "Summon",
|
||||
"plural": "Summons"
|
||||
},
|
||||
"take": "Take",
|
||||
"Target": {
|
||||
"single": "Target",
|
||||
|
|
@ -2869,7 +2880,8 @@
|
|||
"deleteItem": "Delete Item",
|
||||
"immune": "Immune",
|
||||
"middleClick": "[Middle Click] Keep tooltip view",
|
||||
"tokenSize": "The token size used on the canvas"
|
||||
"tokenSize": "The token size used on the canvas",
|
||||
"previewTokenHelp": "Left-click to place, right-click to cancel"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue