Commit graph

634 commits

Author SHA1 Message Date
b9f7588f95 Automatically calculate spell price 2021-05-13 19:59:44 +02:00
2bc7b03323 Add functionality to track the minimum levels of spells for each mage class 2021-05-13 16:44:56 +02:00
eb49c15d5f Add optional tracking of slayer points 2021-05-13 15:41:00 +02:00
8d3e381d56 release version 0.6.0 2021-04-25 16:36:34 +00:00
7fe6ae9bc7 Fix wrong roll template location 2021-04-25 18:31:19 +02:00
d712d9d5c8 Fix a couple of i18n typos 2021-04-24 21:54:40 +02:00
d93fa19158 Use relative paths for assets and fonts in css 2021-04-20 23:02:00 +02:00
1297de5565 Reorder some css properties 2021-04-20 23:01:33 +02:00
4b0510c8a6 Extract foundry highlight text shadow to mixin 2021-04-20 22:53:25 +02:00
65a79a351d Change min height of actor sheet 2021-04-20 22:44:31 +02:00
db69a8f537 Add styling for checks 2021-04-20 22:38:00 +02:00
0d03dbf424 Implement Drag & Drop of checks 2021-04-15 20:00:37 +02:00
9e72c6560f Implement POC of rolling check from character sheet 2021-04-13 23:43:22 +02:00
fcfba63488 Add bottom border to combat values 2021-04-13 23:03:45 +02:00
04174398bb Use BEM for combat values 2021-04-13 22:48:37 +02:00
49b450daee Reorganize templates file structure 2021-04-13 21:40:52 +02:00
17a270d361 Merge branch 'master' into 76-common-checks-in-actor-sheets 2021-04-13 20:22:09 +02:00
ad2fd01353 Add checks for analyzing magic 2021-04-13 20:19:25 +02:00
e7564a0a5a release version 0.5.2 2021-04-11 15:19:21 +00:00
7886be1ffb Merge branch 'master' into 76-common-checks-in-actor-sheets 2021-03-30 22:46:41 +02:00
d446e07abd Apply 2 suggestion(s) to 1 file(s) 2021-03-30 20:41:12 +00:00
10a0561616 Merge branch '077-common-checks-macros-with-effects' into 76-common-checks-in-actor-sheets 2021-03-29 21:46:46 +02:00
23a4f7138e Remove unused utils 2021-03-29 21:46:29 +02:00
537e41bf5f Merge branch '077-common-checks-macros-with-effects' into 76-common-checks-in-actor-sheets 2021-03-29 21:21:53 +02:00
e545e3f030 Refactor for better readability (addressed CR comments) 2021-03-29 21:20:08 +02:00
cf80b18ba6 Move core values and combat values to values tab and BEMify core values 2021-03-24 20:10:14 +01:00
30aed22c03 Fix TSDoc string 2021-03-24 09:24:14 +01:00
f038509910 Add functionality for common checks, which can be affected by effects and be performed as macros 2021-03-24 09:19:26 +01:00
cb5ad74a71 Remove some unnecessary casts and fallbacks 2021-03-22 10:28:37 +01:00
17633ced68 Separate types for data and _data for DS4Actor 2021-03-22 10:18:43 +01:00
7c7d30854c Separate data and _data for DS4Item 2021-03-22 09:04:45 +01:00
a7569633e2 release version 0.5.1 2021-03-18 08:02:44 +00:00
9f297149b2 Rename a method for consistency 2021-03-18 08:58:35 +01:00
b449a20348 Rename some variables for clarity 2021-03-18 08:54:57 +01:00
d5b872e74b Improve CheckFactory 2021-03-18 08:52:02 +01:00
a2014c53d4 release version 0.5.0 2021-03-17 19:07:03 +00:00
115d6113de Small check factory cleanup and use foundry form formating for roll dialog 2021-03-17 20:01:31 +01:00
0d864b67c1 Use foundry vtt provided rollmode labels 2021-03-17 18:25:59 +00:00
e9fa9b3b56 Fix typos in item kompendium 2021-03-17 19:11:52 +01:00
e7fc318ea5 Use rollup to build typescript 2021-03-17 17:28:35 +01:00
0b2be5d9fc Remove redundant comment 2021-03-16 08:55:10 +01:00
196ddb7eb2 Small documentation fix 2021-03-16 08:42:36 +01:00
48a1cc652a Small renaming 2021-03-16 08:25:56 +01:00
a151e62a4c Cleanup hooks 2021-03-16 08:22:27 +01:00
3c54a6126b Small documentation adjustment 2021-03-16 07:49:00 +01:00
b439915c7c Fix color of coup / fumble dice totals in firefox 2021-03-16 07:42:49 +01:00
32fac517ad Rename a few things 2021-03-16 07:42:00 +01:00
67d0253f66 Update foundry-vtt-types to remove some type workarounds 2021-03-16 07:11:12 +01:00
48e06678a9 Merge branch 'master' into item-macros 2021-03-15 21:45:49 +01:00
2e5e02c89f properly cast return type of Roll.render 2021-03-15 21:41:51 +01:00
f3b6ed4b7f Make fumbles / coups more distinctive in the dice-total 2021-03-15 20:15:00 +01:00
212295069f Add functionality to create item macros via drag & drop 2021-03-14 19:04:28 +01:00
919091a211 Small cleanup 2021-03-14 14:52:50 +01:00
eb0866cfa7 Indicate fumbles / coups on the dice-total 2021-03-14 08:47:03 +01:00
2ccaa5da10 Add link to PR in TODO comment 2021-03-13 22:34:59 +01:00
3ea07a2379 Add missing i18n 2021-03-13 22:22:28 +01:00
18e6c31b5c Fix slying dice usage in CheckFactory 2021-03-13 22:15:58 +01:00
7f973e7de8 Add slying dice modifier to DicePool 2021-03-13 22:08:43 +01:00
eeb1aa61f4 Use coups, even if they are higher than the corresponding CTN 2021-03-13 20:58:59 +01:00
e1d376057c FIx creating DS4Check from data / results 2021-03-13 19:34:05 +01:00
0b98925aeb Rename an interface 2021-03-13 18:53:26 +01:00
5d3d5bc533 Rename some variables 2021-03-13 18:50:39 +01:00
7e5a912cf0 remove commented slaying dice code 2021-03-13 18:46:25 +01:00
98deee1856 Add tests for evaluateCheck 2021-03-13 18:43:23 +01:00
bafb770178 Fix typo 2021-03-13 17:47:47 +01:00
9c1d2f081a Make dice viewable seperately in DS4Check 2021-03-13 17:43:48 +01:00
ea5eee709e Add function to assign sub checks to dice 2021-03-13 02:27:09 +01:00
07bcd3a58e release version 0.4.1 2021-03-08 09:02:22 +00:00
a48fedd937 Fix horizontal overflows in actor sheets 2021-03-08 09:58:26 +01:00
50fb044926 release version 0.4.0 2021-03-07 19:50:40 +00:00
fac9bfdf39 Fix problem with talent rank column 2021-03-07 19:01:58 +01:00
d656d89d6c Apply 1 suggestion(s) to 1 file(s) 2021-03-07 18:42:11 +01:00
9eb1e34850 Apply 1 suggestion(s) to 1 file(s) 2021-03-07 18:42:08 +01:00
f7c18dc702 Make private methods protected 2021-03-04 10:00:46 +01:00
71eedaf080 Only try to roll for the given item type 2021-03-04 09:19:11 +01:00
b811e7ccfe Remove unnecessary css properties 2021-03-04 09:04:33 +01:00
dabcf885a6 Remove unsued @use 2021-03-04 08:57:43 +01:00
bec0c15d52 Fix typo 2021-03-04 08:55:33 +01:00
ea4f1d3ee7 use img tags instead of divs with background-image set 2021-03-04 08:51:13 +01:00
74ad0c7f24 Add possibility to roll spells from sheet adnrequire spells and weapons to be equipped to be rolled 2021-03-04 01:54:51 +01:00
68c20ccdc6 Fix Actor.data.data.rolling being undefined 2021-03-04 00:54:41 +01:00
b07ee31b38 Add maximumCoupResult and minimumFumbleResult to actor data 2021-03-04 00:41:57 +01:00
87205f6193 Fix typo 2021-03-04 00:17:48 +01:00
3d272f2b92 Make weapons rollable from the character sheet 2021-03-04 00:14:16 +01:00
ace48fee48 Sort SCSS 2021-02-26 03:17:27 +01:00
e60065b81d Remove redundant transition 2021-02-26 02:52:50 +01:00
11641e6873 Add TODO comment to switch to subgrid as soon as chromium supports it 2021-02-26 02:30:58 +01:00
43032fd75d Do some cleanup 2021-02-26 02:24:00 +01:00
d17b092658 Readd currency to character sheet 2021-02-26 02:13:18 +01:00
315261bf4f Get rid of ifHasItemOfType 2021-02-26 01:38:53 +01:00
b3ac3cde84 extract item-list-entry to commonly used partial 2021-02-26 01:08:55 +01:00
0d486647a2 revert to using display: contents instead of subgrid to support chromium 2021-02-26 00:55:43 +01:00
9573a6595d Extract item-list-header to common partial used by all item lists 2021-02-25 23:30:45 +01:00
276a70a70a Use grid for special creature abilities 2021-02-25 22:38:35 +01:00
25b6f03d56 Use grid for talents tab 2021-02-25 22:22:05 +01:00
1676a7b8c4 Make items editable again int items-list 2021-02-25 21:05:21 +01:00
aac4b014b0 Use BEM for item-list styling and add support for drag & drop of items (between sheets and for sorting) 2021-02-25 19:07:25 +01:00
226156f960 Bundle Lora font instead of fetching it from Google 2021-02-24 13:55:57 +01:00
93e254db64 Switch to SASS module system 2021-02-24 12:55:30 +01:00
d5abc6d4be Remove redundant comment 2021-02-24 04:54:14 +01:00
3867a23c2d Make item list a grid for items and spells 2021-02-24 04:52:32 +01:00
0f1418d71b release version 0.3.1 2021-02-21 17:57:41 +00:00
516c68d4af Remove equipped flag from all loot items 2021-02-21 18:53:46 +01:00
96f0e34a17 release version 0.3.0 2021-02-21 05:01:11 +00:00
7ee7a44f05 Add various magical items 2021-02-21 05:39:12 +01:00
57e378d9ee Remove comment from scss 2021-02-21 04:13:11 +01:00
d7fb8fd61a use notification wrapper 2021-02-21 04:09:48 +01:00
5d249d4c10 Fix migration of compendiums 2021-02-21 04:05:50 +01:00
343a888b68 Rename loot and equipment 2021-02-21 03:40:54 +01:00
dacce1b29d Add Magical Armor 2021-02-21 00:11:06 +01:00
6d7459b240 Add examples of magical weapons 2021-02-20 22:42:04 +01:00
0fd9622e2d Make some small improvements to actor sheets 2021-02-20 22:41:33 +01:00
df6e1672cf Merge branch 'master' into 056-items-compendium 2021-02-20 17:54:17 +01:00
a07e9dbf1c Update types 2021-02-20 17:30:17 +01:00
3989e76958 Update dependencies 2021-02-20 14:00:50 +01:00
6fac0abf9a Make availability unset for all magical items 2021-02-20 05:44:50 +01:00
9070d7f5fa Add potions to item compendium 2021-02-20 05:36:15 +01:00
95139711a9 Add lot's of equipment to item compendium 2021-02-20 05:03:12 +01:00
bb032397e2 Add armor and shields to item compendium 2021-02-20 03:42:52 +01:00
00e8bb2ab8 Merge remote-tracking branch 'origin/master' into 056-items-compendium 2021-02-20 02:22:26 +01:00
2db1dae4c2 Fix typo 2021-02-20 02:15:28 +01:00
d31c9ac24b Fix saving scroll position in actor sheets 2021-02-20 02:12:34 +01:00
f92d8db3d6 Merge branch 'master' into 056-items-compendium 2021-02-20 01:48:23 +01:00
622253f0da Make some small improvements in actor sheets 2021-02-20 01:46:40 +01:00
2a10bfacdb Fixup 2021-02-19 18:10:26 +01:00
9eb9d01b59 Add HP to creature sheet 2021-02-19 18:08:27 +01:00
33baec2bf1 Update prices and availability of magical weapons 2021-02-19 14:00:01 +01:00
79814e6758 Add basic weapons and magic variants to item compendium 2021-02-19 14:00:01 +01:00
1bb689771b Make it possible to edit / view hit points in actor sheet 2021-02-19 13:55:38 +01:00
f0ba708e7f Merge branch 'master' into bug-reporter-support 2021-02-18 14:51:01 +01:00
d5af9c90c4 Simplify active effect application slightly 2021-02-18 13:42:59 +01:00
b2490a2e2f Simplify handling of optional values in a couple of places 2021-02-18 13:36:36 +01:00
24d8926645 correctly handle overrides 2021-02-18 13:24:52 +01:00
57c8fe0eea Add support for the Bug Reporter module 2021-02-17 08:37:20 +01:00
1e349a3b34 Readd newlines at EOF 2021-02-16 23:33:21 +01:00
9104237261 Add tooltips for attributes, traits, and combat values 2021-02-16 23:23:18 +01:00
38a3437267 Small cleanup 2021-02-16 16:34:23 +01:00
624059ef02 Always derive hitPoints.max from the final hitPoints.total 2021-02-16 15:39:18 +01:00
4e2691e19f simplify DS4Actor._getOriginatingItemOfActiveEffect 2021-02-16 14:52:22 +01:00
66334d338f Simplify ActiveEffect handling by a lot 2021-02-16 03:26:26 +01:00
1b715031a8 Tie active effects to equipped flag for token actors, too 2021-02-16 02:07:34 +01:00
6cdbcc6899 Update types 2021-02-15 22:02:51 +01:00
ac84d40528 Merge branch 'master' into 050-basic-active-effects 2021-02-11 12:10:14 +01:00
2158026437 Add additional checks when editing items or effects 2021-02-11 12:03:32 +01:00
7cc1c37bc3 Improve reaadability of notifications.notify 2021-02-11 11:14:24 +01:00
033b11fff9 Apply 1 suggestion(s) to 1 file(s) 2021-02-08 10:41:41 +01:00
433a374936 Fix doc 2021-02-08 03:38:50 +01:00
b74ee5ec7c Merge branch '068-enable-strict-mode' into 050-basic-active-effects 2021-02-08 03:26:57 +01:00
fc3f3eb1f3 Simplify DS4Check.MODIFIERS 2021-02-08 02:15:43 +01:00
746d4d7a44 Update types 2021-02-08 02:07:25 +01:00
ff3c09f009 Add missing localization 2021-02-07 14:00:26 +01:00
09b4117306 Activate strict mode 2021-02-07 13:51:20 +01:00
dac37eeaa1 Remove unused import 2021-02-07 12:29:15 +01:00
8e8aa4caee Add icons to check roll dialog buttons 2021-02-07 12:23:20 +01:00
f64e459cd2 Update types 2021-02-07 12:16:48 +01:00
d5db788c31 Do some cleanup 2021-02-07 11:51:36 +01:00
98568de676 Update types 2021-02-07 11:15:37 +01:00
5cb75a4001 Update types 2021-02-05 20:37:52 +01:00
05bd1335ba remove redundant cast 2021-02-05 03:50:08 +01:00
52c729c3fa SImplify Dice configuration 2021-02-05 03:47:54 +01:00
5598255d6e Improve typing of DS4Item and DS4Actor 2021-02-05 03:42:42 +01:00
b657633c7f remove unwanted change 2021-02-05 02:56:13 +01:00
b8d11fa5cd remove some redundant casts 2021-02-05 02:52:55 +01:00
2641b1ee74 Update types 2021-02-05 02:35:47 +01:00
cd86857b43 Update types 2021-02-04 23:03:49 +01:00
1d4c0ac459 update types 2021-02-04 18:00:05 +01:00
bedab9ae83 update types 2021-02-04 17:28:55 +01:00
4e9b434839 update types 2021-02-04 14:39:51 +01:00
d8e085ce81 update types 2021-02-04 12:32:07 +01:00
6c3432cb26 update type definitions 2021-01-31 19:57:14 +01:00
628490c6f2 Update TODOs 2021-01-29 16:44:08 +01:00
3d5912a631 Update foundry-vtt-types 2021-01-29 16:17:31 +01:00
d6b46d6183 Remove skipLibCheck 2021-01-29 11:23:34 +01:00
3209280b29 Fix linter warning 2021-01-27 01:38:47 +01:00
ba268e4245 remove workaround for position type 2021-01-26 21:25:43 +01:00
0a911cf196 Merge branch 'master' into 066-switch-to-foundry-vtt-types 2021-01-26 21:17:00 +01:00
972c3a7701 Merge branch 'master' into correctly-pass-rollMode-parameter 2021-01-26 21:14:40 +01:00
f7575da47a Merge branch 'master' into 065-simplify-localization 2021-01-26 20:54:36 +01:00
0fc561eb8e Merge branch 'master' into 065-simplify-localization 2021-01-26 20:48:56 +01:00
0b70bbf9b9 merged i18n and i18nKeys 2021-01-26 20:47:28 +01:00
21ef8a9018 Merge branch 'master' into quality-of-life-improvements 2021-01-26 20:42:56 +01:00
f511762365 Apply 1 suggestion(s) to 1 file(s) 2021-01-26 20:30:53 +01:00
a0c4d1c4d9 small adjustments to TODO comments 2021-01-26 03:58:03 +01:00
62cc5a0e7c switch to foundry-vtt-types 2021-01-26 03:55:18 +01:00
61c6f6edd9 move calculation of total attributes and traits to prepareBaseData 2021-01-25 10:32:13 +01:00
f4f7c471ac release version 0.2.1 2021-01-25 00:35:58 +00:00
b157cff67a fix typo 2021-01-25 01:33:13 +01:00
637af7c4d0 make DefaultCheckOptions 2021-01-25 01:25:45 +01:00
85ec5faec2 implement basic active effects 2021-01-25 01:09:51 +01:00
62ab89f83b moved icon mappings in CONFIG.DS4.icons 2021-01-24 17:56:32 +01:00
d831f376e1 moved localization mappings in CONFIG.DS4.i18nKeys
- moved all mappings in CONFIG.DS4 that belong to localization
  into common parent CONFIG.DS4.i18nKeys
