Commit graph

31 commits

Author SHA1 Message Date
b06396c141 Review comments:
- Error prefix on localization key
 - Different name for Roll dialog title
 - Remove obsolete todos
 - Add some defaults to make args optional
 - Change return types of promises and term generators
2021-01-15 20:46:26 +01:00
04bfe61f3f Update localization, add docs. 2021-01-13 18:56:19 +01:00
d6ddad67cc Implement localization (en only). 2021-01-13 18:02:22 +01:00
2d809c955b Make cancellable withour exception 2021-01-13 17:11:07 +01:00
516c04c8de First proper parsing without much "nice-ity". 2021-01-10 21:03:11 +01:00
a19a996d1d Display (only!) selection options to the user. 2021-01-10 16:40:11 +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
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
a5e240ab75 Localize Error Messages. 2021-01-08 23:31:42 +01:00
22f53e5420 Allow multiple dice and error check. 2021-01-08 23:18:01 +01:00
3dca6a5ae4 Implement CTN as modifier. 2021-01-08 21:07:15 +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
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
e2a42aee4b Add docs, type clarifications. 2021-01-04 21:21:06 +01:00
fc88ce6c52 Rename Test to check, etc., restructure calculation code. 2021-01-04 19:38:26 +01:00
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
aaa10d7469 Add slaying dice behaviour. 2021-01-02 16:40:30 +01:00
55beeb92c9 Implement swapping edge case, restructure sources. 2021-01-02 16:12:16 +01:00
00f7e30b41 Fix option parsing for rolls. 2021-01-02 13:54:59 +01:00
75301b2c56 Bound to fail: Add slaying dice options and tests, no impl. 2021-01-02 13:16:08 +01:00
6b18e720a1 Additional tests and features as per Request. 2020-12-31 02:27:21 +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
8d274ed830 Ruhu, Cleanups! 2020-12-30 21:50: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