Commit graph

69 commits

Author SHA1 Message Date
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
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
80e6fd26ae Apply 1 suggestion(s) to 1 file(s) 2020-12-31 16:35:41 +01:00
c2c0b63b9c Merge branch 'master' into 012_equipped_flag 2020-12-31 15:07:11 +01:00
6b18e720a1 Additional tests and features as per Request. 2020-12-31 02:27:21 +01:00
bf39f35504 Merge remote-tracking branch 'origin/master' into 007-rollsLib 2020-12-31 01:36:00 +01:00
9cd430a229 improve scss of character values 2020-12-31 01:33: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
b569e5488e Add test for multiple rolls with min/max modifiers 2020-12-31 00:52:59 +01:00
c315742412 Add tests for standard mutli dice rolls. 2020-12-31 00:47:31 +01:00
0d2af1ae00 Add combat values to character sheet 2020-12-31 00:32:17 +01:00
dcf60ef59e Merge remote-tracking branch 'origin/master' into 007-rollsLib 2020-12-30 23:57:00 +01:00
b3c89b4d32 Add missing cases for test <20. 2020-12-30 23:03:08 +01:00
2e7197a0a2 add auto formatting for .scss and .json files 2020-12-30 23:00:06 +01:00
71a82e94a7 Merge remote-tracking branch 'origin/master' into 007-rollsLib 2020-12-30 22:20:51 +01:00
8d274ed830 Ruhu, Cleanups! 2020-12-30 21:50:12 +01:00
b56d58dd52 Apply 1 suggestion(s) to 1 file(s) 2020-12-30 21:34:12 +01:00
8acd081384 Apply 1 suggestion(s) to 1 file(s) 2020-12-30 21:34:09 +01:00
e0b65ca061 Make tests and implementation interact. 2020-12-30 21:28:22 +01:00
fd5bad3c3e add attributes and traits to character sheet 2020-12-30 19:39:16 +01:00
7800f0af8f Add recommendet plugins, fix lint stuff. 2020-12-30 17:50:01 +01:00
5d5c7efce0 add original icons with transparency 2020-12-30 15:28:22 +01:00
0002493379 fix typo 2020-12-30 15:03:24 +01:00
e7219ab81e add base info to character sheet 2020-12-30 15:02:21 +01:00
59fb033db8 adjust character data to consist of basic character data 2020-12-30 15:01:17 +01:00
d45917c414 remove unnecessary comment 2020-12-30 14:46:08 +01:00
94430ab899 removed border from item icons 2020-12-30 01:06:21 +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
f2724a13a1 Merge branch 'master' into 004_equipment_tracking 2020-12-29 23:09:16 +01:00
767e46b490 removed whitespace 2020-12-29 23:03:11 +01:00
911b044edb changed Action to UserInteraction in localization 2020-12-29 23:01:25 +01:00
e1248f937b added tooltips for abbr in item list heads 2020-12-29 22:36:27 +01:00
3b92242eb7 added equipment list to char sheet 2020-12-29 22:02:43 +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
3184de0e7a added trinket list to char sheet 2020-12-29 21:28:36 +01:00
b71f229e16 proper formatting for items list titles 2020-12-29 21:27:21 +01:00
d39194c4fa added shield list in char sheet 2020-12-29 20:37:30 +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
2ae005f432 added localization to weapon overview 2020-12-29 16:29:44 +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
082cd03b71 improve effects type checking 2020-12-29 00:33:43 +01:00
10869a9648 fixed typo 2020-12-28 21:50:45 +01:00