tpmkms_4wp 7.12.8 → 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/common/animals.instance.json +192 -406
  2. package/common/animals.js +1 -1
  3. package/common/avatar.js +7 -5
  4. package/common/characters.js +12 -6
  5. package/common/{pipboyTemplate.instance.json → colors.instance.json} +13784 -8900
  6. package/common/colors.js +71 -0
  7. package/common/colors.test.json +4860 -0
  8. package/common/concept.js +2 -2
  9. package/common/crew.instance.json +3945 -3636
  10. package/common/crew.js +5 -3
  11. package/common/currency.js +0 -2
  12. package/common/dialogues.js +152 -20
  13. package/common/dialogues.test.json +1053 -33
  14. package/common/dimension.instance.json +750 -86
  15. package/common/dimension.js +15 -7
  16. package/common/dimension.test.json +289 -312
  17. package/common/edible.instance.json +446 -578
  18. package/common/edible.js +1 -1
  19. package/common/emotions.instance.json +67 -39
  20. package/common/emotions.js +1 -1
  21. package/common/fastfood.instance.json +1769 -2136
  22. package/common/fastfood.js +2 -2
  23. package/common/fastfood.test.json +7941 -3647
  24. package/common/formulas.instance.json +996 -0
  25. package/common/formulas.js +19 -6
  26. package/common/formulas.test.json +504 -2896
  27. package/common/gdefaults.js +2 -0
  28. package/common/help.js +7 -2
  29. package/common/help.test.json +18 -10
  30. package/common/helpers/concept.js +29 -9
  31. package/common/helpers/dialogues.js +17 -1
  32. package/common/helpers/formulas.js +0 -14
  33. package/common/helpers/meta.js +0 -1
  34. package/common/helpers/properties.js +6 -13
  35. package/common/helpers.js +5 -0
  36. package/common/javascript.js +8 -6
  37. package/common/kirk.instance.json +5 -1
  38. package/common/kirk.js +1 -1
  39. package/common/length.instance.json +417 -811
  40. package/common/length.js +1 -1
  41. package/common/math.instance.json +1938 -1
  42. package/common/math.js +17 -5
  43. package/common/meta.instance.json +1 -1
  44. package/common/meta.js +33 -10
  45. package/common/numbers.js +28 -24
  46. package/common/ordering.instance.json +98 -138
  47. package/common/ordering.js +1 -1
  48. package/common/people.instance.json +68 -121
  49. package/common/people.js +1 -1
  50. package/common/pipboy.instance.json +23411 -1076
  51. package/common/pipboy.js +31 -4
  52. package/common/pipboy.test.json +13 -9
  53. package/common/pokemon.instance.json +172 -223
  54. package/common/pokemon.js +1 -1
  55. package/common/pressure.instance.json +131 -81
  56. package/common/pressure.js +1 -1
  57. package/common/properties.instance.json +25 -49
  58. package/common/properties.js +20 -15
  59. package/common/properties.test.json +17605 -4030
  60. package/common/punctuation.js +8 -0
  61. package/common/punctuation.test.json +233 -5
  62. package/common/reports.instance.json +33 -65
  63. package/common/reports.js +9 -9
  64. package/common/scorekeeper.instance.json +1 -1
  65. package/common/scorekeeper.js +9 -7
  66. package/common/sizeable.js +7 -2
  67. package/common/spock.instance.json +5 -1
  68. package/common/spock.js +1 -1
  69. package/common/stm.js +16 -5
  70. package/common/tell.js +4 -2
  71. package/common/temperature.instance.json +142 -252
  72. package/common/temperature.js +1 -1
  73. package/common/testing.js +0 -1
  74. package/common/time.js +36 -20
  75. package/common/time.test.json +66 -44
  76. package/common/tokenize.js +47 -0
  77. package/common/tokenize.test.json +87 -0
  78. package/common/ui.instance.json +13 -1
  79. package/common/ui.js +0 -1
  80. package/common/weight.instance.json +335 -228
  81. package/common/weight.js +1 -1
  82. package/common/weight.test.json +242 -238
  83. package/main.js +6 -8
  84. package/package.json +10 -18
  85. package/common/dimensionTemplate.instance.json +0 -582
  86. package/common/dimensionTemplate.js +0 -35
  87. package/common/dimensionTemplate.test.json +0 -2
  88. package/common/formulasTemplate.instance.json +0 -483
  89. package/common/formulasTemplate.js +0 -30
  90. package/common/formulasTemplate.test.json +0 -2
  91. package/common/mathTemplate.instance.json +0 -1635
  92. package/common/mathTemplate.js +0 -32
  93. package/common/mathTemplate.test.json +0 -1422
  94. package/common/pipboyTemplate.js +0 -48
  95. package/common/pipboyTemplate.test.json +0 -2
