Commit graph

630 commits

Author SHA1 Message Date
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
516c04c8de First proper parsing without much "nice-ity". 2021-01-10 21:03:11 +01:00
c10ab44ea9 modifications 2021-01-10 20:40:26 +01:00
46ec9b0ac8 currency add 2021-01-10 19:33:55 +01:00
45e7400e82 add currency and basic display 2021-01-10 19:32:10 +01:00
a19a996d1d Display (only!) selection options to the user. 2021-01-10 16:40:11 +01:00
fc6cf2ef74 Merge branch 'master' into 037-actor-type-creature 2021-01-10 02:37:43 +01:00
0568afc32b Add localization of actor and item type labels 2021-01-10 02:35:48 +01:00
17d0213e62 add basic creature sheet 2021-01-10 02:05:30 +01:00
Max Tharr
6db1d48033 Add initiative formula 2021-01-10 01:51:11 +01:00
d416c14cbd Merge branch 'master' into 037-actor-type-creature 2021-01-10 00:41:20 +01:00
0eb447d279 added German localization for spells
- added missing German localizations
- fixed some localizations
- renamed targetedSpell -> targetedSpellcasting for consistency
2021-01-10 00:30:51 +01:00
18a4e2005a added German translation for spell stuff 2021-01-10 00:05:29 +01:00
c1f77e1a66 Merge branch 'master' into 015-spells 2021-01-09 23:44:48 +01:00
884327b156 added spell tab and sorted tabs 2021-01-09 23:39:35 +01:00
c94ff4a67a Rudimentary docs. 2021-01-09 23:21:57 +01:00
27c0ddbca1 Make factory usable from Macros.
This does not yet include any modal interface.
2021-01-09 23:14:50 +01:00
bc6930675c localize creature parts of config 2021-01-09 22:55:38 +01:00
b01e0417ee add doc strings to new config objects 2021-01-09 22:54:44 +01:00
6820ce7c00 Add creature actor to config, i18n, template.json, types 2021-01-09 22:51:46 +01:00
ed095dcc84 fix actor sheet 2021-01-09 22:30:26 +01:00
349a767de6 Merge remote-tracking branch 'origin/master' into 41-german-translation 2021-01-09 21:54:00 +01:00
54e334cff5 apply review suggestions 2021-01-09 21:41:41 +01:00
57906a42a8 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:34:22 +01:00
c225cae087 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:34:10 +01:00
2af3e6106b Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:34:02 +01:00
e2b7b390a8 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:33:48 +01:00
92d7d2b8bf Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:33:38 +01:00
510e46d96a Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:32:20 +01:00
df7c7efa50 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:32:01 +01:00
2f6b89a0e1 use shorter storage location 2021-01-09 20:43:05 +01:00
188eb6c1d2 add german translation 2021-01-09 20:36:34 +01:00
8856c30165 move technical stuff to before_script 2021-01-09 19:01:22 +01:00
7d04ad2309 added spell sheet; reverted side-prop style change 2021-01-09 18:26:17 +01:00
4de9d42ee3 added spell cooldownDuration and more localization 2021-01-09 18:25:30 +01:00
a303296828 description and body templ accept partial-block 2021-01-09 18:23:25 +01:00
4b203375dd wip: create german translation 2021-01-09 16:14:25 +01:00
090aeab75f added type definitions and translations for spells 2021-01-09 14:26:48 +01:00
dc2d099565 implemented dynamic headers of item lists 2021-01-09 01:11:55 +01:00
9d58388c5f Merge branch 'master' into 022-languages 2021-01-09 00:05:36 +01:00
737a644ecd added alphabet item
- added to database and localization definitions
- added sheet
- added to talents & abilities tab
- removed languages & alphabets from actor properties
2021-01-08 23:54:41 +01:00
42868e4a83 Fix review comments. 2021-01-08 23:46:28 +01:00
25119fd9e3 Add very simple docs. 2021-01-08 23:41:23 +01:00
1011b85067 moved redundant item sheet header into partial 2021-01-08 23:32:35 +01:00
a5e240ab75 Localize Error Messages. 2021-01-08 23:31:42 +01:00
f8e1f32439 added language item
- added to database and localization definitions
- added sheet
- added to talents overview
2021-01-08 23:23:53 +01:00
22f53e5420 Allow multiple dice and error check. 2021-01-08 23:18:01 +01:00
9addb66a50 removed redundant field racialAbilities from actor 2021-01-08 22:34:34 +01:00
3dca6a5ae4 Implement CTN as modifier. 2021-01-08 21:07:15 +01:00
c89278992f Merge remote-tracking branch 'origin/master' into 008-chatRollInterface 2021-01-08 18:32:36 +01:00
2a03ed273f Merge remote-tracking branch 'origin/master' into 024-not-possible-to-manage-active-effects-on-owned-items 2021-01-08 00:00:11 +01:00
16ea39f81d remove redundant effect classes 2021-01-07 23:59:50 +01:00
52cc441cbc Merge branch 'master' into 021-add-racial-abilities 2021-01-07 22:04:54 +01:00
149096e985 add racial abilites as item type 2021-01-07 20:20:40 +01:00
b361d2da04 make hit points usable in resource bar 2021-01-07 12:47:38 +01:00
7685efa8a6 localize warning 2021-01-07 12:04:25 +01:00
714efeb4ab prevent error when trying to manage active effects on an owned item 2021-01-07 11:55:54 +01:00
18a475dd8f fix height of editor in item sheets 2021-01-07 04:12:20 +01:00
14ffff1985 Fix tests. 2021-01-07 02:33:22 +01:00
1422f28760 Get basic features to work. 2021-01-07 02:26:09 +01:00
b582b44f20 Merge branch 'master' into 014_track_talents 2021-01-07 00:00:36 +01:00
1f6d8b7980 cleanup 2021-01-06 23:51:08 +01:00
c885d2d405 Implement a custom DS4 "dice" class.
Includes exploding and crit dice modifier, but not tested yet,
as some required types are still missing.
2021-01-06 19:15:56 +01:00
9feaa5216d Make roll executor fir for modifier-approach. 2021-01-06 18:27:22 +01:00
5bd43125f9 Merge branch 'master' into 014_track_talents 2021-01-06 16:34:48 +01:00
177de1a486 extracted item control buttons to own templates
- removed code duplication of inline button templates
  for item and talent overview