- adapted logic in ds4.ts to not overwrite entries in
   CONFIG.DS4.i18nKeys
- adapted calls to config in templates
2021-01-24 17:55:14 +01:00
a5d91eca71 localized edit & delete item buttons 2021-01-24 17:45:39 +01:00
3ba5c0d640 localized effect control buttons 2021-01-24 17:40:08 +01:00
3ddabcaaac fixed some German translations 2021-01-24 17:39:11 +01:00
ef27d03628 Merge branch 'master' into quality-of-life-improvements 2021-01-24 16:20:28 +01:00
867c417737 removed unnecessary partial arg in char sheet
The argument was accidentally introduced before.
2021-01-24 16:11:59 +01:00
159f5b8529 make it possible to pass rollMode to createCheckRoll 2021-01-24 15:51:47 +01:00
0b1c342ecf select text of input fields when focused
- the content of input fields of relevant sheets and dialogs
  are now selected upon focus
- autofocus the Gamemaster roll modifier in the roll dialog
2021-01-24 13:11:08 +01:00
a8158894dd added thin space between value and unit in spells 2021-01-24 11:06:07 +01:00
b1e7f61ed5 changed char special characteristics to textarea 2021-01-24 01:20:55 +01:00
4bbc177329 allow negative hit points with the token HUD 2021-01-23 23:51:21 +01:00
4c8bd29e2e added unit to char height & weigt title 2021-01-23 23:49:45 +01:00
c13ebb0b76 add buttons in overviews now on bottom 2021-01-23 23:44:49 +01:00
45c5e3bd7d release version 0.2.0 2021-01-23 00:58:22 +00:00
2d6eb34d09 better way to call super._onDropItem 2021-01-23 01:45:23 +01:00
afbe0cb8f1 fix dragging items from compendium to actor sheet 2021-01-23 01:43:48 +01:00
0fc726a5af fix spell icon path 2021-01-22 22:56:58 +01:00
ef98b4a590 Merge branch 'master' into 061-languages-and-scripts-compendiums 2021-01-22 22:24:36 +01:00
4040c8605c Apply 2 suggestion(s) to 1 file(s) 2021-01-22 22:01:31 +01:00
55a0cbe11a add compendium with languages and scripts from the SRD 2021-01-21 18:07:08 +01:00
c5a5a7d5a2 Merge remote-tracking branch 'origin/master' into add-special-creature-ability-compendium 2021-01-21 01:29:09 +01:00
ec10a26360 Use uppercase for woodstamp font 2021-01-20 22:22:19 +01:00
60ed168053 adjust migration versioning 2021-01-20 22:11:53 +01:00
b806b5f35f add note that compendum packs are cc licensed 2021-01-20 00:47:56 +01:00
fe84927a28 add compendium with special creature abilities 2021-01-20 00:42:58 +01:00
e385159f29 readd newline at eof 2021-01-19 03:33:59 +01:00
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
70d90b058b release version 0.1.0 2021-01-18 20:28:37 +00:00
93a4888753 set version to 0.0.1 2021-01-18 21:21:26 +01:00
6ebb556f33 fix owner display in side properties 2021-01-18 21:15:11 +01:00
66592a92d6 Shrink header info. 2021-01-18 20:51:08 +01:00
5f8848ede8 Merge remote-tracking branch 'origin/master' into 051-fixSpellProperties 2021-01-18 20:12:49 +01:00
dee56f12ec remove currency from creature sheet 2021-01-18 19:59:25 +01:00
e89c87f0c1 Merge branch 'master' into 10-implement-money 2021-01-18 19:48:33 +01:00
ab6e02a7a6 fix typo 2021-01-18 19:34:03 +01:00
e9adbd3c3b Merge remote-tracking branch 'origin/master' into 037-actor-type-creature 2021-01-18 19:12:46 +01:00
7e4c5059ca address code review comments 2021-01-18 19:11:13 +01:00
fc144aa3f6 Apply 1 suggestion(s) to 1 file(s) 2021-01-18 19:03:08 +01:00
4c902500c9 unit values only displayed if given 2021-01-16 23:47:05 +01:00
1bc8fcab65 using label for currency types 2021-01-16 17:59:56 +01:00
25755385c0 Add accessibility. 2021-01-16 15:16:40 +01:00
03287b3b98 modify ui 2021-01-16 14:59:54 +01:00
319c40c4a7 Make side properties a bit better readable. 2021-01-16 00:11:00 +01:00
5c74da883b Make basic properties more responsive (grid draft) 2021-01-15 23:49:41 +01:00
b06396c141 Review comments:
- Error prefix on localization key
 - Different name for Roll dialog title
 - Remove obsolete todos
 - Add some defaults to make args optional
 - Change return types of promises and term generators
