- 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)
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
Changes:
- number values of items in the items overview of a char sheet
are now horizontally centered
- description content is now vertically correctly aligned
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)
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
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
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