Commit graph

144 commits

Author SHA1 Message Date
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
f558b08c75 Add a migration for the world setting to make it use an array of item schemas 2026-04-21 16:53:04 -06:00
6461057647 Lint the code that I fairly copy-pasted from draw-steel 2026-04-20 23:22:19 -06:00
3fff439483 Rename "operations" -> "worldOperations" to make it clearer what it's for 2026-04-20 23:20:58 -06:00
4e1714ee93 Finish the one-time migration script for loading old worlds 2026-04-20 23:13:10 -06:00
9269a68aa6 Switch the TOF into a non-persisted ObjectField 2026-04-20 21:28:57 -06:00
11f9e407a3 Temporarily make it so that the attribute items don't cause the sheet to break during rendering 2026-04-20 21:28:07 -06:00
b0a3d972f0 Add committing of the db operations into the migration lifecycle 2026-04-20 21:25:48 -06:00
85e3838396 Add reference comment for the modifyBatch method 2026-04-19 23:43:12 -06:00
14f76e0a27 Begin working on the migration script upon world load for Actors 2026-04-19 23:41:49 -06:00
8f8da244c0 Add the Attribute item data model 2026-04-19 14:53:05 -06:00
86ff3c9b79 Fix the tabActive for the content tab since we assert the selected tab on render 2026-04-14 20:47:44 -06:00
0e966f4b6a Make the comment read nicer 2026-04-12 22:42:20 -06:00
4bbca4e786 Remove the tabs partial from the removedParts set 2026-04-12 22:41:42 -06:00
57b902f986 Lint the code 2026-04-12 22:39:12 -06:00
48760343ce Merge remote-tracking branch 'origin/main' into feature/item-support 2026-04-12 22:26:59 -06:00
e128f2a828 Enable the item tab hiding on the Attribute-only actor sheet 2026-04-12 18:07:46 -06:00
76f5a4f27a Add an assertion that makes sure that tabs which should be hidden do not get displayed to the user if the condition becomes falsy due to a document update 2026-04-12 17:57:42 -06:00
fc24caf08a Add header control for adding an embedded item into an actor. 2026-04-08 01:08:52 -06:00
f05311d7c8 Hide the "% used" indicator when there is no maximum capacity, and add a placeholder to be more explicit for the input 2026-04-06 22:47:53 -06:00
e4e1f30fcb Add comments for the v13 shims to make it easier to find them 2026-04-05 20:23:11 -06:00
cfa352e5e0 Allow negative item quantities, don't allow negative weights 2026-04-05 20:14:18 -06:00
4c05171e04 Add the context menu for items in the player sheet 2026-04-05 20:14:02 -06:00
441930a5e5 Add _loc compatibility for v13 2026-04-05 20:08:55 -06:00
c9ad0d8a4e Tweak the way the config/api globals are structured (closes #50) 2026-03-29 01:27:26 -06:00
2d6db98530 Make the localizer config sealed instead of non-extendible 2026-03-29 01:24:39 -06:00
b20240699b Update the toggle so that the animation plays fully before the events are emitted 2026-03-28 20:01:16 -06:00
c65e960bd7 Add listener registration for foreign document updates on all sheets 2026-03-28 18:43:39 -06:00
0f1ba90161 Update the TafToggle to actually properly dispatch change/input events as required 2026-03-28 18:43:21 -06:00
1892a02794 Remove the unused cache from the config 2026-03-28 18:42:48 -06:00
9f19072426 Add a utility method for performing a document update on any arbitrary document 2026-03-28 18:42:11 -06:00
44372d0a17 Add a customizable weight formatter function 2026-03-23 00:22:54 -06:00
6e2dfa1cf1 Add a toggle component 2026-03-23 00:08:30 -06:00
2b0fbdfa8b Finish the primary design of the item tab, still awaiting an equipped toggle 2026-03-19 23:31:50 -06:00
704ff4672a Get the item list styles finished, and start working on the weight summary / carry capacity for the tab 2026-03-19 00:23:01 -06:00
96eccc62f2 Add partial rerendering to document sheets via a custom mixin 2026-03-16 22:06:30 -06:00
761f0b6563 Fix eslint and lint the codebase 2026-03-16 22:01:06 -06:00
d4150ff2e0 Fix a bug with the Attribute Only actor sheet breaking the other sheets due to the parts definition (closes #47) 2026-03-16 21:19:20 -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
6b03d62234 Add the item list compatibility for the Attribute Only Sheet 2026-03-15 15:47:28 -06:00
40f0e1ea2c Add support for the tabs in the two contentful Actor sheets 2026-03-15 15:35:57 -06:00
76d8f3675c Make group sorting be case insensitive 2026-03-14 16:02:37 -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
94b3ec923b Finish getting the main item sheet completed and fully functional 2026-03-13 21:31:03 -06:00