Commit graph

89 commits

Author SHA1 Message Date
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
2ac6d3a919 working weapons section in char sheet
Additions:
- re-added getData() method of actor sheet for sorted items
- added an item-description CSS class for handling of overflow
- added a 1.5 CSS flex box

Changes:
- restricted previous sample items section to only weapons
  (to be re-used for other item types)

Fixes:
- fixed input types in weapon sheet
2020-12-29 01:44:54 +01:00
082cd03b71 improve effects type checking 2020-12-29 00:33:43 +01:00
2fc7fb13c8 renamed actor-sheet from .html to correct .hbs 2020-12-28 20:41:39 +01:00
4d00d8a481 Fix typo in event handler. 2020-12-28 17:38:52 +01:00
9385917edd Update to new data bindings, everythings an interface now. 2020-12-28 17:34:40 +01:00
d9440b27a6 Type-ify Actor. 2020-12-28 15:51:00 +01:00
2ba687eb14 add eslint and prettier 2020-12-23 18:23:26 +01:00
4f6a9b7e73 format files 2020-12-23 17:14:02 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00