- added :invalid definition to side-properties CSS
- defined common color for invalidity
- now using disabled input for automatically calculated properties
- 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
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
Additions:
- added flexnowrap CSS class -> no strange wrapping of item lines
Changes:
- reduced most of the non-maintainable HTML-code repitition
- made item list entries as flat as possible
- checkboxes now properly left-aligned
- adaptive width of side-properties: take minimum width now
- side properties are aligned now in any case (each is a grid)
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
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)