Commit graph

233 commits

Author SHA1 Message Date
c10ab44ea9 modifications 2021-01-10 20:40:26 +01:00
46ec9b0ac8 currency add 2021-01-10 19:33:55 +01:00
45e7400e82 add currency and basic display 2021-01-10 19:32:10 +01:00
a19a996d1d Display (only!) selection options to the user. 2021-01-10 16:40:11 +01:00
fc6cf2ef74 Merge branch 'master' into 037-actor-type-creature 2021-01-10 02:37:43 +01:00
0568afc32b Add localization of actor and item type labels 2021-01-10 02:35:48 +01:00
17d0213e62 add basic creature sheet 2021-01-10 02:05:30 +01:00
Max Tharr
6db1d48033 Add initiative formula 2021-01-10 01:51:11 +01:00
d416c14cbd Merge branch 'master' into 037-actor-type-creature 2021-01-10 00:41:20 +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
18a4e2005a added German translation for spell stuff 2021-01-10 00:05:29 +01:00
c1f77e1a66 Merge branch 'master' into 015-spells 2021-01-09 23:44:48 +01:00
884327b156 added spell tab and sorted tabs 2021-01-09 23:39:35 +01:00
c94ff4a67a Rudimentary docs. 2021-01-09 23:21:57 +01:00
27c0ddbca1 Make factory usable from Macros.
This does not yet include any modal interface.
2021-01-09 23:14:50 +01:00
bc6930675c localize creature parts of config 2021-01-09 22:55:38 +01:00
b01e0417ee add doc strings to new config objects 2021-01-09 22:54:44 +01:00
6820ce7c00 Add creature actor to config, i18n, template.json, types 2021-01-09 22:51:46 +01:00
ed095dcc84 fix actor sheet 2021-01-09 22:30:26 +01:00
349a767de6 Merge remote-tracking branch 'origin/master' into 41-german-translation 2021-01-09 21:54:00 +01:00
54e334cff5 apply review suggestions 2021-01-09 21:41:41 +01:00
57906a42a8 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:34:22 +01:00
c225cae087 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:34:10 +01:00
2af3e6106b Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:34:02 +01:00
e2b7b390a8 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:33:48 +01:00
92d7d2b8bf Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:33:38 +01:00
510e46d96a Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:32:20 +01:00
df7c7efa50 Apply 1 suggestion(s) to 1 file(s) 2021-01-09 21:32:01 +01:00
2f6b89a0e1 use shorter storage location 2021-01-09 20:43:05 +01:00
188eb6c1d2 add german translation 2021-01-09 20:36:34 +01:00
8856c30165 move technical stuff to before_script 2021-01-09 19:01:22 +01:00
7d04ad2309 added spell sheet; reverted side-prop style change 2021-01-09 18:26:17 +01:00
4de9d42ee3 added spell cooldownDuration and more localization 2021-01-09 18:25:30 +01:00
a303296828 description and body templ accept partial-block 2021-01-09 18:23:25 +01:00
4b203375dd wip: create german translation 2021-01-09 16:14:25 +01:00
090aeab75f added type definitions and translations for spells 2021-01-09 14:26:48 +01:00
dc2d099565 implemented dynamic headers of item lists 2021-01-09 01:11:55 +01:00
9d58388c5f Merge branch 'master' into 022-languages 2021-01-09 00:05:36 +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
42868e4a83 Fix review comments. 2021-01-08 23:46:28 +01:00
25119fd9e3 Add very simple docs. 2021-01-08 23:41:23 +01:00
1011b85067 moved redundant item sheet header into partial 2021-01-08 23:32:35 +01:00
a5e240ab75 Localize Error Messages. 2021-01-08 23:31:42 +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
22f53e5420 Allow multiple dice and error check. 2021-01-08 23:18:01 +01:00
9addb66a50 removed redundant field racialAbilities from actor 2021-01-08 22:34:34 +01:00
3dca6a5ae4 Implement CTN as modifier. 2021-01-08 21:07:15 +01:00
c89278992f Merge remote-tracking branch 'origin/master' into 008-chatRollInterface 2021-01-08 18:32:36 +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
52cc441cbc Merge branch 'master' into 021-add-racial-abilities 2021-01-07 22:04:54 +01:00
149096e985 add racial abilites as item type 2021-01-07 20:20:40 +01:00
b361d2da04 make hit points usable in resource bar 2021-01-07 12:47:38 +01:00
7685efa8a6 localize warning 2021-01-07 12:04:25 +01:00
714efeb4ab prevent error when trying to manage active effects on an owned item 2021-01-07 11:55:54 +01:00
18a475dd8f fix height of editor in item sheets 2021-01-07 04:12:20 +01:00
14ffff1985 Fix tests. 2021-01-07 02:33:22 +01:00
1422f28760 Get basic features to work. 2021-01-07 02:26:09 +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
c885d2d405 Implement a custom DS4 "dice" class.
Includes exploding and crit dice modifier, but not tested yet,
as some required types are still missing.
2021-01-06 19:15:56 +01:00
9feaa5216d Make roll executor fir for modifier-approach. 2021-01-06 18:27:22 +01:00
5bd43125f9 Merge branch 'master' into 014_track_talents 2021-01-06 16:34:48 +01:00
177de1a486 extracted item control buttons to own templates
- removed code duplication of inline button templates
  for item and talent overview
2021-01-06 16:29:02 +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
daeb9fc703 Merge branch 'master' into 003-add-character-profile 2021-01-06 14:33:46 +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
17b5eee902 Apply 1 suggestion(s) to 1 file(s) 2021-01-06 11:36:06 +01:00
c98c64de1e Apply 1 suggestion(s) to 1 file(s) 2021-01-06 11:35:56 +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
6d02f1623a reference a version tag in the download url 2021-01-06 01:30:21 +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
2e3718a409 Merge branch 'master' into 003-add-character-profile 2021-01-06 01:17:37 +01:00
74be1d4e13 put release artifacts in ds4 directory 2021-01-06 00:59:22 +01:00
9de78b4940 small style fixes 2021-01-06 00:02:30 +01:00
f2f40a8e89 make some input fiels accept only number 2021-01-04 22:12:19 +01:00
6ba1032a12 Merge remote-tracking branch 'origin/master' into 003-add-character-profile 2021-01-04 21:52:26 +01:00
f8deca4cd4 add culture and save space with base infos and progression infos 2021-01-04 21:51:58 +01:00
1af51b3917 Merge remote-tracking branch 'origin/master' into 013-rollLibRefinements 2021-01-04 21:21:54 +01:00
e2a42aee4b Add docs, type clarifications. 2021-01-04 21:21:06 +01:00
520aab8b72 cleanup profile 2021-01-04 20:33:37 +01:00
2cb0411288 Add basic form of editable profile fields to profile tab 2021-01-04 20:33:37 +01:00
98ce35f831 Add dummy profile tab to character sheet 2021-01-04 20:33:35 +01:00
c91b8956f6 add data for profile info 2021-01-04 20:32:56 +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
fc88ce6c52 Rename Test to check, etc., restructure calculation code. 2021-01-04 19:38:26 +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
ec404624c7 fixed type of HTML property name in _onItemChange 2021-01-03 22:40:01 +01:00
944907deb7 moved input el value retrieval to helper func 2021-01-03 22:26:36 +01:00
e2e9bca5fd fixed _onItem... handle param types in docstrings 2021-01-03 21:54:42 +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
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
fb780ae4c2 Merge branch 'master' into equip-items-in-character-sheet
now using cleaned up template
2021-01-03 21:14:11 +01:00