@maka/maka-cli 5.1.28 → 5.1.30

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 (167) hide show
  1. package/bundle/typescript/package.json +1 -1
  2. package/bundle/typescript/src/commands/_index.d.ts +1 -0
  3. package/bundle/typescript/src/commands/_index.js +1 -1
  4. package/bundle/typescript/src/commands/_index.js.map +1 -1
  5. package/bundle/typescript/src/commands/ai.js +0 -1
  6. package/bundle/typescript/src/commands/ai.js.map +1 -1
  7. package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +12 -6
  8. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +1 -1
  9. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +1 -1
  10. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +1 -2
  11. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +2 -1
  12. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +1 -1
  13. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +1 -2
  14. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +1 -0
  15. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -1
  16. package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +1 -2
  17. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +3 -0
  18. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -1
  19. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +1 -2
  20. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +1 -0
  21. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -1
  22. package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +1 -2
  23. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +2 -1
  24. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -1
  25. package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +3 -4
  26. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +5 -3
  27. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -1
  28. package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +1 -2
  29. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +1 -0
  30. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -1
  31. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +1 -2
  32. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +1 -0
  33. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +1 -1
  34. package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +1 -2
  35. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +1 -0
  36. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +1 -1
  37. package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +1 -2
  38. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +1 -0
  39. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -1
  40. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +9 -0
  41. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js +52 -0
  42. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +1 -0
  43. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +1 -2
  44. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +1 -0
  45. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +1 -1
  46. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +1 -2
  47. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +1 -0
  48. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +1 -1
  49. package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +1 -2
  50. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +1 -0
  51. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +1 -1
  52. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.d.ts +9 -0
  53. package/bundle/typescript/src/commands/game/sideQuest/factories/{commandF.js → command-factory.js} +1 -1
  54. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js.map +1 -0
  55. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.d.ts +5 -0
  56. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +24 -0
  57. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +1 -0
  58. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.d.ts +9 -0
  59. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +33 -0
  60. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +1 -0
  61. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.d.ts +6 -0
  62. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +24 -0
  63. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +1 -0
  64. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.d.ts +6 -0
  65. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +19 -0
  66. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +1 -0
  67. package/bundle/typescript/src/commands/game/sideQuest/factories/{sceneSynthesizer.d.ts → scene-factory.d.ts} +2 -2
  68. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +116 -0
  69. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +1 -0
  70. package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +7 -5
  71. package/bundle/typescript/src/commands/game/sideQuest/game.js +40 -10
  72. package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
  73. package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +7 -3
  74. package/bundle/typescript/src/commands/game/sideQuest/models/door.js +1 -2
  75. package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +1 -1
  76. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +1 -1
  77. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +1 -1
  78. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +1 -1
  79. package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +25 -4
  80. package/bundle/typescript/src/commands/game/sideQuest/models/item.js +27 -13
  81. package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +1 -1
  82. package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +15 -12
  83. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +97 -29
  84. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -1
  85. package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +16 -4
  86. package/bundle/typescript/src/commands/game/sideQuest/models/player.js +85 -56
  87. package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -1
  88. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +11 -2
  89. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +2 -2
  90. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +1 -1
  91. package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +29 -6
  92. package/bundle/typescript/src/commands/game/sideQuest/models/room.js +78 -6
  93. package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -1
  94. package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +25 -17
  95. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +76 -68
  96. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -1
  97. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +55 -108
  98. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +131 -151
  99. package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +16 -7
  100. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +15 -6
  101. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +1 -1
  102. package/bundle/typescript/src/commands/game/sideQuest/types/{types.d.ts → player-equipment.d.ts} +8 -10
  103. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js +2 -0
  104. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js.map +1 -0
  105. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +6 -0
  106. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js +2 -0
  107. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js.map +1 -0
  108. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +22 -0
  109. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js +2 -0
  110. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js.map +1 -0
  111. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.d.ts +22 -0
  112. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js +2 -0
  113. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js.map +1 -0
  114. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +6 -0
  115. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js +2 -0
  116. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js.map +1 -0
  117. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +6 -0
  118. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js +2 -0
  119. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js.map +1 -0
  120. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +11 -0
  121. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js +2 -0
  122. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js.map +1 -0
  123. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +16 -0
  124. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js +2 -0
  125. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js.map +1 -0
  126. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +16 -0
  127. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js +2 -0
  128. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js.map +1 -0
  129. package/bundle/typescript/src/commands/game/sideQuest/types/{abstracts.d.ts → shared/abstracts.d.ts} +13 -9
  130. package/bundle/typescript/src/commands/game/sideQuest/types/{abstracts.js → shared/abstracts.js} +7 -2
  131. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +1 -0
  132. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.d.ts +8 -0
  133. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js +10 -0
  134. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js.map +1 -0
  135. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.d.ts +25 -0
  136. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js +27 -0
  137. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js.map +1 -0
  138. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +34 -0
  139. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +38 -0
  140. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +1 -0
  141. package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +6 -2
  142. package/bundle/typescript/src/commands/game/sideQuest/ui.js +47 -25
  143. package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +1 -1
  144. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +4 -2
  145. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +8 -4
  146. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +1 -1
  147. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +19 -12
  148. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -1
  149. package/bundle/typescript/src/tools/https/https.class.d.ts +4 -1
  150. package/bundle/typescript/src/tools/https/https.class.js +67 -12
  151. package/bundle/typescript/src/tools/https/https.class.js.map +1 -1
  152. package/bundle/typescript/src/tools/https/https.interface.d.ts +2 -1
  153. package/package.json +1 -1
  154. package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.d.ts +0 -10
  155. package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js.map +0 -1
  156. package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.d.ts +0 -6
  157. package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js +0 -18
  158. package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js.map +0 -1
  159. package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js +0 -77
  160. package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js.map +0 -1
  161. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene3.json +0 -380
  162. package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js.map +0 -1
  163. package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.d.ts +0 -197
  164. package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js +0 -2
  165. package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js.map +0 -1
  166. package/bundle/typescript/src/commands/game/sideQuest/types/types.js +0 -2
  167. package/bundle/typescript/src/commands/game/sideQuest/types/types.js.map +0 -1