2021-01-15 20:46:26 +01:00
358aab023f add explicit return in _onDrop 2021-01-15 17:43:27 +01:00
6028f70da7 remove unused type 2021-01-15 17:42:10 +01:00
ebc9b95758 Fix tests. 2021-01-13 20:12:37 +01:00
04bfe61f3f Update localization, add docs. 2021-01-13 18:56:19 +01:00
7ada67b7c3 Merge master 2021-01-13 18:32:47 +01:00
d6ddad67cc Implement localization (en only). 2021-01-13 18:02:22 +01:00
fec4280bec fix typo 2021-01-13 17:43:20 +01:00
9ea353101f rename talents tab to talents-abilities 2021-01-13 17:23:06 +01:00
e36f30a787 Add special abilities to creature sheet 2021-01-13 17:20:25 +01:00
2d809c955b Make cancellable withour exception 2021-01-13 17:11:07 +01:00
864a65fed2 Merge remote-tracking branch 'origin/master' into 037-actor-type-creature 2021-01-11 00:56:26 +01:00
c422635d66 add special creature ability as item type 2021-01-11 00:55:49 +01:00
4196257fd5 add author siggi 2021-01-10 21:51:47 +01:00
61098b31d6 spell add default category 2021-01-10 21:18:33 +01:00
9bea9c63cd add spell category none 2021-01-10 21:04:18 +01:00