Commit graph

616 commits

Author SHA1 Message Date
Johannes Loher
daeb9fc703 Merge branch 'master' into 003-add-character-profile 2021-01-06 14:33:46 +01:00
Gesina Schwalbe
3ba5efb8a7 fixed wrong positioning of effects tab content 2021-01-06 14:19:18 +01:00
Gesina Schwalbe
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
Gesina Schwalbe
98f31d9e8c renamed talent property from talentRank to rank 2021-01-06 11:52:11 +01:00
Gesina Schwalbe
17b5eee902 Apply 1 suggestion(s) to 1 file(s) 2021-01-06 11:36:06 +01:00
Gesina Schwalbe
c98c64de1e Apply 1 suggestion(s) to 1 file(s) 2021-01-06 11:35:56 +01:00
Gesina Schwalbe
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
Johannes Loher
6d02f1623a reference a version tag in the download url 2021-01-06 01:30:21 +01:00
Gesina Schwalbe
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
Johannes Loher
2e3718a409 Merge branch 'master' into 003-add-character-profile 2021-01-06 01:17:37 +01:00
Johannes Loher
74be1d4e13 put release artifacts in ds4 directory 2021-01-06 00:59:22 +01:00
Johannes Loher
9de78b4940 small style fixes 2021-01-06 00:02:30 +01:00
Johannes Loher
f2f40a8e89 make some input fiels accept only number 2021-01-04 22:12:19 +01:00
Johannes Loher
6ba1032a12 Merge remote-tracking branch 'origin/master' into 003-add-character-profile 2021-01-04 21:52:26 +01:00
Johannes Loher
f8deca4cd4 add culture and save space with base infos and progression infos 2021-01-04 21:51:58 +01:00
Oliver Rümpelein
1af51b3917 Merge remote-tracking branch 'origin/master' into 013-rollLibRefinements 2021-01-04 21:21:54 +01:00
Oliver Rümpelein
e2a42aee4b Add docs, type clarifications. 2021-01-04 21:21:06 +01:00
Johannes Loher
520aab8b72 cleanup profile 2021-01-04 20:33:37 +01:00
Johannes Loher
2cb0411288 Add basic form of editable profile fields to profile tab 2021-01-04 20:33:37 +01:00
Johannes Loher
98ce35f831 Add dummy profile tab to character sheet 2021-01-04 20:33:35 +01:00
Johannes Loher
c91b8956f6 add data for profile info 2021-01-04 20:32:56 +01:00
Johannes Loher
9fba2d1385 Merge remote-tracking branch 'origin/master' into simplify-core-values 2021-01-04 20:29:09 +01:00
Johannes Loher
0db345c7de extract 26px line height for inputs to variable 2021-01-04 20:28:33 +01:00
Oliver Rümpelein
fc88ce6c52 Rename Test to check, etc., restructure calculation code. 2021-01-04 19:38:26 +01:00
Johannes Loher
7cb6080808 extract and simplify combat values to own component 2021-01-04 01:11:05 +01:00
Johannes Loher
6a12ba3938 extract and simplify attributes and traits 2021-01-04 00:55:44 +01:00
Gesina Schwalbe
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
Gesina Schwalbe
ec404624c7 fixed type of HTML property name in _onItemChange 2021-01-03 22:40:01 +01:00
Gesina Schwalbe
944907deb7 moved input el value retrieval to helper func 2021-01-03 22:26:36 +01:00
Gesina Schwalbe
e2e9bca5fd fixed _onItem... handle param types in docstrings 2021-01-03 21:54:42 +01:00
Gesina Schwalbe
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
Gesina Schwalbe
4e60687b2b unified class specifier in HTML elements
- now all class=... is always first
- flex attributes are first in class specifier
- marked armor type image as item-image class
2021-01-03 21:24:32 +01:00
Gesina Schwalbe
fb780ae4c2 Merge branch 'master' into equip-items-in-character-sheet
now using cleaned up template
2021-01-03 21:14:11 +01:00
Johannes Loher
0721555c91 Merge branch 'adjust-licensing' into 'master'
adjust licensing

See merge request dungeonslayers/ds4!13
2021-01-03 16:54:36 +01:00
Johannes Loher
cc9a133ebe extract path to official assets in scss variable 2021-01-03 16:52:51 +01:00
Oliver Rümpelein
c26e4bab9f Changes as per review.
Missing:
 - Open discussion on "test value" renames
 - docs
 - open discussion on last-die-handling
2021-01-03 15:08:38 +01:00
Gesina Schwalbe
c9b41e2d3f renamed item list templates
More precise names for:
- item overview list template for actor sheet
- inline templates in item overview list template
2021-01-03 00:08:21 +01:00
Oliver Rümpelein
aaa10d7469 Add slaying dice behaviour. 2021-01-02 16:40:30 +01:00
Oliver Rümpelein
55beeb92c9 Implement swapping edge case, restructure sources. 2021-01-02 16:12:16 +01:00
Oliver Rümpelein
00f7e30b41 Fix option parsing for rolls. 2021-01-02 13:54:59 +01:00
Oliver Rümpelein
75301b2c56 Bound to fail: Add slaying dice options and tests, no impl. 2021-01-02 13:16:08 +01:00
Gesina Schwalbe
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
Gesina Schwalbe
f52a491f73 swapped owner and equipped in item desc 2021-01-01 21:24:13 +01:00
Gesina Schwalbe
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
Gesina Schwalbe
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
Gesina Schwalbe
5d83e26e81 Merge branch 'master' into equip-items-in-character-sheet 2020-12-31 16:52:20 +01:00
Gesina Schwalbe
80e6fd26ae Apply 1 suggestion(s) to 1 file(s) 2020-12-31 16:35:41 +01:00
Gesina Schwalbe
c2c0b63b9c Merge branch 'master' into 012_equipped_flag 2020-12-31 15:07:11 +01:00
Johannes Loher
fec7a2a735 fix typo 2020-12-31 12:22:15 +01:00
Johannes Loher
62e96641b9 remove unnecessary imports 2020-12-31 12:21:24 +01:00