@@ -1,5 +1,5 @@
1
1
  {
2
- "queries": [
2
+ "configs": [
3
3
  "wants is xfx between wanter and wantee",
4
4
  "if x likes y or x loves y then x wants y"
5
5
  ],
@@ -50,6 +50,10 @@
50
50
  "dislike",
51
51
  "orAble"
52
52
  ],
53
+ [
54
+ "doubleQuote",
55
+ "queryable"
56
+ ],
53
57
  [
54
58
  "hate",
55
59
  "canBeDoQuestion"
@@ -517,15 +521,15 @@
517
521
  },
518
522
  "one": {
519
523
  "number": "one",
524
+ "value": "wants",
525
+ "unknown": true,
526
+ "text": "wants",
520
527
  "marker": "unknown",
528
+ "word": "wants",
521
529
  "range": {
522
530
  "start": 0,
523
531
  "end": 37
524
532
  },
525
- "word": "wants",
526
- "text": "wants",
527
- "value": "wants",
528
- "unknown": true,
529
533
  "dead": true,
530
534
  "types": [
531
535
  "unknown"
@@ -563,28 +567,28 @@
563
567
  "isList": true,
564
568
  "value": [
565
569
  {
570
+ "value": "wanter",
571
+ "unknown": true,
572
+ "text": "wanter",
566
573
  "marker": "type",
574
+ "word": "wanter",
567
575
  "range": {
568
576
  "start": 21,
569
577
  "end": 26
570
578
  },
571
- "word": "wanter",
572
- "text": "wanter",
573
- "value": "wanter",
574
- "unknown": true,
575
579
  "dead": true,
576
580
  "level": 1
577
581
  },
578
582
  {
583
+ "value": "wantee",
584
+ "unknown": true,
585
+ "text": "wantee",
579
586
  "marker": "type",
587
+ "word": "wantee",
580
588
  "range": {
581
589
  "start": 32,
582
590
  "end": 37
583
591
  },
584
- "word": "wantee",
585
- "text": "wantee",
586
- "value": "wantee",
587
- "unknown": true,
588
592
  "dead": true,
589
593
  "level": 1
590
594
  }
@@ -639,32 +643,6 @@
639
643
  0
640
644
  ]
641
645
  ],
642
- [
643
- [
644
- "between",
645
- 0
646
- ],
647
- [
648
- "is",
649
- 0
650
- ],
651
- [
652
- "list",
653
- 0
654
- ],
655
- [
656
- "unknown",
657
- 0
658
- ],
659
- [
660
- "unknown",
661
- 1
662
- ],
663
- [
664
- "xfx",
665
- 0
666
- ]
667
- ],
668
646
  [
669
647
  [
670
648
  "between",
@@ -745,24 +723,6 @@
745
723
  1
746
724
  ]
747
725
  ],
748
- [
749
- [
750
- "between",
751
- 0
752
- ],
753
- [
754
- "is",
755
- 0
756
- ],
757
- [
758
- "unknown",
759
- 0
760
- ],
761
- [
762
- "xfx",
763
- 0
764
- ]
765
- ],
766
726
  [
767
727
  [
768
728
  "between",
@@ -840,6 +800,10 @@
840
800
  "dislike",
841
801
  "orAble"
842
802
  ],
803
+ [
804
+ "doubleQuote",
805
+ "queryable"
806
+ ],
843
807
  [
844
808
  "hate",
845
809
  "canBeDoQuestion"
@@ -1650,15 +1614,15 @@
1650
1614
  "text": "ikes y"
1651
1615
  },
1652
1616
  "liker": {
1617
+ "value": "x",
1618
+ "unknown": true,
1619
+ "text": "x",
1653
1620
  "marker": "unknown",
1621
+ "word": "x",
1654
1622
  "range": {
1655
1623
  "start": 3,
1656
1624
  "end": 3
1657
1625
  },
1658
- "word": "x",
1659
- "text": "x",
1660
- "value": "x",
1661
- "unknown": true,
1662
1626
  "dead": true,
1663
1627
  "types": [
1664
1628
  "unknown"
@@ -1666,15 +1630,15 @@
1666
1630
  "level": 1
1667
1631
  },
1668
1632
  "likee": {
1633
+ "value": "y",
1634
+ "unknown": true,
1635
+ "text": "y",
1669
1636
  "marker": "unknown",
1637
+ "word": "y",
1670
1638
  "range": {
1671
1639
  "start": 11,
1672
1640
  "end": 11
1673
1641
  },
1674
- "word": "y",
1675
- "text": "y",
1676
- "value": "y",
1677
- "unknown": true,
1678
1642
  "dead": true,
1679
1643
  "types": [
1680
1644
  "unknown"
@@ -1715,15 +1679,15 @@
1715
1679
  "text": ""
1716
1680
  },
1717
1681
  "lover": {
1682
+ "value": "x",
1683
+ "unknown": true,
1684
+ "text": "x",
1718
1685
  "marker": "unknown",
1686
+ "word": "x",
1719
1687
  "range": {
1720
1688
  "start": 16,
1721
1689
  "end": 16
1722
1690
  },
1723
- "word": "x",
1724
- "text": "x",
1725
- "value": "x",
1726
- "unknown": true,
1727
1691
  "dead": true,
1728
1692
  "types": [
1729
1693
  "unknown"
@@ -1731,15 +1695,15 @@
1731
1695
  "level": 1
1732
1696
  },
1733
1697
  "lovee": {
1698
+ "value": "y",
1699
+ "unknown": true,
1700
+ "text": "y",
1734
1701
  "marker": "unknown",
1702
+ "word": "y",
1735
1703
  "range": {
1736
1704
  "start": 24,
1737
1705
  "end": 24
1738
1706
  },
1739
- "word": "y",
1740
- "text": "y",
1741
- "value": "y",
1742
- "unknown": true,
1743
1707
  "dead": true,
1744
1708
  "types": [
1745
1709
  "unknown"
@@ -1786,15 +1750,15 @@
1786
1750
  "text": ""
1787
1751
  },
1788
1752
  "wanter": {
1753
+ "value": "x",
1754
+ "unknown": true,
1755
+ "text": "x",
1789
1756
  "marker": "unknown",
1757
+ "word": "x",
1790
1758
  "range": {
1791
1759
  "start": 31,
1792
1760
  "end": 31
1793
1761
  },
1794
- "word": "x",
1795
- "text": "x",
1796
- "value": "x",
1797
- "unknown": true,
1798
1762
  "dead": true,
1799
1763
  "types": [
1800
1764
  "unknown"
@@ -1802,15 +1766,15 @@
1802
1766
  "level": 1
1803
1767
  },
1804
1768
  "wantee": {
1769
+ "value": "y",
1770
+ "unknown": true,
1771
+ "text": "y",
1805
1772
  "marker": "unknown",
1773
+ "word": "y",
1806
1774
  "range": {
1807
1775
  "start": 39,
1808
1776
  "end": 39
1809
1777
  },
1810
- "word": "y",
1811
- "text": "y",
1812
- "value": "y",
1813
- "unknown": true,
1814
1778
  "dead": true,
1815
1779
  "types": [
1816
1780
  "unknown"
@@ -1908,6 +1872,10 @@
1908
1872
  "unknown",
1909
1873
  0
1910
1874
  ],
1875
+ [
1876
+ "unknown",
1877
+ 1
1878
+ ],
1911
1879
  [
1912
1880
  "want",
1913
1881
  0
@@ -1936,7 +1904,7 @@
1936
1904
  ],
1937
1905
  [
1938
1906
  "unknown",
1939
- 1
1907
+ 0
1940
1908
  ],
1941
1909
  [
1942
1910
  "want",
@@ -1950,7 +1918,7 @@
1950
1918
  ],
1951
1919
  [
1952
1920
  "like",
1953
- 1
1921
+ 0
1954
1922
  ],
1955
1923
  [
1956
1924
  "love",
@@ -1984,7 +1952,7 @@
1984
1952
  ],
1985
1953
  [
1986
1954
  "love",
1987
- 1
1955
+ 0
1988
1956
  ],
1989
1957
  [
1990
1958
  "orList",
@@ -2025,8 +1993,12 @@
2025
1993
  0
2026
1994
  ],
2027
1995
  [
2028
- "want",
1996
+ "unknown",
2029
1997
  1
1998
+ ],
1999
+ [
2000
+ "want",
2001
+ 0
2030
2002
  ]
2031
2003
  ],
2032
2004
  [
@@ -2034,6 +2006,10 @@
2034
2006
  "if",
2035
2007
  0
2036
2008
  ],
2009
+ [
2010
+ "like",
2011
+ 1
2012
+ ],
2037
2013
  [
2038
2014
  "love",
2039
2015
  1
@@ -2057,18 +2033,12 @@
2057
2033
  0
2058
2034
  ],
2059
2035
  [
2060
- "orList",
2036
+ "love",
2061
2037
  1
2062
- ]
2063
- ],
2064
- [
2065
- [
2066
- "if",
2067
- 0
2068
2038
  ],
2069
2039
  [
2070
2040
  "orList",
2071
- 1
2041
+ 0
2072
2042
  ],
2073
2043
  [
2074
2044
  "then",
@@ -2085,12 +2055,26 @@
2085
2055
  0
2086
2056
  ],
2087
2057
  [
2088
- "then",
2058
+ "orList",
2059
+ 1
2060
+ ]
2061
+ ],
2062
+ [
2063
+ [
2064
+ "if",
2089
2065
  0
2090
2066
  ],
2091
2067
  [
2092
- "unknown",
2068
+ "orList",
2069
+ 1
2070
+ ],
2071
+ [
2072
+ "then",
2093
2073
  0
2074
+ ],
2075
+ [
2076
+ "want",
2077
+ 1
2094
2078
  ]
2095
2079
  ]
2096
2080
  ],
@@ -2147,10 +2131,6 @@
2147
2131
  "unknown",
2148
2132
  0
2149
2133
  ],
2150
- [
2151
- "unknown",
2152
- 1
2153
- ],
2154
2134
  [
2155
2135
  "xfx",
2156
2136
  0
@@ -2171,11 +2151,7 @@
2171
2151
  ],
2172
2152
  [
2173
2153
  "unknown",
2174
- 0
2175
- ],
2176
- [
2177
- "xfx",
2178
- 0
2154
+ 1
2179
2155
  ]
2180
2156
  ],
2181
2157
  [
@@ -2194,6 +2170,10 @@
2194
2170
  [
2195
2171
  "unknown",
2196
2172
  1
2173
+ ],
2174
+ [
2175
+ "xfx",
2176
+ 0
2197
2177
  ]
2198
2178
  ],
2199
2179
  [
@@ -2207,30 +2187,22 @@
2207
2187
  ],
2208
2188
  [
2209
2189
  "list",
2210
- 0
2190
+ 1
2211
2191
  ],
2212
2192
  [
2213
2193
  "unknown",
2214
2194
  1
2215
- ],
2216
- [
2217
- "xfx",
2218
- 0
2219
2195
  ]
2220
2196
  ],
2221
2197
  [
2222
2198
  [
2223
2199
  "between",
2224
- 0
2200
+ 1
2225
2201
  ],
2226
2202
  [
2227
2203
  "is",
2228
2204
  0
2229
2205
  ],
2230
- [
2231
- "list",
2232
- 1
2233
- ],
2234
2206
  [
2235
2207
  "unknown",
2236
2208
  1
@@ -2238,34 +2210,36 @@
2238
2210
  ],
2239
2211
  [
2240
2212
  [
2241
- "between",
2213
+ "if",
2242
2214
  0
2243
2215
  ],
2244
2216
  [
2245
- "is",
2217
+ "like",
2246
2218
  0
2247
2219
  ],
2248
2220
  [
2249
- "unknown",
2221
+ "love",
2250
2222
  0
2251
2223
  ],
2252
2224
  [
2253
- "xfx",
2225
+ "orList",
2254
2226
  0
2255
- ]
2256
- ],
2257
- [
2227
+ ],
2258
2228
  [
2259
- "between",
2260
- 1
2229
+ "then",
2230
+ 0
2261
2231
  ],
2262
2232
  [
2263
- "is",
2233
+ "unknown",
2264
2234
  0
2265
2235
  ],
2266
2236
  [
2267
2237
  "unknown",
2268
2238
  1
2239
+ ],
2240
+ [
2241
+ "want",
2242
+ 0
2269
2243
  ]
2270
2244
  ],
2271
2245
  [
@@ -2498,20 +2472,6 @@
2498
2472
  1
2499
2473
  ]
2500
2474
  ],
2501
- [
2502
- [
2503
- "if",
2504
- 0
2505
- ],
2506
- [
2507
- "then",
2508
- 0
2509
- ],
2510
- [
2511
- "unknown",
2512
- 0
2513
- ]
2514
- ],
2515
2475
  [
2516
2476
  [
2517
2477
  "is",
@@ -6,7 +6,7 @@ const ordering_instance = require('./ordering.instance.json')
6
6
  const { API } = require('./helpers/ordering')
7
7
 
8
8
  const template ={
9
- "queries": [
9
+ configs: [
10
10
  "wants is xfx between wanter and wantee",
11
11
  // "if a likes or loves b then a wants b",
12
12
  "if x likes y or x loves y then x wants y",