@@ -1,57 +1,40 @@
1
1
  {
2
2
  "name": "Seattle Underground",
3
3
  "residenceTiers": [
4
- "Redmond Safehouse",
5
- "Street Squatter",
6
- "Capsule Hotel",
7
- "Barrens Apartment",
8
- "Puyallup Loft"
4
+ "Street",
5
+ "Squatter",
6
+ "Low",
7
+ "Middle",
8
+ "High",
9
+ "Luxury"
9
10
  ],
10
11
  "currency": {
11
12
  "type": "nuyen",
12
13
  "carrier": "credstick",
13
- "carrierItemSizes": [
14
- "Small",
15
- "Medium"
16
- ],
17
- "authorityRoomTags": [
18
- "Bank"
19
- ]
14
+ "authorityRoomTags": ["Bank"]
20
15
  },
21
16
  "rooms": [
22
17
  {
23
18
  "name": "Redmond Safehouse",
24
19
  "description": "A hidden bolthole in the Redmond Barrens.",
25
- "tags": [
26
- "residence"
27
- ],
20
+ "tags": ["residence"],
28
21
  "supportedLifestyles": {
29
- "residenceTiers": [
30
- "Redmond Safehouse"
31
- ]
22
+ "residenceTiers": ["Low"]
32
23
  },
33
24
  "exits": [
34
25
  {
35
26
  "direction": "north",
36
- "targetRoom": "Krow\u2019s Den"
27
+ "targetRoom": "Krow’s Den"
37
28
  }
38
29
  ],
39
30
  "isStartRoom": true
40
31
  },
41
32
  {
42
- "name": "Krow\u2019s Den",
43
- "description": "The fixer\u2019s office. Smells like cigars and secrets.",
44
- "tags": [
45
- "employment",
46
- "gun-mods"
47
- ],
33
+ "name": "Krow’s Den",
34
+ "description": "The fixer’s office. Smells like cigars and secrets.",
35
+ "owner": "Mr. Krow",
48
36
  "supportedLifestyles": {
49
- "employmentRoles": [
50
- "Fixer"
51
- ],
52
- "hobbyTags": [
53
- "Gun Collecting"
54
- ]
37
+ "employmentRoles": ["Fixer"]
55
38
  },
56
39
  "exits": [
57
40
  {
@@ -60,58 +43,51 @@
60
43
  },
61
44
  {
62
45
  "direction": "east",
63
- "targetRoom": "Lucky Chummer"
46
+ "targetRoom": "Lucky Chummer",
47
+ "keyRequired": "Certified Credstick"
64
48
  }
65
49
  ]
66
50
  },
67
51
  {
68
52
  "name": "Lucky Chummer",
69
53
  "description": "A neon casino buzzing with illicit energy.",
70
- "tags": [
71
- "entertainment"
72
- ],
73
54
  "supportedLifestyles": {
74
- "habitTags": [
75
- "Gambling"
76
- ]
55
+ "habitTags": ["Gambling"]
77
56
  }
78
57
  }
79
58
  ],
80
59
  "npcs": [
81
60
  {
82
- "name": "Mr. Krow",
83
61
  "dialogue": [
84
- "I've got what you need \u2014 if you can pay.",
62
+ "I've got what you need if you can pay.",
85
63
  "Never trust a smiling ork.",
86
64
  "The shadows don't lie, chummer."
87
65
  ],
88
- "lifestyleChoices": [
89
- {
90
- "type": "residence",
91
- "metadata": {
92
- "lifestyle": "Redmond Safehouse"
66
+ "player": {
67
+ "name": "Mr. Krow",
68
+ "startLocation": "Krow's Den",
69
+ "lifestyleChoices": [
70
+ {
71
+ "type": "residence",
72
+ "metadata": {
73
+ "tier": "Medium",
74
+ "location": "Redmond Safehouse"
75
+ }
76
+ },
77
+ {
78
+ "type": "employment",
79
+ "metadata": {
80
+ "jobTitle": "Fixer"
81
+ }
82
+ },
83
+ {
84
+ "type": "vice",
85
+ "metadata": {
86
+ "addictions": ["Cigars"]
87
+ }
93
88
  }
94
- },
95
- {
96
- "type": "employment",
97
- "metadata": {
98
- "jobTitle": "Fixer"
99
- }
100
- },
101
- {
102
- "type": "vice",
103
- "metadata": {
104
- "habits": [
105
- "Cigars"
106
- ]
107
- }
108
- },
109
- {
110
- "type": "hobby",
111
- "metadata": "Gun Collecting"
112
- }
113
- ],
114
- "startRoom": "Redmond Safehouse"
89
+ ]
90
+ }
115
91
  }
116
92
  ],
117
93
  "items": [
@@ -126,62 +102,33 @@
126
102
  "rating": "Standard",
127
103
  "weight": 0.2,
128
104
  "currencyAmount": 500,
129
- "room": "Redmond Safehouse"
105
+ "room": "Krow's Den",
106
+ "owner": "Mr. Krow"
130
107
  },
131
108
  {
132
109
  "name": "Cuban Cigar",
133
- "description": "Hand-rolled and smuggled from Amazonia.",
110
+ "description": "Hard to find, but delicious.",
134
111
  "size": "Tiny",
135
- "category": "Consumable",
136
- "shape": "Cylinder",
112
+ "category": "Vice",
113
+ "shape": "Rectangle",
137
114
  "color": "Brown",
138
- "texture": "Rough",
139
- "rating": "Standard",
115
+ "texture": "Smooth",
116
+ "rating": "Rare",
140
117
  "weight": 0.1,
141
- "satisfiesLifestyle": {
142
- "habitTags": [
143
- "Cigars"
144
- ]
145
- },
146
- "room": "Krow\u2019s Den"
147
- },
148
- {
149
- "name": "Wrench",
150
- "description": "Heavy-duty adjustable wrench, perfect for recalibration work.",
151
- "size": "Medium",
152
- "category": "Tool",
153
- "shape": "L",
154
- "color": "Steel",
155
- "texture": "Rough",
156
- "rating": "Standard",
157
- "weight": 1.5,
158
- "room": "Krow\u2019s Den"
159
- },
160
- {
161
- "name": "Ares Predator V",
162
- "description": "A popular heavy pistol with built-in smartgun system.",
163
- "size": "Medium",
164
- "category": "Weapon",
165
- "shape": "Pistol",
166
- "color": "Black",
167
- "texture": "Matte",
168
- "rating": "Military-Grade",
169
- "weight": 2.2
118
+ "currencyAmount": 0,
119
+ "room": "Lucky Chummer"
170
120
  }
171
121
  ],
172
122
  "puzzles": [
173
123
  {
174
- "name": "pistol puzzle",
175
- "requiredItem": "Wrench",
124
+ "name": "Cigar Puzzle",
125
+ "rewardItem": "Cuban Cigar",
176
126
  "requiredPhrase": "recalibrate",
177
127
  "riddle": "What fires but has no flame?",
178
128
  "successMessage": "You fine-tuned the gun into a masterpiece.",
179
129
  "failureMessage": "You lack the tools or insight to fix this weapon.",
180
- "hobbyTags": [
181
- "Gun Collecting"
182
- ],
183
- "room": "Krow\u2019s Den",
184
- "rewardItem": "Ares Predator V"
130
+ "hobbyTags": ["Gun Collecting"],
131
+ "room": "Lucky Chummer"
185
132
  }
186
133
  ]
187
134
  }