2021-01-06 16:29:02 +01:00
e6b51c66a6 removed code duplication of item body from talent
- added  isPhysical boolean to getData output of item-sheet.ts
- added isPhysical checks for displays of physical-only information
  in templates
2021-01-06 16:10:56 +01:00
5bdfdd410b replace basic-property-* css classes by selectors 2021-01-06 15:30:20 +01:00
874692ed5c moved basic talent properties in talent-sheet head
- a little bit better gridding of side-properties
  (still needs a rewrite)
- common SCSS mixin for input field marking
2021-01-06 15:25:55 +01:00
daeb9fc703 Merge branch 'master' into 003-add-character-profile 2021-01-06 14:33:46 +01:00
3ba5efb8a7 fixed wrong positioning of effects tab content 2021-01-06 14:19:18 +01:00
fb711bc024 unified keys for localizations for headings
- keys now start with 'DS4.Heading'
- removed unused DS4.DescriptionAbbr
2021-01-06 12:02:40 +01:00
98f31d9e8c renamed talent property from talentRank to rank 2021-01-06 11:52:11 +01:00
17b5eee902 Apply 1 suggestion(s) to 1 file(s) 2021-01-06 11:36:06 +01:00
c98c64de1e Apply 1 suggestion(s) to 1 file(s) 2021-01-06 11:35:56 +01:00
637b70c5d2 added invalidity hints to item side-properties
- added :invalid definition to side-properties CSS
-  defined common color for invalidity
- now using disabled input for automatically calculated properties
2021-01-06 11:39:39 +01:00
6d02f1623a reference a version tag in the download url 2021-01-06 01:30:21 +01:00
150a0ea487 added talents overview and sheet
- added talents item type:
  - added scss
  - added to template.json (Item.types, Item.talent)
   - added to config.ts itemTypes
   - added type definition
