Commit graph

43 commits

Author SHA1 Message Date
6a12ba3938 extract and simplify attributes and traits 2021-01-04 00:55:44 +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
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
c2c0b63b9c Merge branch 'master' into 012_equipped_flag 2020-12-31 15:07:11 +01:00
960b5a950a adjust licensing 2020-12-31 05:02:38 +01:00
6b18e720a1 Additional tests and features as per Request. 2020-12-31 02:27:21 +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
b3c89b4d32 Add missing cases for test <20. 2020-12-30 23:03:08 +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
e0b65ca061 Make tests and implementation interact. 2020-12-30 21:28:22 +01:00
7800f0af8f Add recommendet plugins, fix lint stuff. 2020-12-30 17:50:01 +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
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
f2724a13a1 Merge branch 'master' into 004_equipment_tracking 2020-12-29 23:09:16 +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
082cd03b71 improve effects type checking 2020-12-29 00:33:43 +01:00
10869a9648 fixed typo 2020-12-28 21:50:45 +01:00
e0d8e42812 changed availability options to include "unset"
Additions:
- item availability "unset" (with localization)

Changes:
- item availability "none" -> "nowhere"

Fixes:
- fixed wrong default item availability in template.json
2020-12-28 21:44:47 +01:00
2fc7fb13c8 renamed actor-sheet from .html to correct .hbs 2020-12-28 20:41:39 +01:00
47c45ee87d moved items tab of char sheet into partial 2020-12-28 20:38:02 +01:00
123c56a572 added storageLocation to item type definition 2020-12-28 20:01:58 +01:00
110a523268 Merge branch 'master' into 005_item_editing 2020-12-28 19:55:47 +01:00
5a002b4cb4 Re-add todo. 2020-12-28 19:30:38 +01:00
e7df21426b removed code duplication in item templates
Item templates now all use a common body.
2020-12-28 18:58:01 +01:00
9cf248754c added "Effects" and "Details" tab to all items
Additions:
- partials for effects and details tab with navigation
- loading of partials in main ds4.ts
- add localization

Changes:
- empty "Details" tabs replaced by inclusion of partial
- "Details" tab now displays default message
- Previous "Details" tab of Trinket replaced by "Effects" tab
2020-12-28 18:49:55 +01:00
1ef66a2023 Create types for items. 2020-12-28 18:24:13 +01:00
a84df2d80b Fix class name on jquery. 2020-12-28 17:44:30 +01:00
4d00d8a481 Fix typo in event handler. 2020-12-28 17:38:52 +01:00
9385917edd Update to new data bindings, everythings an interface now. 2020-12-28 17:34:40 +01:00
d9440b27a6 Type-ify Actor. 2020-12-28 15:51:00 +01:00
7a4cb7110b Make DS Ascii Art raw. 2020-12-28 12:46:39 +01:00
2ba687eb14 add eslint and prettier 2020-12-23 18:23:26 +01:00
4f6a9b7e73 format files 2020-12-23 17:14:02 +01:00
bd4c5308bf remove .js extension from imports 2020-12-23 17:05:12 +01:00
d163fd27fe switch to using TypeScript 2020-12-23 16:52:20 +01:00