@@ -1,211 +1,191 @@
1
1
  {
2
- "name": "Vault of Krow",
3
- "residenceTiers": [
4
- "Redmond Safehouse"
5
- ],
2
+ "name": "Shadows Over Touristville",
6
3
  "currency": {
7
4
  "type": "nuyen",
8
5
  "carrier": "credstick",
9
- "carrierItemSizes": [
10
- "Small",
11
- "Medium"
12
- ],
13
- "authorityRoomTags": [
14
- "Bank"
15
- ]
6
+ "carrierItemSizes": ["small", "medium"],
7
+ "authorityRoomTags": ["Bank"]
16
8
  },
9
+ "residenceTiers": [
10
+ "Redmond Safehouse",
11
+ "Capsule Hotel",
12
+ "Puyallup Loft"
13
+ ],
17
14
  "rooms": [
18
15
  {
19
- "name": "Redmond Safehouse",
20
- "description": "A hidden bolthole in the Redmond Barrens.",
21
- "tags": [
22
- "residence"
23
- ],
16
+ "name": "Capsule Hotel",
17
+ "description": "A narrow capsule lined with plastic and neon. Cheap, secure, and available hourly.",
18
+ "tags": ["residence"],
24
19
  "supportedLifestyles": {
25
- "residenceTiers": [
26
- "Redmond Safehouse"
27
- ]
20
+ "residenceTiers": ["Capsule Hotel"]
28
21
  },
22
+ "isStartRoom": true,
29
23
  "exits": [
30
24
  {
31
- "direction": "north",
32
- "targetRoom": "Krow's Den"
25
+ "direction": "south",
26
+ "targetRoom": "Touristville Market"
33
27
  }
34
- ],
35
- "isStartRoom": true
28
+ ]
36
29
  },
37
30
  {
38
- "name": "Krow's Den",
39
- "description": "The fixer\u2019s office. Smells like cigars and secrets.",
40
- "tags": [
41
- "employment",
42
- "locked"
43
- ],
31
+ "name": "Touristville Market",
32
+ "description": "Bustling with vendors and shady dealers under flickering neon signs.",
33
+ "tags": ["employment"],
44
34
  "supportedLifestyles": {
45
- "employmentRoles": [
46
- "Fixer"
47
- ]
35
+ "employmentChoices": ["Street Vendor"]
48
36
  },
49
37
  "exits": [
50
38
  {
51
- "direction": "south",
52
- "targetRoom": "Redmond Safehouse"
53
- },
54
- {
55
- "direction": "east",
56
- "targetRoom": "Armory",
57
- "keyRequired": "Keycard"
39
+ "direction": "west",
40
+ "targetRoom": "Stuffer Shack"
58
41
  },
59
42
  {
60
43
  "direction": "north",
61
- "targetRoom": "Datavault"
44
+ "targetRoom": "Capsule Hotel"
62
45
  }
63
46
  ]
64
47
  },
65
48
  {
66
- "name": "Armory",
67
- "description": "A locked weapons locker with shelves of forbidden tech.",
68
- "tags": [
69
- "weapon-cache"
70
- ],
49
+ "name": "Stuffer Shack",
50
+ "description": "A 24-hour convenience store with cheap soy, synth drinks, and backroom deals.",
51
+ "tags": ["vice"],
71
52
  "supportedLifestyles": {
72
- "hobbyTags": [
73
- "Weapons"
74
- ]
53
+ "vices": {
54
+ "addictions": ["Soystim"],
55
+ "habits": ["Late-Night Snacking"]
56
+ }
75
57
  },
76
58
  "exits": [
77
59
  {
78
- "direction": "west",
79
- "targetRoom": "Krow's Den"
60
+ "direction": "east",
61
+ "targetRoom": "Touristville Market"
62
+ },
63
+ {
64
+ "direction": "down",
65
+ "targetRoom": "Utility Tunnel"
80
66
  }
81
67
  ]
82
68
  },
83
69
  {
84
- "name": "Datavault",
85
- "description": "A biometric vault containing encrypted secrets.",
86
- "tags": [
87
- "puzzle"
88
- ],
70
+ "name": "Utility Tunnel",
71
+ "description": "A dank, underground passage used by smugglers and squatters.",
72
+ "tags": ["puzzle"],
89
73
  "exits": [
90
74
  {
91
- "direction": "south",
92
- "targetRoom": "Krow's Den"
75
+ "direction": "up",
76
+ "targetRoom": "Stuffer Shack"
93
77
  },
94
78
  {
95
- "direction": "north",
96
- "targetRoom": "Street Level Access"
79
+ "direction": "east",
80
+ "targetRoom": "Old Bank Vault"
97
81
  }
98
82
  ]
99
83
  },
100
84
  {
101
- "name": "Street Level Access",
102
- "description": "The exit to the upper city. Freedom lies beyond.",
103
- "tags": [
104
- "exit"
105
- ],
85
+ "name": "Old Bank Vault",
86
+ "description": "A forgotten vault sealed behind rusty servos, used now by gangers as a stash spot.",
87
+ "tags": ["bank"],
88
+ "supportedLifestyles": {
89
+ "residenceTiers": ["Redmond Safehouse"]
90
+ },
106
91
  "exits": [
107
92
  {
108
- "direction": "south",
109
- "targetRoom": "Datavault"
93
+ "direction": "west",
94
+ "targetRoom": "Utility Tunnel"
110
95
  }
111
96
  ]
112
97
  }
113
98
  ],
