Commit graph

37 commits

Author SHA1 Message Date
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
3ba5c0d640 localized effect control buttons 2021-01-24 17:40:08 +01:00
5f8848ede8 Merge remote-tracking branch 'origin/master' into 051-fixSpellProperties 2021-01-18 20:12:49 +01:00
7e4c5059ca address code review comments 2021-01-18 19:11:13 +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
c422635d66 add special creature ability as item type 2021-01-11 00:55:49 +01:00
17d0213e62 add basic creature sheet 2021-01-10 02:05:30 +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
884327b156 added spell tab and sorted tabs 2021-01-09 23:39:35 +01:00
7d04ad2309 added spell sheet; reverted side-prop style change 2021-01-09 18:26:17 +01:00
a303296828 description and body templ accept partial-block 2021-01-09 18:23:25 +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
1011b85067 moved redundant item sheet header into partial 2021-01-08 23:32:35 +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
16ea39f81d remove redundant effect classes 2021-01-07 23:59:50 +01:00
149096e985 add racial abilites as item type 2021-01-07 20:20:40 +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
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
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
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
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
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
f52a491f73 swapped owner and equipped in item desc 2021-01-01 21:24:13 +01:00
445febf478 localized "not owned" hint 2020-12-31 01:18:50 +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
3ebd8cd177 Merge branch 'master' into 004_equipment_tracking 2020-12-29 16:14:51 +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
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
7986e91ab7 added storageLocation property to items
Additions:
- added storageLocation property to classes
- added storageLocation field to template
- added localization

Changes:
- changed default values for item string properties to "-"

Fixes:
- fixed CSS side-property flex properties
  such that new text field is properly shown
- fixed for="..." setting for item's data.price label
2020-12-28 17:54:33 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00