@maka/maka-cli 5.1.29 → 5.1.31

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 (166) hide show
  1. package/bundle/typescript/package.json +1 -1
  2. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +9 -0
  3. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +26 -0
  4. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +1 -0
  5. package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +13 -7
  6. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +1 -1
  7. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +1 -1
  8. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +1 -2
  9. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +2 -1
  10. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +1 -1
  11. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +1 -2
  12. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +1 -0
  13. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -1
  14. package/bundle/typescript/src/commands/game/sideQuest/commands/give.d.ts +7 -0
  15. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +51 -0
  16. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +1 -0
  17. package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +1 -2
  18. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +3 -0
  19. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -1
  20. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +1 -2
  21. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +1 -0
  22. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -1
  23. package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +1 -2
  24. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +2 -1
  25. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -1
  26. package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +3 -11
  27. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +7 -32
  28. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -1
  29. package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +1 -2
  30. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +1 -0
  31. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -1
  32. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +1 -2
  33. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +1 -0
  34. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +1 -1
  35. package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +1 -2
  36. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +1 -0
  37. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +1 -1
  38. package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +1 -2
  39. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +1 -0
  40. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -1
  41. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +3 -4
  42. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +1 -1
  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 +34 -24
  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 +10 -0
  59. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +36 -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 +115 -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 +11 -5
  71. package/bundle/typescript/src/commands/game/sideQuest/game.js +102 -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 +26 -4
  80. package/bundle/typescript/src/commands/game/sideQuest/models/item.js +36 -4
  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 +22 -14
  83. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +141 -49
  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 -57
  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 +79 -7
  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 +29 -18
  95. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +82 -69
  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 +93 -114
  98. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +130 -151
  99. package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +13 -7
  100. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +12 -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} +12 -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 +48 -79
  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 +20 -13
  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 +1 -0
  150. package/bundle/typescript/src/tools/https/https.class.js +49 -1
  151. package/bundle/typescript/src/tools/https/https.class.js.map +1 -1
  152. package/package.json +1 -1
  153. package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.d.ts +0 -10
  154. package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js.map +0 -1
  155. package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.d.ts +0 -6
  156. package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js +0 -18
  157. package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js.map +0 -1
  158. package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js +0 -77
  159. package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js.map +0 -1
  160. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene3.json +0 -380
  161. package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js.map +0 -1
  162. package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.d.ts +0 -197
  163. package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js +0 -2
  164. package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js.map +0 -1
  165. package/bundle/typescript/src/commands/game/sideQuest/types/types.js +0 -2
  166. package/bundle/typescript/src/commands/game/sideQuest/types/types.js.map +0 -1
@@ -1,211 +1,190 @@
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
+ "authorityRoomTags": ["Bank"]
16
7
  },
8
+ "residenceTiers": [
9
+ "Redmond Safehouse",
10
+ "Capsule Hotel",
11
+ "Puyallup Loft"
12
+ ],
17
13
  "rooms": [
18
14
  {
19
- "name": "Redmond Safehouse",
20
- "description": "A hidden bolthole in the Redmond Barrens.",
21
- "tags": [
22
- "residence"
23
- ],
15
+ "name": "Capsule Hotel",
16
+ "description": "A narrow capsule lined with plastic and neon. Cheap, secure, and available hourly.",
17
+ "tags": ["residence"],
24
18
  "supportedLifestyles": {
25
- "residenceTiers": [
26
- "Redmond Safehouse"
27
- ]
19
+ "residenceTiers": ["Capsule Hotel"]
28
20
  },
21
+ "isStartRoom": true,
29
22
  "exits": [
30
23
  {
31
- "direction": "north",
32
- "targetRoom": "Krow's Den"
24
+ "direction": "south",
25
+ "targetRoom": "Touristville Market"
33
26
  }
34
- ],
35
- "isStartRoom": true
27
+ ]
36
28
  },