114
- "npcs": [
115
- {
116
- "name": "Mr. Krow",
117
- "dialogue": [
118
- "I've got what you need \u2014 if you can unlock it.",
119
- "Some doors aren\u2019t meant to open, chummer.",
120
- "The truth\u2019s always buried in data."
121
- ],
122
- "lifestyleChoices": [
123
- {
124
- "type": "residence",
125
- "metadata": {
126
- "lifestyle": "Redmond Safehouse"
127
- }
128
- },
129
- {
130
- "type": "employment",
131
- "metadata": {
132
- "jobTitle": "Fixer"
133
- }
134
- },
135
- {
136
- "type": "vice",
137
- "metadata": {
138
- "habits": [
139
- "Cigars"
140
- ]
141
- }
142
- }
143
- ],
144
- "startRoom": "Redmond Safehouse"
145
- }
146
- ],
147
99
  "items": [
148
100
  {
149
- "name": "Keycard",
150
- "description": "An RFID-encoded card with KROW INDUSTRIES printed on the back.",
101
+ "name": "Credstick",
102
+ "description": "A standard-issue credstick loaded with 1,200 nuyen.",
151
103
  "size": "Small",
152
- "category": "Key",
153
- "shape": "Rectangle",
154
- "color": "Red",
155
- "texture": "Smooth",
156
- "rating": "Common",
104
+ "category": "currency container",
105
+ "shape": "cylinder",
106
+ "color": "silver",
107
+ "texture": "smooth",
108
+ "rating": "common",
157
109
  "weight": 0.1,
158
- "room": "Redmond Safehouse"
159
- },
160
- {
161
- "name": "Datapad",
162
- "description": "A slim, encrypted reader containing a cryptic riddle.",
163
- "size": "Small",
164
- "category": "Book",
165
- "shape": "Rectangle",
166
- "color": "Gray",
167
- "texture": "Smooth",
168
- "rating": "Common",
169
- "weight": 0.3,
170
- "room": "Krow's Den",
171
- "details": "What tells time?"
110
+ "currencyAmount": 1200,
111
+ "room": "Old Bank Vault"
172
112
  },
173
113
  {
174
- "name": "Ares Predator V",
175
- "description": "A popular heavy pistol with built-in smartgun system.",
114
+ "name": "Hacked Commlink",
115
+ "description": "A burner commlink loaded with encrypted gang coordinates.",
176
116
  "size": "Medium",
177
- "category": "Weapon",
178
- "shape": "Pistol",
179
- "color": "Black",
180
- "texture": "Matte",
181
- "rating": "MilitaryGrade",
182
- "weight": 2.2,
183
- "room": "Armory"
184
- },
185
- {
186
- "name": "Certified Credstick",
187
- "description": "Encrypted nuyen chip issued by the Seattle underground.",
188
- "size": "Small",
189
- "category": "CurrencyContainer",
190
- "shape": "Cylinder",
191
- "color": "Silver",
192
- "texture": "Smooth",
193
- "rating": "Common",
194
- "weight": 0.2,
195
- "currencyAmount": 1200,
196
- "room": "Datavault"
117
+ "category": "tool",
118
+ "shape": "rectangular",
119
+ "color": "black",
120
+ "texture": "scuffed",
121
+ "rating": "rare",
122
+ "weight": 0.3,
123
+ "details": "Required to trace the gang's hideout.",
124
+ "room": "Utility Tunnel"
197
125
  }
198
126
  ],
