Commit graph

102 commits

Author SHA1 Message Date
622253f0da Make some small improvements in actor sheets 2021-02-20 01:46:40 +01:00
9104237261 Add tooltips for attributes, traits, and combat values 2021-02-16 23:23:18 +01:00
55a0cbe11a add compendium with languages and scripts from the SRD 2021-01-21 18:07:08 +01:00
c5a5a7d5a2 Merge remote-tracking branch 'origin/master' into add-special-creature-ability-compendium 2021-01-21 01:29:09 +01:00
ec10a26360 Use uppercase for woodstamp font 2021-01-20 22:22:19 +01:00
fe84927a28 add compendium with special creature abilities 2021-01-20 00:42:58 +01:00
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
6ebb556f33 fix owner display in side properties 2021-01-18 21:15:11 +01:00
66592a92d6 Shrink header info. 2021-01-18 20:51:08 +01:00
25755385c0 Add accessibility. 2021-01-16 15:16:40 +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
7d04ad2309 added spell sheet; reverted side-prop style change 2021-01-09 18:26:17 +01:00
149096e985 add racial abilites as item type 2021-01-07 20:20:40 +01:00
18a475dd8f fix height of editor in item sheets 2021-01-07 04:12:20 +01:00
b582b44f20 Merge branch 'master' into 014_track_talents 2021-01-07 00:00:36 +01:00
1f6d8b7980 cleanup 2021-01-06 23:51:08 +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
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
9de78b4940 small style fixes 2021-01-06 00:02:30 +01:00
f8deca4cd4 add culture and save space with base infos and progression infos 2021-01-04 21:51:58 +01:00
9fba2d1385 Merge remote-tracking branch 'origin/master' into simplify-core-values 2021-01-04 20:29:09 +01:00
0db345c7de extract 26px line height for inputs to variable 2021-01-04 20:28:33 +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
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
d9eef7592f fixed some issues with the flexbox approach
- had to remove border, padding, and margin from input boxes
- centered images
- fixed y-overflow of description and images by restricting height
2021-01-03 21:50:16 +01:00
fb780ae4c2 Merge branch 'master' into equip-items-in-character-sheet
now using cleaned up template
2021-01-03 21:14:11 +01:00
0721555c91 Merge branch 'adjust-licensing' into 'master'
adjust licensing

See merge request dungeonslayers/ds4!13
2021-01-03 16:54:36 +01:00
cc9a133ebe extract path to official assets in scss variable 2021-01-03 16:52:51 +01:00
6fe95d10db refactored items list to use handlebars partials
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
2021-01-02 01:01:41 +01:00
0e282b4c6e some minor improvements to side-properties style
- 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)
2021-01-01 21:21:22 +01:00
d8423ce364 data binding for owned item properties
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
2021-01-01 19:26:52 +01:00
960b5a950a adjust licensing 2020-12-31 05:02:38 +01:00
9cd430a229 improve scss of character values 2020-12-31 01:33:59 +01:00
0d2af1ae00 Add combat values to character sheet 2020-12-31 00:32:17 +01:00
2e7197a0a2 add auto formatting for .scss and .json files 2020-12-30 23:00:06 +01:00
fd5bad3c3e add attributes and traits to character sheet 2020-12-30 19:39:16 +01:00
e7219ab81e add base info to character sheet 2020-12-30 15:02:21 +01:00
94430ab899 removed border from item icons 2020-12-30 01:06:21 +01:00
4f5e6a5ebc centering of num item values in char sheet
Changes:
- number values of items in the items overview of a char sheet
  are now horizontally centered
- description content is now vertically correctly aligned
2020-12-29 22:01:58 +01:00
b71f229e16 proper formatting for items list titles 2020-12-29 21:27:21 +01:00
4e37991b0f made char sheet body scrollable 2020-12-29 20:36:54 +01:00
99d2f92b41 added armor list to items tab in char sheet
Additions:
- added armor list to items tab in char sheet
- added localization
- added CSS class for flex 0.5
2020-12-29 19:07:20 +01:00
48d8d6e44d proper localization of item vals in char sheet
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)
2020-12-29 19:06:17 +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
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
4f6a9b7e73 format files 2020-12-23 17:14:02 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00