37
29
  {
38
- "name": "Krow's Den",
39
- "description": "The fixer\u2019s office. Smells like cigars and secrets.",
40
- "tags": [
41
- "employment",
42
- "locked"
43
- ],
30
+ "name": "Touristville Market",
31
+ "description": "Bustling with vendors and shady dealers under flickering neon signs.",
32
+ "tags": ["employment"],
44
33
  "supportedLifestyles": {
45
- "employmentRoles": [
46
- "Fixer"
47
- ]
34
+ "employmentChoices": ["Street Vendor"]
48
35
  },
49
36
  "exits": [
50
37
  {
51
- "direction": "south",
52
- "targetRoom": "Redmond Safehouse"
53
- },
54
- {
55
- "direction": "east",
56
- "targetRoom": "Armory",
57
- "keyRequired": "Keycard"
38
+ "direction": "west",
39
+ "targetRoom": "Stuffer Shack"
58
40
  },
59
41
  {
60
42
  "direction": "north",
61
- "targetRoom": "Datavault"
43
+ "targetRoom": "Capsule Hotel"
62
44
  }
63
45
  ]
64
46
  },
65
47
  {
66
- "name": "Armory",
67
- "description": "A locked weapons locker with shelves of forbidden tech.",
68
- "tags": [
69
- "weapon-cache"
70
- ],
48
+ "name": "Stuffer Shack",
49
+ "description": "A 24-hour convenience store with cheap soy, synth drinks, and backroom deals.",
50
+ "tags": ["vice"],
71
51
  "supportedLifestyles": {
72
- "hobbyTags": [
73
- "Weapons"
74
- ]
52
+ "vices": {
53
+ "addictions": ["Soystim"],
54
+ "habits": ["Late-Night Snacking"]
55
+ }
75
56
  },
76
57
  "exits": [
77
58
  {
78
- "direction": "west",
79
- "targetRoom": "Krow's Den"
59
+ "direction": "east",
60
+ "targetRoom": "Touristville Market"
61
+ },
62
+ {
63
+ "direction": "down",
64
+ "targetRoom": "Utility Tunnel"
80
65
  }
81
66
  ]
82
67
  },
83
68
  {
84
- "name": "Datavault",
85
- "description": "A biometric vault containing encrypted secrets.",
86
- "tags": [
87
- "puzzle"
88
- ],
69
+ "name": "Utility Tunnel",
70
+ "description": "A dank, underground passage used by smugglers and squatters.",
71
+ "tags": ["puzzle"],
89
72
  "exits": [
90
73
  {
91
- "direction": "south",
92
- "targetRoom": "Krow's Den"
74
+ "direction": "up",
75
+ "targetRoom": "Stuffer Shack"
93
76
  },
94
77
  {
95
- "direction": "north",
96
- "targetRoom": "Street Level Access"
78
+ "direction": "east",
79
+ "targetRoom": "Old Bank Vault"
97
80
  }
98
81
  ]
99
82
  },
100
83
  {
101
- "name": "Street Level Access",
102
- "description": "The exit to the upper city. Freedom lies beyond.",
103
- "tags": [
104
- "exit"
105
- ],
84
+ "name": "Old Bank Vault",
85
+ "description": "A forgotten vault sealed behind rusty servos, used now by gangers as a stash spot.",
86
+ "tags": ["bank"],
87
+ "supportedLifestyles": {
88
+ "residenceTiers": ["Redmond Safehouse"]
89
+ },
106
90
  "exits": [
107
91
  {
108
- "direction": "south",
109
- "targetRoom": "Datavault"
92
+ "direction": "west",
93
+ "targetRoom": "Utility Tunnel"
110
94
  }
111
95
  ]
112
96
  }
113
97
  ],
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
98
  "items": [
148
99
  {
149
- "name": "Keycard",
150
- "description": "An RFID-encoded card with KROW INDUSTRIES printed on the back.",
100
+ "name": "Credstick",
101
+ "description": "A standard-issue credstick loaded with 1,200 nuyen.",
151
102
  "size": "Small",
152
- "category": "Key",
153
- "shape": "Rectangle",
154
- "color": "Red",
155
- "texture": "Smooth",
156
- "rating": "Common",
103
+ "category": "currency container",
104
+ "shape": "cylinder",
105
+ "color": "silver",
106
+ "texture": "smooth",
107
+ "rating": "common",
157
108
  "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?"
109
+ "currencyAmount": 1200,
110
+ "room": "Old Bank Vault"
172
111
  },
173
112
  {
174
- "name": "Ares Predator V",
175
- "description": "A popular heavy pistol with built-in smartgun system.",
113
+ "name": "Hacked Commlink",
114
+ "description": "A burner commlink loaded with encrypted gang coordinates.",
176
115
  "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"
116
+ "category": "tool",
117
+ "shape": "rectangular",
118
+ "color": "black",
119
+ "texture": "scuffed",
120
+ "rating": "rare",
121
+ "weight": 0.3,
122
+ "details": "Required to trace the gang's hideout.",
123
+ "room": "Utility Tunnel"
197
124
  }
198
125
  ],
