Commit graph

331 commits

Author SHA1 Message Date
Oliver-Akins
df316c68f3 Begin work on the updated item sheet and get the tabs initialized (Closes #141) 2024-03-30 22:02:39 -06:00
Oliver-Akins
be31e98dea Tweak the way that the logic for usedCapacity is working to make it correct and bit easier to read 2024-03-30 13:00:05 -06:00
Oliver-Akins
0f28e23b5c Add a datasheet for untyped items and foils 2024-03-30 12:59:16 -06:00
Oliver-Akins
3d8d041915 Add an item property for if the item is combat relevant 2024-03-30 00:43:47 -06:00
Oliver-Akins
19666a4e05 Clean up the Player datamodel, invalidating almost everything lol 2024-03-30 00:43:23 -06:00
Oliver-Akins
eadaa53c75 Begin working on a scoped CSS solution that uses a common design language across all sheets, and *just* does sheet-specific layout tasks 2024-03-26 22:36:40 -06:00
Oliver-Akins
5c5a1a8b56 Remove translation literals for now 2024-03-26 18:42:38 -06:00
Oliver-Akins
f4014e9c35 Add type augments for classes so intellisense doesn't keep converting system to migrateSystemData 2024-03-26 18:37:13 -06:00
Oliver-Akins
4c11a21d09 Gitignore all dot-prefixed folders at the root except .vscode and .github 2024-03-25 23:34:48 -06:00
Oliver-Akins
71c091e04a Fix an issue with the capacity calculation not working on items that don't have a quantity (surprisingly more than expected) 2024-03-25 22:55:58 -06:00
c03cd1dcd7
Merge pull request #136 from Oliver-Akins/feature/item-context-menus
Embedded Material context menu
2024-03-25 22:54:38 -06:00
Oliver-Akins
fe4abd073f Add a context menu for the material so that it can be edited and deleted (closes #133) 2024-03-25 22:52:33 -06:00
Oliver-Akins
c7bafee6b6 Misc template cleanup / consistency 2024-03-25 21:34:23 -06:00
Oliver-Akins
36976e5123 Add the pet details (closes #135) 2024-03-25 21:33:14 -06:00
Oliver-Akins
6504e33fad Remove prototype code that shouldn't be committed on main yet 2024-03-25 21:24:32 -06:00
Oliver-Akins
97af3801c4 Make it so we don't need to re-render the sheet on collapse toggle 2024-03-25 19:08:32 -06:00
Oliver-Akins
34eae97b47 Enable the foils filter by default 2024-03-24 21:49:43 -06:00
Oliver-Akins
337370bbfe Add the Weapon item details (closes #132) 2024-03-24 21:47:59 -06:00
Oliver-Akins
60797ab1e2 Don't cause rerender jumps for scrollable elements (closes #131) 2024-03-24 21:46:11 -06:00
Oliver-Akins
ec07fcfd39 Add a couple of utility macros for making development easier when invalidating documents 2024-03-24 17:23:46 -06:00
Oliver-Akins
acbcb6c9b2 Genericizing some of the styling and adding the Aspect item details (closes #128) 2024-03-24 16:54:50 -06:00
Oliver-Akins
649381cfdd Make the friendly duration be a getter on the Aspect class 2024-03-24 16:53:12 -06:00
Oliver-Akins
b19d248bc8 Remove the toFriendlyDuration helper 2024-03-24 16:52:30 -06:00
Oliver-Akins
022a63f12f Tweak Checkbox styles for the actor sheet 2024-03-24 16:50:33 -06:00
Oliver-Akins
8c9d8125f2 Register the datamodel for foils 2024-03-23 13:01:25 -06:00
Oliver-Akins
8ef9bd2550 Make it so that I can specifically code some aliases for handlebar partials 2024-03-23 13:01:07 -06:00
Oliver-Akins
07517658e7 Remove transportation as a location value 2024-03-23 13:00:26 -06:00
Oliver-Akins
1ba6cd0617 Remove properties from the data model that aspects don't need 2024-03-23 13:00:09 -06:00
Oliver-Akins
96f5b17785 Implement a button to create items of a specific subtype in the player inventory (closes #120) 2024-03-22 23:35:04 -06:00
Oliver-Akins
b3e699bc32 Harden the preCreate quantity increase to use source IDs in finding the item 2024-03-22 21:47:29 -06:00
Oliver-Akins
55a64afe02 Add a helper function for visible empty states 2024-03-22 20:23:51 -06:00
Oliver-Akins
18cdc2addc Get the item embedding working in a cleaner way where most of the item embedding logic is handled in the item's class instead of the actor's class 2024-03-22 20:23:28 -06:00
Oliver-Akins
0605542d62 Remove console log 2024-03-21 21:24:37 -06:00
Oliver-Akins
bad95f8c18 Begin making the pre-embed quantity change logic based on source IDs and not name 2024-03-21 21:24:26 -06:00
Oliver-Akins
6a355e63c0 Get most of the Untyped item implemented and functioning 2024-03-21 21:18:51 -06:00
Oliver-Akins
a383225b8c Add a couple of notes for a method I want to tweak later 2024-03-21 00:26:36 -06:00
Oliver-Akins
d64ed37953 Tweak the scrollbar stuff and make the scrollable gutter stable 2024-03-21 00:21:17 -06:00
Oliver-Akins
68b53601d6 Allow customizing the scrollbar on a per-sheet-per-theme basis as desired 2024-03-21 00:02:23 -06:00
Oliver-Akins
3b4e2405c1 Get the general layout of the untyped item details ready 2024-03-20 23:42:47 -06:00
Oliver-Akins
df38113533 Simplify logic that I did weirdly for some reason 2024-03-20 21:20:51 -06:00
Oliver-Akins
6db5818184 Add caret-down icon 2024-03-20 19:08:00 -06:00
Oliver-Akins
25a1e7e574 Remove stub 2024-03-20 19:07:44 -06:00
Oliver-Akins
80995da0aa Begin work on the Untyped item info 2024-03-20 19:07:25 -06:00
Oliver-Akins
aa5c6d5aba Improve how capacity consumption calculations are performed 2024-03-20 17:56:41 -06:00
Oliver-Akins
cf109a6ed1 Fix my erroneous reduce 2024-03-19 23:37:29 -06:00
Oliver-Akins
83d0bad21f Get the material items finished 2024-03-19 23:30:58 -06:00
Oliver-Akins
310ac07c88 Add data model for materials 2024-03-19 23:30:00 -06:00
Oliver-Akins
d69790ce89 Have Foundry reload automatically when it detects JS changes 2024-03-19 23:29:31 -06:00
Oliver-Akins
0304af3695 Move sheet logic into the sheet class... 2024-03-19 23:29:14 -06:00
Oliver-Akins
59b64f57db Fix the instanceof operators on the proxy to include the default class 2024-03-19 19:35:14 -06:00