Commit graph

59 commits

Author SHA1 Message Date
746d4d7a44 Update types 2021-02-08 02:07:25 +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
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
05bd1335ba remove redundant cast 2021-02-05 03:50:08 +01:00
5598255d6e Improve typing of DS4Item and DS4Actor 2021-02-05 03:42:42 +01:00
2641b1ee74 Update types 2021-02-05 02:35:47 +01:00
1d4c0ac459 update types 2021-02-04 18:00:05 +01:00
4e9b434839 update types 2021-02-04 14:39:51 +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
d6b46d6183 Remove skipLibCheck 2021-01-29 11:23:34 +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
4bbc177329 allow negative hit points with the token HUD 2021-01-23 23:51:21 +01: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
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
e89c87f0c1 Merge branch 'master' into 10-implement-money 2021-01-18 19:48:33 +01:00
fc144aa3f6 Apply 1 suggestion(s) to 1 file(s) 2021-01-18 19:03:08 +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
fec4280bec fix typo 2021-01-13 17:43:20 +01:00
e36f30a787 Add special abilities to creature sheet 2021-01-13 17:20:25 +01:00
c422635d66 add special creature ability as item type 2021-01-11 00:55:49 +01:00
45e7400e82 add currency and basic display 2021-01-10 19:32:10 +01:00
17d0213e62 add basic creature sheet 2021-01-10 02:05:30 +01:00
d416c14cbd Merge branch 'master' into 037-actor-type-creature 2021-01-10 00:41:20 +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
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
9addb66a50 removed redundant field racialAbilities from actor 2021-01-08 22:34:34 +01:00
b361d2da04 make hit points usable in resource bar 2021-01-07 12:47:38 +01:00
c91b8956f6 add data for profile info 2021-01-04 20:32:56 +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
d8423ce364 data binding for owned item properties
Additions:
- now also text, number, and range input fields of owned items can
  be bound to HTML (input) elements of the char sheet

Changes:
- moved prototype handle for checkboxes to own function
- replaced some static HTML elements in item list with input fields
- item-num-val HTML elements (e.g. item quantity) now have a max-width
2021-01-01 19:26:52 +01:00
62e96641b9 remove unnecessary imports 2020-12-31 12:21:24 +01:00
61213d399e use getOwnedItem instead of getEmbeddedEntity 2020-12-31 12:20:32 +01:00
6fac2c597f make equip icon for items clickable in item list in character sheet 2020-12-31 12:10:59 +01:00
b56d58dd52 Apply 1 suggestion(s) to 1 file(s) 2020-12-30 21:34:12 +01:00
e7219ab81e add base info to character sheet 2020-12-30 15:02:21 +01:00
59fb033db8 adjust character data to consist of basic character data 2020-12-30 15:01:17 +01:00
f2724a13a1 Merge branch 'master' into 004_equipment_tracking 2020-12-29 23:09:16 +01:00
48d8d6e44d proper localization of item vals in char sheet
Additions:
- added TODOs
- added armor item list to char sheet
- proper overflow handling in tabs (now: scrollable)

Changes:
- proper localization of item values
- "Description" not abbreviated anymore
- cleaned up getData() of ActorSheet (data now truly const)
2020-12-29 19:06:17 +01:00