199
126
  "puzzles": [
200
127
  {
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"
128
+ "name": "Rusty Vault Lock",
129
+ "description": "A heavy, corroded maglock with a biometric override panel.",
130
+ "requiredItem": "Hacked Commlink",
131
+ "rewardItem": "Credstick",
132
+ "location": "Old Bank Vault",
133
+ "satisfiesLifestyle": {
134
+ "hobbies": ["Security Hacking"]
135
+ },
136
+ "room": "Utility Tunnel"
137
+ }
138
+ ],
139
+ "npcs": [
140
+ {
141
+ "dialogue": [
142
+ "If you're lookin' for creds, you gotta think like a rat in the walls.",
143
+ "Last time I was down there, the vault still had juice..."
144
+ ],
145
+ "description": "A jittery local vendor with one eye always watching the exits.",
146
+ "startRoom": "Touristville Market",
147
+ "player": {
148
+ "name": "Fizz",
149
+ "startLocation": "Touristville Market",
150
+ "lifestyleChoices": [
151
+ {
152
+ "type": "employment",
153
+ "metadata": { "job": "Street Vendor" }
154
+ },
155
+ {
156
+ "type": "addiction",
157
+ "metadata": { "substance": "Soystim" }
158
+ },
159
+ {
160
+ "type": "hobby",
161
+ "metadata": { "activity": "Security Hacking" }
162
+ }
163
+ ]
164
+ }
209
165
  }
210
- ]
166
+ ],
167
+ "player": {
168
+ "name": "Nova",
169
+ "startLocation": "Capsule Hotel",
170
+ "lifestyleChoices": [
171
+ {
172
+ "type": "residence",
173
+ "metadata": { "lifestyle": "Capsule Hotel" }
174
+ },
175
+ {
176
+ "type": "employment",
177
+ "metadata": { "job": "Street Vendor" }
178
+ },
179
+ {
180
+ "type": "addiction",
181
+ "metadata": { "substance": "Soystim" }
182
+ },
183
+ {
184
+ "type": "hobby",
185
+ "metadata": { "activity": "Security Hacking" }
186
+ }
187
+ ]
188
+ }
211
189
  }
190
+
@@ -3,14 +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
10
  Standard = "standard",
11
11
  Rare = "rare",
12
12
  Legendary = "legendary",
13
- MilitaryGrade = "military-grade"
13
+ MilitaryGrade = "military_grade",
14
+ Poor = "poor",
15
+ Street = "street"
14
16
  }
15
17
  export declare enum Category {
16
18
  Weapon = "weapon",
@@ -20,16 +22,20 @@ export declare enum Category {
20
22
  Helmet = "helmet",
21
23
  Hat = "hat",
22
24
  Boots = "boots",
23
- LegArmor = "leg armor",
24
- ArmArmor = "arm armor",
25
- BodyArmor = "body armor",
25
+ LegArmor = "leg_armor",
26
+ ArmArmor = "arm_armor",
27
+ BodyArmor = "body_armor",
26
28
  Book = "book",
27
29
  Cup = "cup",
28
30
  Unknown = "unknown",
29
- CurrencyContainer = "currency container",
31
+ CurrencyContainer = "currency_container",
30
32
  Medical = "medical",
31
33
  Consumable = "consumable",
32
- Tool = "tool"
34
+ Tool = "tool",
35
+ Misc = "misc",
36
+ Game = "game",
37
+ Pharmaceutical = "pharmaceutical",
38
+ Electronics = "electronics"
33
39
  }
34
40
  export declare enum Direction {
35
41
  NORTH = "north",
@@ -4,7 +4,7 @@ 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) {
@@ -12,7 +12,9 @@ export var Rating;
12
12
  Rating["Standard"] = "standard";
13
13
  Rating["Rare"] = "rare";
14
14
  Rating["Legendary"] = "legendary";
15
- Rating["MilitaryGrade"] = "military-grade";
15
+ Rating["MilitaryGrade"] = "military_grade";
16
+ Rating["Poor"] = "poor";
17
+ Rating["Street"] = "street";
16
18
  })(Rating || (Rating = {}));