199
127
  "puzzles": [
200
128
  {
201
- "requiredItem": "Datapad",
202
- "requiredPhrase": "clock",
203
- "riddle": "My face never changes, yet time erases me. What am I?",
204
- "successMessage": "The datapad flashes green: ACCESS GRANTED.",
205
- "failureMessage": "The datapad remains locked. The vault denies you.",
206
- "hobbyTags": [],
207
- "room": "Datavault",
208
- "rewardItem": "Certified Credstick"
129
+ "name": "Rusty Vault Lock",
130
+ "description": "A heavy, corroded maglock with a biometric override panel.",
131
+ "requiredItem": "Hacked Commlink",
132
+ "rewardItem": "Credstick",
133
+ "location": "Old Bank Vault",
134
+ "satisfiesLifestyle": {
135
+ "hobbies": ["Security Hacking"]
136
+ },
137
+ "room": "Utility Tunnel"
138
+ }
139
+ ],
140
+ "npcs": [
141
+ {
142
+ "dialogue": [
143
+ "If you're lookin' for creds, you gotta think like a rat in the walls.",
144
+ "Last time I was down there, the vault still had juice..."
145
+ ],
146
+ "description": "A jittery local vendor with one eye always watching the exits.",
147
+ "startRoom": "Touristville Market",
148
+ "player": {
149
+ "name": "Fizz",
150
+ "startLocation": "Touristville Market",
151
+ "lifestyleChoices": [
152
+ {
153
+ "type": "employment",
154
+ "metadata": { "job": "Street Vendor" }
155
+ },
156
+ {
157
+ "type": "addiction",
158
+ "metadata": { "substance": "Soystim" }
159
+ },
160
+ {
161
+ "type": "hobby",
162
+ "metadata": { "activity": "Security Hacking" }
163
+ }
164
+ ]
165
+ }
209
166
  }
210
- ]
167
+ ],
168
+ "player": {
169
+ "name": "Nova",
170
+ "startLocation": "Capsule Hotel",
171
+ "lifestyleChoices": [
172
+ {
173
+ "type": "residence",
174
+ "metadata": { "lifestyle": "Capsule Hotel" }
175
+ },
176
+ {
177
+ "type": "employment",
178
+ "metadata": { "job": "Street Vendor" }
179
+ },
180
+ {
181
+ "type": "addiction",
182
+ "metadata": { "substance": "Soystim" }
183
+ },
184
+ {
185
+ "type": "hobby",
186
+ "metadata": { "activity": "Security Hacking" }
187
+ }
188
+ ]
189
+ }
211
190
  }
