Commit graph

35 commits

Author SHA1 Message Date
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
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
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
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
599789ec13 Fix attribute schema allowing key to be nullable 2026-04-25 19:07:54 -06:00
bda5d05969 Prevent the attribute Items from getting invalid keys 2026-04-25 14:01:21 -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
5073c972e8 Rip out the _preUpdate handling, it's complicated and messy to maintain 2026-04-23 17:04:17 -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
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
6461057647 Lint the code that I fairly copy-pasted from draw-steel 2026-04-20 23:22:19 -06:00
9269a68aa6 Switch the TOF into a non-persisted ObjectField 2026-04-20 21:28:57 -06:00
8f8da244c0 Add the Attribute item data model 2026-04-19 14:53:05 -06:00
fc24caf08a Add header control for adding an embedded item into an actor. 2026-04-08 01:08:52 -06:00
cfa352e5e0 Allow negative item quantities, don't allow negative weights 2026-04-05 20:14:18 -06:00
23a402f11a Get items appearing on the sheet, still a lot to do but this is a strong step in the right direction 2026-03-15 22:37:55 -06:00
ce81212bbe Add a group property on the Item data model 2026-03-14 15:58:06 -06:00
c6ec60b5bf Update the Player data model and move it into an Actor folder since we now have an item data model 2026-03-13 21:45:13 -06:00
f91c3d2419 Create the Item data model 2026-03-08 13:11:14 -06:00
Oliver-Akins
fec638cb22 Add improved capabilities to the Player actor type 2025-07-13 21:50:32 -06:00
Oliver-Akins
df3fe3df88 Default max to nullable instead of 0 2025-06-29 13:35:20 -06:00
Oliver-Akins
ae525ce1b8 Create Player data model 2025-06-29 00:46:00 -06:00