17
19
  export var Category;
18
20
  (function (Category) {
@@ -23,16 +25,20 @@ export var Category;
23
25
  Category["Helmet"] = "helmet";
24
26
  Category["Hat"] = "hat";
25
27
  Category["Boots"] = "boots";
26
- Category["LegArmor"] = "leg armor";
27
- Category["ArmArmor"] = "arm armor";
28
- Category["BodyArmor"] = "body armor";
28
+ Category["LegArmor"] = "leg_armor";
29
+ Category["ArmArmor"] = "arm_armor";
30
+ Category["BodyArmor"] = "body_armor";
29
31
  Category["Book"] = "book";
30
32
  Category["Cup"] = "cup";
31
33
  Category["Unknown"] = "unknown";
32
- Category["CurrencyContainer"] = "currency container";
34
+ Category["CurrencyContainer"] = "currency_container";
33
35
  Category["Medical"] = "medical";
34
36
  Category["Consumable"] = "consumable";
35
37
  Category["Tool"] = "tool";
38
+ Category["Misc"] = "misc";
39
+ Category["Game"] = "game";
40
+ Category["Pharmaceutical"] = "pharmaceutical";
41
+ Category["Electronics"] = "electronics";
36
42
  })(Category || (Category = {}));
37
43
  export var Direction;
38
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,MAMX;AAND,WAAY,MAAM;IAChB,2BAAiB,CAAA;IACf,+BAAqB,CAAA;IACrB,uBAAa,CAAA;IACb,iCAAuB,CAAA;IACvB,0CAAgC,CAAA;AACpC,CAAC,EANW,MAAM,KAAN,MAAM,QAMjB;AAED,MAAM,CAAN,IAAY,QAkBX;AAlBD,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;AACjB,CAAC,EAlBW,QAAQ,KAAR,QAAQ,QAkBnB;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"}
@@ -1,7 +1,5 @@
1
1
  import { Item } from '../models/item.js';
2
- import { IRoomConfiguration } from './interfaces.js';
3
2
  export type Inventory = Item[];