191
+
@@ -3,13 +3,16 @@ export declare enum Size {
3
3
  Small = "small",
4
4
  Medium = "medium",
5
5
  Large = "large",
6
- VeryLarge = "very large"
6
+ VeryLarge = "very_large"
7
7
  }
8
8
  export declare enum Rating {
9
9
  Common = "common",
10
+ Standard = "standard",
10
11
  Rare = "rare",
11
12
  Legendary = "legendary",
12
- MilitaryGrade = "military-grade"
13
+ MilitaryGrade = "military_grade",
14
+ Poor = "poor",
15
+ Street = "street"
13
16
  }
14
17
  export declare enum Category {
15
18
  Weapon = "weapon",
@@ -19,14 +22,20 @@ export declare enum Category {
19
22
  Helmet = "helmet",
20
23
  Hat = "hat",
21
24
  Boots = "boots",
22
- LegArmor = "leg armor",
23
- ArmArmor = "arm armor",
24
- BodyArmor = "body armor",
25
+ LegArmor = "leg_armor",
26
+ ArmArmor = "arm_armor",
27
+ BodyArmor = "body_armor",
25
28
  Book = "book",
26
29
  Cup = "cup",
27
30
  Unknown = "unknown",
28
- CurrencyContainer = "currency container",
29
- Medical = "medical"
31
+ CurrencyContainer = "currency_container",
32
+ Medical = "medical",
33
+ Consumable = "consumable",
34
+ Tool = "tool",
35
+ Misc = "misc",
36
+ Game = "game",
37
+ Pharmaceutical = "pharmaceutical",
38
+ Electronics = "electronics"
30
39
  }
31
40
  export declare enum Direction {
32
41
  NORTH = "north",
@@ -4,14 +4,17 @@ export var Size;
4
4
  Size["Small"] = "small";
5
5
  Size["Medium"] = "medium";
6
6
  Size["Large"] = "large";
7
- Size["VeryLarge"] = "very large";
7
+ Size["VeryLarge"] = "very_large";
8
8
  })(Size || (Size = {}));
