Commit graph

50 commits

Author SHA1 Message Date
d8e085ce81 update types 2021-02-04 12:32:07 +01:00
6c3432cb26 update type definitions 2021-01-31 19:57:14 +01:00
3209280b29 Fix linter warning 2021-01-27 01:38:47 +01:00
0a911cf196 Merge branch 'master' into 066-switch-to-foundry-vtt-types 2021-01-26 21:17:00 +01:00
f7575da47a Merge branch 'master' into 065-simplify-localization 2021-01-26 20:54:36 +01:00
0b70bbf9b9 merged i18n and i18nKeys 2021-01-26 20:47:28 +01:00
62cc5a0e7c switch to foundry-vtt-types 2021-01-26 03:55:18 +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
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
60ed168053 adjust migration versioning 2021-01-20 22:11:53 +01:00
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +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
e9adbd3c3b Merge remote-tracking branch 'origin/master' into 037-actor-type-creature 2021-01-18 19:12:46 +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
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
45e7400e82 add currency and basic display 2021-01-10 19:32:10 +01:00
0568afc32b Add localization of actor and item type labels 2021-01-10 02:35:48 +01:00
d416c14cbd Merge branch 'master' into 037-actor-type-creature 2021-01-10 00:41:20 +01:00
884327b156 added spell tab and sorted tabs 2021-01-09 23:39:35 +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
6820ce7c00 Add creature actor to config, i18n, template.json, types 2021-01-09 22:51:46 +01:00
4de9d42ee3 added spell cooldownDuration and more localization 2021-01-09 18:25:30 +01:00
9d58388c5f Merge branch 'master' into 022-languages 2021-01-09 00:05:36 +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
c89278992f Merge remote-tracking branch 'origin/master' into 008-chatRollInterface 2021-01-08 18:32:36 +01:00
b582b44f20 Merge branch 'master' into 014_track_talents 2021-01-07 00:00:36 +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
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
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
f8deca4cd4 add culture and save space with base infos and progression infos 2021-01-04 21:51:58 +01:00
98ce35f831 Add dummy profile tab to character sheet 2021-01-04 20:33:35 +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
c9b41e2d3f renamed item list templates
More precise names for:
- item overview list template for actor sheet
- inline templates in item overview list template
2021-01-03 00:08:21 +01:00
e7219ab81e add base info to character sheet 2020-12-30 15:02:21 +01:00
9da168afa6 abbr for armor type&material in item overview
Additions:
- further abbreviations included in localization

Changes:
- now not full armor type / material expression displayed in char sheet,
  but only an abbreviation with tooltip
- description now smaller for weapon and armor
2020-12-30 01:03:06 +01:00
3ebd8cd177 Merge branch 'master' into 004_equipment_tracking 2020-12-29 16:14:51 +01:00
47c45ee87d moved items tab of char sheet into partial 2020-12-28 20:38:02 +01:00
110a523268 Merge branch 'master' into 005_item_editing 2020-12-28 19:55:47 +01:00
e7df21426b removed code duplication in item templates
Item templates now all use a common body.
2020-12-28 18:58:01 +01:00
9cf248754c added "Effects" and "Details" tab to all items
Additions:
- partials for effects and details tab with navigation
- loading of partials in main ds4.ts
- add localization

Changes:
- empty "Details" tabs replaced by inclusion of partial
- "Details" tab now displays default message
- Previous "Details" tab of Trinket replaced by "Effects" tab
2020-12-28 18:49:55 +01:00
9385917edd Update to new data bindings, everythings an interface now. 2020-12-28 17:34:40 +01:00
2ba687eb14 add eslint and prettier 2020-12-23 18:23:26 +01:00
bd4c5308bf remove .js extension from imports 2020-12-23 17:05:12 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00