4
- export type RoomConfiguration = IRoomConfiguration[];
5
3
  export type HeadEquipment = {
6
4
  eyes: Item | null;
7
5
  skull: Item | null;
@@ -42,12 +40,12 @@ export type RightHandEquipment = {
42
40
  ring: Item | null;
43
41
  };
44
42
  export type PlayerEquipment = {
45
- head: Item | null;
46
- torso: Item | null;
47
- legs: Item | null;
48
- feet: Item | null;
49
- arms: Item | null;
50
- gloves: Item | null;
51
- leftHand: Item | null;
52
- rightHand: Item | null;
43
+ head: HeadEquipment | null;
44
+ torso: TorsoEquipment | null;
45
+ legs: LegEquipment | null;
46
+ feet: FeetEquipment | null;
47
+ arms: ArmsEquipment | null;
48
+ gloves: GlovesEquipment | null;
49
+ leftHand: LeftHandEquipment | null;
50
+ rightHand: RightHandEquipment | null;
53
51
  };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=player-equipment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"player-equipment.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/player-equipment.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface IExitSeedJson {
2
+ direction: string;
3
+ targetRoom: string;
4
+ keyRequired?: string;
5
+ doorName?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=exit-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exit-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/exit-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ import { Size, Category, Rating } from '../shared/item-enum.js';
2
+ export interface IItemSeedJson {
3
+ name: string;
4
+ description: string;
5
+ content?: string;
6
+ size: keyof typeof Size;
7
+ category: keyof typeof Category;
8
+ shape: string;
9
+ color: string;
10
+ texture: string;
11
+ rating: keyof typeof Rating;
12
+ weight: number;
13
+ details?: string;
14
+ currencyAmount?: number;
15
+ satisfiesLifestyle?: {
16
+ addictionTypes?: string[];
17
+ habitTags?: string[];
18
+ };
19
+ room?: string;
20
+ heldBy?: string;
21
+ owner?: string;
22
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=item-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/item-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ export interface LifestyleChoice {
2
+ type: 'residence' | 'employment' | 'vice';
3
+ metadata: ResidenceChoice | EmploymentChoice | ViceChoice;
4
+ }
5
+ export interface ResidenceChoice {
6
+ tier: 'Street' | 'Squatter' | 'Low' | 'Medium' | 'High' | 'Luxury' | 'Custom';
7
+ location?: string;
8
+ description?: string;
9
+ }
10
+ export interface EmploymentChoice {
11
+ jobTitle: string;
12
+ employer?: string;
13
+ SINRegistered?: boolean;
14
+ description?: string;
15
+ }
16
+ export interface ViceChoice {
17
+ addictions?: AddictionType[];
18
+ mentalHealthFlags?: MentalHealthFlag[];
19
+ }
20
+ export type AddictionType = 'Alcohol' | 'Cigarettes' | 'Cigars' | 'BTLs' | 'Jazz' | 'Cram' | 'Long Haul' | 'Novacoke' | 'Psyche' | 'Deepweed' | 'Kamikaze' | 'Zen' | 'Bliss' | 'Nitro' | 'Laés' | 'Tempo' | 'Other';
21
+ export type MentalHealthFlag = 'Paranoia' | 'Depression' | 'PTSD' | 'Insomnia' | 'Violent Impulses' | 'Compulsive Behavior' | 'Other';
22
+ export type LifestyleChoices = LifestyleChoice[];
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=lifestyle-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifestyle-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/lifestyle-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { IPlayerSeedJson } from './player-seed.js';
2
+ export interface INPCSeedJson {
3
+ dialogue?: string[];
4
+ description?: string;
5
+ player: IPlayerSeedJson;
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=npc-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"npc-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/npc-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { LifestyleChoice } from './lifestyle-seed.js';
2
+ export interface IPlayerSeedJson {
3
+ name: string;
4
+ startLocation: string;
5
+ lifestyleChoices: LifestyleChoice[];
6
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=player-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"player-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/player-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export interface IPuzzleSeedJson {
2
+ name: string;
3
+ room: string;
4
+ riddle: string;
5
+ requiredPhrase?: string;
6
+ requiredItem?: string;
7
+ rewardItem?: string;
8
+ successMessage?: string;
9
+ failureMessage?: string;
10
+ hobbyTags?: string[];
11
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=puzzle-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"puzzle-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/puzzle-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { IExitSeedJson } from './exit-seed.js';
2
+ export interface IRoomSeedJson {
3
+ name: string;
4
+ description: string;
5
+ roomType: string;
6
+ isStartRoom?: boolean;
7
+ owner?: string;
8
+ tags?: string[];
9
+ exits: IExitSeedJson[];
10
+ supportedLifestyles?: {
11
+ residenceTiers?: string[];
12
+ employmentTags?: string[];
13
+ addictionTypes?: string[];
14
+ habitTags?: string[];
15
+ };
16
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=room-seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"room-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/room-seed.ts"],"names":[],"mappings":""}
@@ -0,0 +1,16 @@
1
+ import { IRoomSeedJson } from './room-seed.js';
2
+ import { INPCSeedJson } from './npc-seed.js';
3
+ import { IItemSeedJson } from './item-seed.js';
4
+ import { IPuzzleSeedJson } from './puzzle-seed.js';
5
+ export interface ISceneSeedJson {
6
+ name: string;
7
+ currency: {
8
+ type: string;
9
+ authorityRoomTags: string[];
10
+ };
11
+ rooms: IRoomSeedJson[];
12
+ npcs: INPCSeedJson[];
13
+ items: IItemSeedJson[];
14
+ puzzles: IPuzzleSeedJson[];
15
+ residenceTiers: string[];
16
+ }