9
9
  export var Rating;
10
10
  (function (Rating) {
11
11
  Rating["Common"] = "common";
12
+ Rating["Standard"] = "standard";
12
13
  Rating["Rare"] = "rare";
13
14
  Rating["Legendary"] = "legendary";
14
- Rating["MilitaryGrade"] = "military-grade";
15
+ Rating["MilitaryGrade"] = "military_grade";
16
+ Rating["Poor"] = "poor";
17
+ Rating["Street"] = "street";
15
18
  })(Rating || (Rating = {}));
16
19
  export var Category;
17
20
  (function (Category) {
@@ -22,14 +25,20 @@ export var Category;
22
25
  Category["Helmet"] = "helmet";
23
26
  Category["Hat"] = "hat";
24
27
  Category["Boots"] = "boots";
25
- Category["LegArmor"] = "leg armor";
26
- Category["ArmArmor"] = "arm armor";
27
- Category["BodyArmor"] = "body armor";
28
+ Category["LegArmor"] = "leg_armor";
29
+ Category["ArmArmor"] = "arm_armor";
30
+ Category["BodyArmor"] = "body_armor";
28
31
  Category["Book"] = "book";
29
32
  Category["Cup"] = "cup";
30
33
  Category["Unknown"] = "unknown";
31
- Category["CurrencyContainer"] = "currency container";
34
+ Category["CurrencyContainer"] = "currency_container";
32
35
  Category["Medical"] = "medical";
36
+ Category["Consumable"] = "consumable";
37
+ Category["Tool"] = "tool";
38
+ Category["Misc"] = "misc";
39
+ Category["Game"] = "game";
40
+ Category["Pharmaceutical"] = "pharmaceutical";
41
+ Category["Electronics"] = "electronics";
33
42
  })(Category || (Category = {}));
