Commit graph

168 commits

Author SHA1 Message Date
3867a23c2d Make item list a grid for items and spells 2021-02-24 04:52:32 +01:00
516c68d4af Remove equipped flag from all loot items 2021-02-21 18:53:46 +01:00
343a888b68 Rename loot and equipment 2021-02-21 03:40:54 +01:00
0fd9622e2d Make some small improvements to actor sheets 2021-02-20 22:41:33 +01:00
2db1dae4c2 Fix typo 2021-02-20 02:15:28 +01:00
d31c9ac24b Fix saving scroll position in actor sheets 2021-02-20 02:12:34 +01:00
2a10bfacdb Fixup 2021-02-19 18:10:26 +01:00
9eb9d01b59 Add HP to creature sheet 2021-02-19 18:08:27 +01:00
1bb689771b Make it possible to edit / view hit points in actor sheet 2021-02-19 13:55:38 +01:00
1e349a3b34 Readd newlines at EOF 2021-02-16 23:33:21 +01:00
9104237261 Add tooltips for attributes, traits, and combat values 2021-02-16 23:23:18 +01:00
d5db788c31 Do some cleanup 2021-02-07 11:51:36 +01:00
972c3a7701 Merge branch 'master' into correctly-pass-rollMode-parameter 2021-01-26 21:14:40 +01:00
f7575da47a Merge branch 'master' into 065-simplify-localization 2021-01-26 20:54:36 +01:00
f511762365 Apply 1 suggestion(s) to 1 file(s) 2021-01-26 20:30:53 +01:00
62ab89f83b moved icon mappings in CONFIG.DS4.icons 2021-01-24 17:56:32 +01:00
d831f376e1 moved localization mappings in CONFIG.DS4.i18nKeys
- moved all mappings in CONFIG.DS4 that belong to localization
  into common parent CONFIG.DS4.i18nKeys
- adapted logic in ds4.ts to not overwrite entries in
   CONFIG.DS4.i18nKeys
- adapted calls to config in templates
2021-01-24 17:55:14 +01:00
a5d91eca71 localized edit & delete item buttons 2021-01-24 17:45:39 +01:00
3ba5c0d640 localized effect control buttons 2021-01-24 17:40:08 +01:00
867c417737 removed unnecessary partial arg in char sheet
The argument was accidentally introduced before.
2021-01-24 16:11:59 +01:00
159f5b8529 make it possible to pass rollMode to createCheckRoll 2021-01-24 15:51:47 +01:00
0b1c342ecf select text of input fields when focused
- the content of input fields of relevant sheets and dialogs
  are now selected upon focus
- autofocus the Gamemaster roll modifier in the roll dialog
2021-01-24 13:11:08 +01:00
a8158894dd added thin space between value and unit in spells 2021-01-24 11:06:07 +01:00
b1e7f61ed5 changed char special characteristics to textarea 2021-01-24 01:20:55 +01:00
c13ebb0b76 add buttons in overviews now on bottom 2021-01-23 23:44:49 +01:00
e385159f29 readd newline at eof 2021-01-19 03:33:59 +01:00
ecfbe9fa2a automatically calculate base combat values 2021-01-19 03:31:40 +01:00
5f8848ede8 Merge remote-tracking branch 'origin/master' into 051-fixSpellProperties 2021-01-18 20:12:49 +01:00
dee56f12ec remove currency from creature sheet 2021-01-18 19:59:25 +01:00
e89c87f0c1 Merge branch 'master' into 10-implement-money 2021-01-18 19:48:33 +01:00
e9adbd3c3b Merge remote-tracking branch 'origin/master' into 037-actor-type-creature 2021-01-18 19:12:46 +01:00
7e4c5059ca address code review comments 2021-01-18 19:11:13 +01:00
4c902500c9 unit values only displayed if given 2021-01-16 23:47:05 +01:00
1bc8fcab65 using label for currency types 2021-01-16 17:59:56 +01:00
25755385c0 Add accessibility. 2021-01-16 15:16:40 +01:00
03287b3b98 modify ui 2021-01-16 14:59:54 +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
7ada67b7c3 Merge master 2021-01-13 18:32:47 +01:00
d6ddad67cc Implement localization (en only). 2021-01-13 18:02:22 +01:00
9ea353101f rename talents tab to talents-abilities 2021-01-13 17:23:06 +01:00
e36f30a787 Add special abilities to creature sheet 2021-01-13 17:20:25 +01:00
c422635d66 add special creature ability as item type 2021-01-11 00:55:49 +01:00
516c04c8de First proper parsing without much "nice-ity". 2021-01-10 21:03:11 +01:00
c10ab44ea9 modifications 2021-01-10 20:40:26 +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
17d0213e62 add basic creature sheet 2021-01-10 02:05:30 +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
884327b156 added spell tab and sorted tabs 2021-01-09 23:39:35 +01:00
6820ce7c00 Add creature actor to config, i18n, template.json, types 2021-01-09 22:51:46 +01:00
7d04ad2309 added spell sheet; reverted side-prop style change 2021-01-09 18:26:17 +01:00
a303296828 description and body templ accept partial-block 2021-01-09 18:23:25 +01:00
dc2d099565 implemented dynamic headers of item lists 2021-01-09 01:11:55 +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
1011b85067 moved redundant item sheet header into partial 2021-01-08 23:32:35 +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
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
149096e985 add racial abilites as item type 2021-01-07 20:20:40 +01:00
714efeb4ab prevent error when trying to manage active effects on an owned item 2021-01-07 11:55:54 +01:00
b582b44f20 Merge branch 'master' into 014_track_talents 2021-01-07 00:00:36 +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
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
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
f2f40a8e89 make some input fiels accept only number 2021-01-04 22:12:19 +01:00
f8deca4cd4 add culture and save space with base infos and progression infos 2021-01-04 21:51:58 +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
9fba2d1385 Merge remote-tracking branch 'origin/master' into simplify-core-values 2021-01-04 20:29:09 +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
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
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
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
f52a491f73 swapped owner and equipped in item desc 2021-01-01 21:24:13 +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
5d83e26e81 Merge branch 'master' into equip-items-in-character-sheet 2020-12-31 16:52:20 +01:00
c2c0b63b9c Merge branch 'master' into 012_equipped_flag 2020-12-31 15:07:11 +01:00
fec7a2a735 fix typo 2020-12-31 12:22:15 +01:00
6fac2c597f make equip icon for items clickable in item list in character sheet 2020-12-31 12:10:59 +01:00
445febf478 localized "not owned" hint 2020-12-31 01:18:50 +01:00
29d34daa9a added equipped and owner to item sheet
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)
2020-12-31 01:17:52 +01:00
0d2af1ae00 Add combat values to character sheet 2020-12-31 00:32:17 +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
d45917c414 remove unnecessary comment 2020-12-30 14:46:08 +01:00
9da168afa6 abbr for armor type&material in item overview
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
2020-12-30 01:03:06 +01:00
0b93f5ff9e replaced attack type str with icons in char sheet 2020-12-30 00:01:41 +01:00
1ed54dccff replaced " by ' in HBS localize arguments 2020-12-29 23:58:45 +01:00