Commit graph

188 commits

Author SHA1 Message Date
500eabc755 Fix the deprecation warning in v14 & hide the context menu options in v13 correctly 2026-05-10 14:56:28 -06:00
b36fe27182 Fix the issue with ContextMenus being completely non-functional in v13 (closes #91) 2026-05-07 18:05:00 -06:00
dddad7f55d Fix actor creation throwing an error (closes #89) 2026-05-06 16:10:34 -06:00
9527cd972e Tweak comment in data model 2026-05-03 00:09:24 -06:00
504a91bb9c Add way to set default attributes now that we no longer have the AttributeManager (closes #83) 2026-05-02 20:51:05 -06:00
a9567c200a Add the macro trigger into the Items tab, and localize the trigger button for attributes (closes #85) 2026-05-02 20:27:15 -06:00
a55748d6fc Remove log that slipped through the cracks 2026-05-02 19:28:13 -06:00
77413687e9 Make the generic Item subtype actually provide the speaker data to the macro 2026-05-02 19:28:03 -06:00
c6d3c094b8 Add an extra paragraph to the Macro deletion dialog in order to tell people how many items use that macro (closes #81) 2026-05-02 19:23:20 -06:00
74d881c3df Fix a bug where the actor context was not being correctly called unless the user had an actor assigned to them 2026-05-02 18:56:23 -06:00
6723e0d25f Add a different default image for attribute items so they stand out a bit more in the item tab 2026-04-29 22:12:18 -06:00
a30d68a327 Lint and fix undefined reference error 2026-04-29 21:38:07 -06:00
fe0a21f0ca Merge pull request 'Update the theming for Actor sheets' (#80) from theming/actor-sheet into main
Reviewed-on: #80
2026-04-30 01:57:12 +00:00
c090daa2aa Improve the chat message handling to make it so that the flavour can be properly updated if you include @active roll data 2026-04-29 19:53:39 -06:00
0fb10b7ae2 Prevent early returning in the taf.getRollData hook 2026-04-29 19:51:56 -06:00
6b937e03c4 Fix exection error 2026-04-28 23:11:24 -06:00
0cd8af77b2 Make attributes rollable using Foundry macros 2026-04-28 18:01:58 -06:00
8f67bff2ec Add the ability to automate items and attributes using a Macro 2026-04-27 00:51:31 -06:00
47892d116b Prevent non-GMs from making attributes when the setting is disabled. 2026-04-27 00:11:02 -06:00
14193cbad0 Remove references to the AttributeManager now that it is no longer required 2026-04-26 23:52:37 -06:00
9a92c288a6 Remove unused data field file 2026-04-26 20:12:25 -06:00
5d951d043b Lint and cleanup unused code 2026-04-26 19:39:44 -06:00
0c694d2166 Sort the attributes and attribute groups by name for now 2026-04-25 22:37:04 -06:00
dbaac0cf29 Prevent aboveTheFold attributes from being listed in the tab 2026-04-25 22:30:24 -06:00
edceb5b384 Make the player sheet list use the inferred minimum and actually update the embedded document 2026-04-25 19:51:30 -06:00
d2599d0db3 Make it so preUpdate hooks can't violate my data model constraints 2026-04-25 19:39:25 -06:00
05dcb9afbd Prevent attributes with a min/max from going out of bounds during update 2026-04-25 19:38:53 -06:00
e8c73de6bd Implement the Attribute sheet for editing 2026-04-25 19:30:38 -06:00
599789ec13 Fix attribute schema allowing key to be nullable 2026-04-25 19:07:54 -06:00
7b127069b7 Get the basic listing of attributes for the tab 2026-04-25 15:31:24 -06:00
c2b2376699 Update the template paths to point at the right subfolder structure 2026-04-25 14:04:26 -06:00
bda5d05969 Prevent the attribute Items from getting invalid keys 2026-04-25 14:01:21 -06:00
3a7ffa4332 Consolidate both context menus into a single one 2026-04-23 21:24:54 -06:00
2cc43bd6e5 Remove unused import 2026-04-23 21:19:53 -06:00
5a4368b5e0 Fix bug causing sheets to not render when the actor has no attribute items 2026-04-23 21:19:18 -06:00
e9d92d3db1 Add the item UUID into the fieldset and add a context menu to edit/delete primary attributes 2026-04-23 21:18:57 -06:00
60d29adc3e Add placeholder tab template 2026-04-23 21:18:15 -06:00
6ccc10f897 Prevent attribute items from being embedded if there is already an attribute with the same key 2026-04-23 18:06:00 -06:00
f1499d1c3d Get started on the required infrastructure for the attributes tab 2026-04-23 17:48:22 -06:00
2c915c82e8 Fix a bug with the item groups having the formatted totalWeight instead of group-only weight 2026-04-23 17:20:12 -06:00
5073c972e8 Rip out the _preUpdate handling, it's complicated and messy to maintain 2026-04-23 17:04:17 -06:00
7970cb64c8 Add clamp utility 2026-04-23 17:03:15 -06:00
90447de742 Add _preUpdate handling to the player actor subtype to forward any attribute updates into the appropriate embedded item 2026-04-22 18:00:50 -06:00
b856708b93 Add isRange for an attribute item 2026-04-22 17:59:55 -06:00
f932c6d774 Add an EphemeralObjectField that only allows deleting itself from the db and showing up in diffs 2026-04-22 17:25:30 -06:00
12651938ed Prevent attribute Items from showing up in the Items tab of actor sheets 2026-04-21 23:39:14 -06:00
59d2d57ed7 Remove unused schema property 2026-04-21 17:43:32 -06:00
153f48a7c3 Improve cloning-detection in the preCreate hook so that we can ignore duplications for creating attribute items 2026-04-21 17:42:32 -06:00
71fce2c0ca Update the preCreate hook to create the attribute items if there are no items in the actor 2026-04-21 17:30:42 -06:00
3e1f14f957 Move the _preCreate logic into the Data Model instead of the Document 2026-04-21 17:23:28 -06:00