Commit graph

88 commits

Author SHA1 Message Date
bedab9ae83 update types 2021-02-04 17:28:55 +01:00
3d5912a631 Update foundry-vtt-types 2021-01-29 16:17:31 +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
0b70bbf9b9 merged i18n and i18nKeys 2021-01-26 20:47:28 +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
85ec5faec2 implement basic active effects 2021-01-25 01:09:51 +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
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
c422635d66 add special creature ability as item type 2021-01-11 00:55:49 +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
4de9d42ee3 added spell cooldownDuration and more localization 2021-01-09 18:25:30 +01:00
090aeab75f added type definitions and translations for spells 2021-01-09 14:26:48 +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
f8e1f32439 added language item
- added to database and localization definitions
- added sheet
- added to talents overview
2021-01-08 23:23:53 +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
149096e985 add racial abilites as item type 2021-01-07 20:20:40 +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
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
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
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
29d34daa9a added equipped and owner to item sheet
Additions:
- added equipped checkbox to item sheet
- added item owner to item properties list
- added some translations
- added some TODOs

Changes:
- item properties owner, equipped, quantity, storageLocation
  are only shown if item is owned by an actor
- moved item properties price and availability
  to details tab
- shortened ItemEquipped translation
- added item.actor and item.isOwned property values
  to data returned from DS4ItemSheet.getData
  (properties aren't accessible in Handlebars)
2020-12-31 01:17:52 +01:00
f2724a13a1 Merge branch 'master' into 004_equipment_tracking 2020-12-29 23:09:16 +01:00
082cd03b71 improve effects type checking 2020-12-29 00:33:43 +01:00
e0d8e42812 changed availability options to include "unset"
Additions:
- item availability "unset" (with localization)

Changes:
- item availability "none" -> "nowhere"

Fixes:
- fixed wrong default item availability in template.json
2020-12-28 21:44:47 +01:00
123c56a572 added storageLocation to item type definition 2020-12-28 20:01:58 +01:00
5a002b4cb4 Re-add todo. 2020-12-28 19:30:38 +01:00
1ef66a2023 Create types for items. 2020-12-28 18:24:13 +01:00
a84df2d80b Fix class name on jquery. 2020-12-28 17:44:30 +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