34
43
  export var Direction;
35
44
  (function (Direction) {
@@ -1 +1 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/enums.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAMX;AAND,WAAY,IAAI;IACd,qBAAa,CAAA;IACX,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,uBAAe,CAAA;IACf,gCAAwB,CAAA;AAC5B,CAAC,EANW,IAAI,KAAJ,IAAI,QAMf;AAED,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACf,uBAAa,CAAA;IACb,iCAAuB,CAAA;IACvB,0CAAgC,CAAA;AACpC,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED,MAAM,CAAN,IAAY,QAgBX;AAhBD,WAAY,QAAQ;IAClB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,2BAAe,CAAA;IACf,kCAAsB,CAAA;IACtB,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,yBAAa,CAAA;IACb,uBAAW,CAAA;IACX,+BAAmB,CAAA;IACnB,oDAAwC,CAAA;IACxC,+BAAmB,CAAA;AACrB,CAAC,EAhBW,QAAQ,KAAR,QAAQ,QAgBnB;AAED,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACb,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,sBAAS,CAAA;IACT,0BAAa,CAAA;AACjB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB"}
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/enums.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,IAMX;AAND,WAAY,IAAI;IACd,qBAAa,CAAA;IACT,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,uBAAe,CAAA;IACf,gCAAwB,CAAA;AAC9B,CAAC,EANW,IAAI,KAAJ,IAAI,QAMf;AAED,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACf,+BAAqB,CAAA;IACrB,uBAAa,CAAA;IACb,iCAAuB,CAAA;IACvB,0CAAgC,CAAA;IAChC,uBAAa,CAAA;IACb,2BAAiB,CAAA;AACrB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AAED,MAAM,CAAN,IAAY,QAsBX;AAtBD,WAAY,QAAQ;IAClB,6BAAiB,CAAA;IACf,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,uBAAW,CAAA;IACX,2BAAe,CAAA;IACf,kCAAsB,CAAA;IACtB,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,yBAAa,CAAA;IACb,uBAAW,CAAA;IACX,+BAAmB,CAAA;IACnB,oDAAwC,CAAA;IACxC,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,yBAAa,CAAA;IACb,6CAAiC,CAAA;IACjC,uCAA2B,CAAA;AAC/B,CAAC,EAtBW,QAAQ,KAAR,QAAQ,QAsBnB;AAED,MAAM,CAAN,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,4BAAe,CAAA;IACb,0BAAa,CAAA;IACb,4BAAe,CAAA;IACf,0BAAa,CAAA;IACb,sBAAS,CAAA;IACT,0BAAa,CAAA;AACjB,CAAC,EAPW,SAAS,KAAT,SAAS,QAOpB"}