- added localizations
- added talent overview tab to actor sheet
- made total rank calculated upon data preparation
  by adding a prepareData method to DS4Item
2021-01-06 01:24:37 +01:00
2e3718a409 Merge branch 'master' into 003-add-character-profile 2021-01-06 01:17:37 +01:00
74be1d4e13 put release artifacts in ds4 directory 2021-01-06 00:59:22 +01:00
9de78b4940 small style fixes 2021-01-06 00:02:30 +01:00
f2f40a8e89 make some input fiels accept only number 2021-01-04 22:12:19 +01:00
6ba1032a12 Merge remote-tracking branch 'origin/master' into 003-add-character-profile 2021-01-04 21:52:26 +01:00
f8deca4cd4 add culture and save space with base infos and progression infos 2021-01-04 21:51:58 +01:00
1af51b3917 Merge remote-tracking branch 'origin/master' into 013-rollLibRefinements 2021-01-04 21:21:54 +01:00
e2a42aee4b Add docs, type clarifications. 2021-01-04 21:21:06 +01:00
520aab8b72 cleanup profile 2021-01-04 20:33:37 +01:00
2cb0411288 Add basic form of editable profile fields to profile tab 2021-01-04 20:33:37 +01:00
98ce35f831 Add dummy profile tab to character sheet 2021-01-04 20:33:35 +01:00
c91b8956f6 add data for profile info 2021-01-04 20:32:56 +01:00
9fba2d1385 Merge remote-tracking branch 'origin/master' into simplify-core-values 2021-01-04 20:29:09 +01:00
0db345c7de extract 26px line height for inputs to variable 2021-01-04 20:28:33 +01:00
fc88ce6c52 Rename Test to check, etc., restructure calculation code. 2021-01-04 19:38:26 +01:00
7cb6080808 extract and simplify combat values to own component 2021-01-04 01:11:05 +01:00
6a12ba3938 extract and simplify attributes and traits 2021-01-04 00:55:44 +01:00
61beda7734 added number conversion in HTML value retrieval
Changes:
- number input fields now return numbers
- range elements removed since they are untested

Additions:
- added min and step specifiers to input fields associated to
  item number properties
- added a color hint for invalidity of
  item number input fields in actor sheet
2021-01-03 23:27:51 +01:00
ec404624c7 fixed type of HTML property name in _onItemChange 2021-01-03 22:40:01 +01:00
944907deb7 moved input el value retrieval to helper func 2021-01-03 22:26:36 +01:00
e2e9bca5fd fixed _onItem... handle param types in docstrings 2021-01-03 21:54:42 +01:00
d9eef7592f fixed some issues with the flexbox approach
- had to remove border, padding, and margin from input boxes
- centered images
- fixed y-overflow of description and images by restricting height
2021-01-03 21:50:16 +01:00
4e60687b2b unified class specifier in HTML elements
- now all class=... is always first
- flex attributes are first in class specifier
- marked armor type image as item-image class
2021-01-03 21:24:32 +01:00
fb780ae4c2 Merge branch 'master' into equip-items-in-character-sheet
now using cleaned up template
2021-01-03 21:14:11 +01:00
0721555c91 Merge branch 'adjust-licensing' into 'master'
adjust licensing

See merge request dungeonslayers/ds4!13
2021-01-03 16:54:36 +01:00
cc9a133ebe extract path to official assets in scss variable 2021-01-03 16:52:51 +01:00
c26e4bab9f Changes as per review.
Missing:
 - Open discussion on "test value" renames
 - docs
 - open discussion on last-die-handling
2021-01-03 15:08:38 +01:00