@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.
- package/bundle/typescript/package.json +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +26 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +13 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +2 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +51 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +2 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +3 -11
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +7 -32
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +3 -4
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +34 -24
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.d.ts +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/{commandF.js → command-factory.js} +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.d.ts +5 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +24 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.d.ts +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +36 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.d.ts +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +24 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.d.ts +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +19 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/{sceneSynthesizer.d.ts → scene-factory.d.ts} +2 -2
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +115 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +11 -5
- package/bundle/typescript/src/commands/game/sideQuest/game.js +102 -10
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +7 -3
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js +1 -2
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +26 -4
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js +36 -4
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +22 -14
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +141 -49
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +16 -4
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +85 -57
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +11 -2
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +2 -2
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +29 -6
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +79 -7
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +29 -18
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +82 -69
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +93 -114
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +130 -151
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +13 -7
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +12 -6
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/{types.d.ts → player-equipment.d.ts} +8 -10
- package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +22 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.d.ts +22 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +11 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +16 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/{abstracts.d.ts → shared/abstracts.d.ts} +12 -9
- package/bundle/typescript/src/commands/game/sideQuest/types/{abstracts.js → shared/abstracts.js} +7 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.d.ts +25 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js +27 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +34 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +38 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +6 -2
- package/bundle/typescript/src/commands/game/sideQuest/ui.js +48 -79
- package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +4 -2
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +8 -4
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +1 -1
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +20 -13
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -1
- package/bundle/typescript/src/tools/https/https.class.d.ts +1 -0
- package/bundle/typescript/src/tools/https/https.class.js +49 -1
- package/bundle/typescript/src/tools/https/https.class.js.map +1 -1
- package/package.json +1 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.d.ts +0 -10
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js +0 -18
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js +0 -77
- package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene3.json +0 -380
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.d.ts +0 -197
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/types.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/types.js.map +0 -1
|
@@ -1,380 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Shadow Grid: Scene 3",
|
|
3
|
-
"residenceTiers": [
|
|
4
|
-
"Puyallup Squatter Den",
|
|
5
|
-
"Downtown Condo",
|
|
6
|
-
"Everett Dockyard Loft"
|
|
7
|
-
],
|
|
8
|
-
"currency": {
|
|
9
|
-
"type": "nuyen",
|
|
10
|
-
"carrier": "credstick",
|
|
11
|
-
"carrierItemSizes": [
|
|
12
|
-
"Small",
|
|
13
|
-
"Medium"
|
|
14
|
-
],
|
|
15
|
-
"authorityRoomTags": [
|
|
16
|
-
"Bank"
|
|
17
|
-
]
|
|
18
|
-
},
|
|
19
|
-
"rooms": [
|
|
20
|
-
{
|
|
21
|
-
"name": "Puyallup Squatter Den",
|
|
22
|
-
"description": "A burnt-out tenement with boarded windows and jury-rigged electronics.",
|
|
23
|
-
"tags": [
|
|
24
|
-
"residence"
|
|
25
|
-
],
|
|
26
|
-
"supportedLifestyles": {
|
|
27
|
-
"residenceTiers": [
|
|
28
|
-
"Puyallup Squatter Den"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"exits": [
|
|
32
|
-
{
|
|
33
|
-
"direction": "north",
|
|
34
|
-
"targetRoom": "Black Alley"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
"isStartRoom": true
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"name": "Black Alley",
|
|
41
|
-
"description": "A narrow passage where deals go down in the dark.",
|
|
42
|
-
"tags": [
|
|
43
|
-
"street",
|
|
44
|
-
"vice"
|
|
45
|
-
],
|
|
46
|
-
"supportedLifestyles": {
|
|
47
|
-
"habitTags": [
|
|
48
|
-
"Drugs"
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
"exits": [
|
|
52
|
-
{
|
|
53
|
-
"direction": "south",
|
|
54
|
-
"targetRoom": "Puyallup Squatter Den"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"direction": "east",
|
|
58
|
-
"targetRoom": "Junk Market"
|
|
59
|
-
}
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"name": "Junk Market",
|
|
64
|
-
"description": "A tangle of booths, neon lights, and fence deals.",
|
|
65
|
-
"tags": [
|
|
66
|
-
"market"
|
|
67
|
-
],
|
|
68
|
-
"exits": [
|
|
69
|
-
{
|
|
70
|
-
"direction": "west",
|
|
71
|
-
"targetRoom": "Black Alley"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"direction": "north",
|
|
75
|
-
"targetRoom": "Rusted Clinic"
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "Rusted Clinic",
|
|
81
|
-
"description": "A makeshift street doc's office with bloodstains on the gurney.",
|
|
82
|
-
"tags": [
|
|
83
|
-
"employment"
|
|
84
|
-
],
|
|
85
|
-
"supportedLifestyles": {
|
|
86
|
-
"employmentRoles": [
|
|
87
|
-
"Street Doc"
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"exits": [
|
|
91
|
-
{
|
|
92
|
-
"direction": "south",
|
|
93
|
-
"targetRoom": "Junk Market"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"direction": "east",
|
|
97
|
-
"targetRoom": "Downtown Gateway"
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"name": "Downtown Gateway",
|
|
103
|
-
"description": "A corporate checkpoint connecting the Barrens to the arcology.",
|
|
104
|
-
"tags": [
|
|
105
|
-
"checkpoint"
|
|
106
|
-
],
|
|
107
|
-
"exits": [
|
|
108
|
-
{
|
|
109
|
-
"direction": "west",
|
|
110
|
-
"targetRoom": "Rusted Clinic"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"direction": "north",
|
|
114
|
-
"targetRoom": "Downtown Condo"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"direction": "east",
|
|
118
|
-
"targetRoom": "Everett Dockyard Loft",
|
|
119
|
-
"keyRequired": "Dockyard Key"
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "Downtown Condo",
|
|
125
|
-
"description": "A sleek, minimalist high-rise apartment.",
|
|
126
|
-
"tags": [
|
|
127
|
-
"residence"
|
|
128
|
-
],
|
|
129
|
-
"supportedLifestyles": {
|
|
130
|
-
"residenceTiers": [
|
|
131
|
-
"Downtown Condo"
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
"exits": [
|
|
135
|
-
{
|
|
136
|
-
"direction": "south",
|
|
137
|
-
"targetRoom": "Downtown Gateway"
|
|
138
|
-
}
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"name": "Everett Dockyard Loft",
|
|
143
|
-
"description": "An open-plan converted warehouse with exposed steel beams and encrypted Matrix ports.",
|
|
144
|
-
"tags": [
|
|
145
|
-
"residence",
|
|
146
|
-
"employment"
|
|
147
|
-
],
|
|
148
|
-
"supportedLifestyles": {
|
|
149
|
-
"residenceTiers": [
|
|
150
|
-
"Everett Dockyard Loft"
|
|
151
|
-
],
|
|
152
|
-
"employmentRoles": [
|
|
153
|
-
"Decker"
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"exits": [
|
|
157
|
-
{
|
|
158
|
-
"direction": "west",
|
|
159
|
-
"targetRoom": "Downtown Gateway"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"direction": "north",
|
|
163
|
-
"targetRoom": "Matrix Terminal"
|
|
164
|
-
}
|
|
165
|
-
]
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "Matrix Terminal",
|
|
169
|
-
"description": "A glowing pillar of wireless signals and data nodes.",
|
|
170
|
-
"tags": [
|
|
171
|
-
"puzzle"
|
|
172
|
-
],
|
|
173
|
-
"exits": [
|
|
174
|
-
{
|
|
175
|
-
"direction": "south",
|
|
176
|
-
"targetRoom": "Everett Dockyard Loft"
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"direction": "north",
|
|
180
|
-
"targetRoom": "Ares Data Nexus"
|
|
181
|
-
}
|
|
182
|
-
]
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "Ares Data Nexus",
|
|
186
|
-
"description": "A cold server vault protected by ICE and steel.",
|
|
187
|
-
"tags": [
|
|
188
|
-
"bank",
|
|
189
|
-
"locked"
|
|
190
|
-
],
|
|
191
|
-
"exits": [
|
|
192
|
-
{
|
|
193
|
-
"direction": "south",
|
|
194
|
-
"targetRoom": "Matrix Terminal"
|
|
195
|
-
}
|
|
196
|
-
]
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
"npcs": [
|
|
200
|
-
{
|
|
201
|
-
"name": "Doc Trencher",
|
|
202
|
-
"dialogue": [
|
|
203
|
-
"I patch you up, no questions asked.",
|
|
204
|
-
"Hope you got the creds this time.",
|
|
205
|
-
"Some wounds tech can't fix."
|
|
206
|
-
],
|
|
207
|
-
"lifestyleChoices": [
|
|
208
|
-
{
|
|
209
|
-
"type": "employment",
|
|
210
|
-
"metadata": {
|
|
211
|
-
"jobTitle": "Street Doc"
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"startRoom": "Rusted Clinic"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"name": "Nyx",
|
|
219
|
-
"dialogue": [
|
|
220
|
-
"The grid sings if you know how to listen.",
|
|
221
|
-
"Ares doesn't guard secrets \u2014 it cages them.",
|
|
222
|
-
"This world\u2019s written in code, omae."
|
|
223
|
-
],
|
|
224
|
-
"lifestyleChoices": [
|
|
225
|
-
{
|
|
226
|
-
"type": "residence",
|
|
227
|
-
"metadata": {
|
|
228
|
-
"lifestyle": "Everett Dockyard Loft"
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"type": "employment",
|
|
233
|
-
"metadata": {
|
|
234
|
-
"jobTitle": "Decker"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"type": "hobby",
|
|
239
|
-
"metadata": {
|
|
240
|
-
"hobbies": [
|
|
241
|
-
"Hacking"
|
|
242
|
-
]
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
],
|
|
246
|
-
"startRoom": "Matrix Terminal"
|
|
247
|
-
}
|
|
248
|
-
],
|
|
249
|
-
"items": [
|
|
250
|
-
{
|
|
251
|
-
"name": "Stim Patch",
|
|
252
|
-
"description": "Keeps you moving even with a hole in your gut.",
|
|
253
|
-
"size": "Small",
|
|
254
|
-
"category": "Medical",
|
|
255
|
-
"shape": "Square",
|
|
256
|
-
"color": "White",
|
|
257
|
-
"texture": "Sticky",
|
|
258
|
-
"rating": "Common",
|
|
259
|
-
"weight": 0.1,
|
|
260
|
-
"room": "Rusted Clinic"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"name": "Dockyard Key",
|
|
264
|
-
"description": "A chipped brass key with a digital lock override.",
|
|
265
|
-
"size": "Small",
|
|
266
|
-
"category": "Key",
|
|
267
|
-
"shape": "Rectangle",
|
|
268
|
-
"color": "Bronze",
|
|
269
|
-
"texture": "Rough",
|
|
270
|
-
"rating": "Rare",
|
|
271
|
-
"weight": 0.1,
|
|
272
|
-
"room": "Black Alley"
|
|
273
|
-
},
|
|
274
|
-
{
|
|
275
|
-
"name": "Credstick: Nyx\u2019s Cache",
|
|
276
|
-
"description": "A polished credstick with a spiderweb etching.",
|
|
277
|
-
"size": "Small",
|
|
278
|
-
"category": "CurrencyContainer",
|
|
279
|
-
"shape": "Cylinder",
|
|
280
|
-
"color": "Black",
|
|
281
|
-
"texture": "Glossy",
|
|
282
|
-
"rating": "Common",
|
|
283
|
-
"weight": 0.2,
|
|
284
|
-
"currencyAmount": 2500,
|
|
285
|
-
"room": "Ares Data Nexus"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "Encrypted File Shard",
|
|
289
|
-
"description": "A glowing crystal with shimmering data inside.",
|
|
290
|
-
"size": "Small",
|
|
291
|
-
"category": "Book",
|
|
292
|
-
"shape": "Shard",
|
|
293
|
-
"color": "Blue",
|
|
294
|
-
"texture": "Smooth",
|
|
295
|
-
"rating": "Rare",
|
|
296
|
-
"weight": 0.1,
|
|
297
|
-
"room": "Matrix Terminal",
|
|
298
|
-
"details": "Decode to unlock hidden access protocol."
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"name": "Budget Arms C-2",
|
|
302
|
-
"description": "A cheap and dirty pistol. It works, usually.",
|
|
303
|
-
"size": "Small",
|
|
304
|
-
"category": "Weapon",
|
|
305
|
-
"shape": "pistol",
|
|
306
|
-
"color": "gray",
|
|
307
|
-
"texture": "matte",
|
|
308
|
-
"rating": "Common",
|
|
309
|
-
"weight": 1.2,
|
|
310
|
-
"room": "Puyallup Squatter Den"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"name": "Secondhand Credstick",
|
|
314
|
-
"description": "Scratched up and half-charged. Holds enough for a meal.",
|
|
315
|
-
"size": "Small",
|
|
316
|
-
"category": "CurrencyContainer",
|
|
317
|
-
"shape": "cylinder",
|
|
318
|
-
"color": "blue",
|
|
319
|
-
"texture": "smooth",
|
|
320
|
-
"rating": "Common",
|
|
321
|
-
"weight": 0.2,
|
|
322
|
-
"currencyAmount": 150,
|
|
323
|
-
"room": "Puyallup Squatter Den"
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
"name": "Leather Duster",
|
|
327
|
-
"description": "Worn leather jacket with armored lining.",
|
|
328
|
-
"size": "Medium",
|
|
329
|
-
"category": "BodyArmor",
|
|
330
|
-
"shape": "coat",
|
|
331
|
-
"color": "brown",
|
|
332
|
-
"texture": "rough",
|
|
333
|
-
"rating": "Common",
|
|
334
|
-
"weight": 3.0,
|
|
335
|
-
"room": "Puyallup Squatter Den"
|
|
336
|
-
}
|
|
337
|
-
],
|
|
338
|
-
"puzzles": [
|
|
339
|
-
{
|
|
340
|
-
"requiredItem": "Encrypted File Shard",
|
|
341
|
-
"requiredPhrase": "access protocol",
|
|
342
|
-
"riddle": "Invisible but everywhere. Unlock me, and the vault obeys.",
|
|
343
|
-
"successMessage": "A secure handshake pings back: ACCESS GRANTED.",
|
|
344
|
-
"failureMessage": "The protocol rejects your signal. Try again.",
|
|
345
|
-
"hobbyTags": [
|
|
346
|
-
"Hacking"
|
|
347
|
-
],
|
|
348
|
-
"room": "Matrix Terminal",
|
|
349
|
-
"rewardItem": "Credstick: Nyx\u2019s Cache"
|
|
350
|
-
}
|
|
351
|
-
],
|
|
352
|
-
"player": {
|
|
353
|
-
"startRoom": "Puyallup Squatter Den",
|
|
354
|
-
"lifestyleChoices": [
|
|
355
|
-
{
|
|
356
|
-
"type": "residence",
|
|
357
|
-
"metadata": {
|
|
358
|
-
"lifestyle": "Puyallup Squatter Den"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
"type": "employment",
|
|
363
|
-
"metadata": {
|
|
364
|
-
"jobTitle": "Runner"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"type": "vice",
|
|
369
|
-
"metadata": {
|
|
370
|
-
"addictions": [
|
|
371
|
-
"Stim"
|
|
372
|
-
],
|
|
373
|
-
"habits": [
|
|
374
|
-
"Risk"
|
|
375
|
-
]
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
]
|
|
379
|
-
}
|
|
380
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abstracts.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/abstracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAyBtC;;;GAGG;AACH,MAAM,OAAgB,aAAa;IACvB,KAAK,CAAS;IACd,MAAM,CAAS;IACf,MAAM,CAAS;IACf,kBAAkB,CAAoB;CAcjD;AAED;;;;GAIG;AACH,MAAM,OAAgB,YAAa,SAAQ,YAAY;IAC9C,IAAI,CAAS;IACb,WAAW,CAAS;IACpB,KAAK,CAAgC;IACrC,SAAS,CAAY;IACrB,MAAM,CAAU;IAChB,QAAQ,CAAS;IACjB,WAAW,CAAU;CAW7B;AAED;;;;GAIG;AACH,MAAM,OAAgB,YAAY;IAChC,KAAK,CAAO,CAAE,uBAAuB;IACrC,KAAK,CAAO,CAAE,6BAA6B;IAC3C,QAAQ,CAAU;IAClB,oBAAoB,CAAU;IAC9B,MAAM,CAAS;IACf,UAAU,CAAU;CAMrB;AAED;;;GAGG;AACH,MAAM,OAAgB,iBAAiB;IAC3B,KAAK,CAAoB;IACzB,MAAM,CAAS;CAS1B;AAED;;;GAGG;AACH,MAAM,OAAgB,YAAY;IACzB,IAAI,CAAS;IACb,IAAI,CAAS;IACb,WAAW,CAAS;IACpB,IAAI,CAAO;IACX,QAAQ,CAAW;IACnB,KAAK,CAAS;IACd,KAAK,CAAS;IACd,OAAO,CAAS;IAChB,MAAM,CAAS;IACf,MAAM,CAAS;CAGvB;AAED;;;;GAIG;AACH,MAAM,OAAgB,cAAc;IACzB,WAAW,CAAS;IACnB,gBAAgB,CAAO;IACvB,UAAU,CAAY;IACtB,UAAU,CAAkB;IAC5B,kBAAkB,CAAS;IAC3B,OAAO,CAAS;CAsB3B;AAED;;;;GAIG;AACH,MAAM,OAAgB,cAAc;IACxB,MAAM,CAAS;IACf,MAAM,CAAU;CAc3B"}
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import { Room } from '../models/room.js';
|
|
2
|
-
import { Door } from '../models/door.js';
|
|
3
|
-
import { Item } from '../models/item.js';
|
|
4
|
-
import { Scene } from '../models/scene.js';
|
|
5
|
-
import { Player } from '../models/player.js';
|
|
6
|
-
import { Inventory } from '../models/inventory.js';
|
|
7
|
-
import { Puzzle } from '../models/puzzle.js';
|
|
8
|
-
import { NPC } from '../models/npc.js';
|
|
9
|
-
import { PlayerEquipment, RoomConfiguration } from './types.js';
|
|
10
|
-
import { Size, Category, Rating, Direction } from '../types/enums.js';
|
|
11
|
-
export interface IRooms {
|
|
12
|
-
[key: string]: Room;
|
|
13
|
-
}
|
|
14
|
-
export interface IMainGameConfig {
|
|
15
|
-
debug?: boolean;
|
|
16
|
-
logFilePath: string;
|
|
17
|
-
}
|
|
18
|
-
export interface IRoomConfig {
|
|
19
|
-
name: string;
|
|
20
|
-
description: string;
|
|
21
|
-
roomType: string;
|
|
22
|
-
exits?: Map<Direction, Door | string>;
|
|
23
|
-
inventory?: Inventory;
|
|
24
|
-
puzzle?: Puzzle;
|
|
25
|
-
isStartRoom?: boolean;
|
|
26
|
-
tags?: string[];
|
|
27
|
-
supportedLifestyles?: {
|
|
28
|
-
residenceTypes?: ('Street' | 'Squatter' | 'Low' | 'Middle' | 'High' | 'Luxury')[];
|
|
29
|
-
employmentRoles?: string[];
|
|
30
|
-
habitTags?: string[];
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export interface IPuzzleConstructorConfig {
|
|
34
|
-
name: string;
|
|
35
|
-
requiredItem?: Item;
|
|
36
|
-
requiredPhrase?: string;
|
|
37
|
-
riddle?: string;
|
|
38
|
-
rewardItem?: Item;
|
|
39
|
-
successMessage?: string;
|
|
40
|
-
failureMessage?: string;
|
|
41
|
-
hobbyTags?: string[];
|
|
42
|
-
}
|
|
43
|
-
export interface ISceneConstructorConfig {
|
|
44
|
-
player: Player;
|
|
45
|
-
roomConfiguration: RoomConfiguration;
|
|
46
|
-
currency?: {
|
|
47
|
-
type: string;
|
|
48
|
-
carrierItemSizes: Size[];
|
|
49
|
-
authorityRoomTags: string[];
|
|
50
|
-
};
|
|
51
|
-
residenceTiers: string[];
|
|
52
|
-
puzzles?: Puzzle[];
|
|
53
|
-
items?: Item[];
|
|
54
|
-
}
|
|
55
|
-
export interface IPlayer {
|
|
56
|
-
readonly _playerName: string;
|
|
57
|
-
currentLocation: Room;
|
|
58
|
-
inventory: Inventory;
|
|
59
|
-
equipment: PlayerEquipment;
|
|
60
|
-
maxCarryingWeight: number;
|
|
61
|
-
}
|
|
62
|
-
export interface IPlayerConstructorConfig {
|
|
63
|
-
playerName: string;
|
|
64
|
-
startLocation?: Room;
|
|
65
|
-
inventoryItems?: Item[];
|
|
66
|
-
initialEquipment?: PlayerEquipment;
|
|
67
|
-
lifestyleChoices?: LifestyleChoices;
|
|
68
|
-
}
|
|
69
|
-
export interface ILogger {
|
|
70
|
-
write(message: string): void;
|
|
71
|
-
}
|
|
72
|
-
export interface ICommand {
|
|
73
|
-
execute(args: string[]): string;
|
|
74
|
-
}
|
|
75
|
-
export interface ICommandContext {
|
|
76
|
-
actor: Player;
|
|
77
|
-
scene: Scene;
|
|
78
|
-
rooms?: IRooms;
|
|
79
|
-
}
|
|
80
|
-
export interface IDoorConstructorConfig {
|
|
81
|
-
roomA: Room;
|
|
82
|
-
roomB: Room;
|
|
83
|
-
isLocked?: boolean;
|
|
84
|
-
unlockItemOrSolution?: string;
|
|
85
|
-
}
|
|
86
|
-
export interface IItemConstructorConfig {
|
|
87
|
-
name: string;
|
|
88
|
-
description: string;
|
|
89
|
-
size: Size;
|
|
90
|
-
category: Category;
|
|
91
|
-
shape: string;
|
|
92
|
-
color: string;
|
|
93
|
-
texture: string;
|
|
94
|
-
rating: Rating;
|
|
95
|
-
weight: number;
|
|
96
|
-
details?: string;
|
|
97
|
-
satisfiesLifestyle?: {
|
|
98
|
-
addictionTypes?: string[];
|
|
99
|
-
habitTags?: string[];
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
export interface IItem {
|
|
103
|
-
type: string;
|
|
104
|
-
name: string;
|
|
105
|
-
description: string;
|
|
106
|
-
content?: string;
|
|
107
|
-
}
|
|
108
|
-
export interface IPuzzle {
|
|
109
|
-
requiredItem?: IItem[];
|
|
110
|
-
requiredPhrase: string;
|
|
111
|
-
riddle: string;
|
|
112
|
-
rewardItem: IItem;
|
|
113
|
-
successMessage: string;
|
|
114
|
-
failureMessage: string;
|
|
115
|
-
hobbyTags?: string[];
|
|
116
|
-
}
|
|
117
|
-
export interface IExit {
|
|
118
|
-
direction: string;
|
|
119
|
-
targetRoom: string;
|
|
120
|
-
keyRequired?: string;
|
|
121
|
-
}
|
|
122
|
-
export interface IRoomConfiguration {
|
|
123
|
-
name: string;
|
|
124
|
-
description: string;
|
|
125
|
-
isStartRoom?: boolean;
|
|
126
|
-
roomType: string;
|
|
127
|
-
items?: IItem[];
|
|
128
|
-
puzzle?: IPuzzle;
|
|
129
|
-
exits?: IExit[];
|
|
130
|
-
npcs?: NPC[];
|
|
131
|
-
}
|
|
132
|
-
export interface LifestyleChoice {
|
|
133
|
-
type: 'residence' | 'employment' | 'vice' | 'hobby';
|
|
134
|
-
metadata: ResidenceChoice | EmploymentChoice | ViceChoice | HobbyChoice;
|
|
135
|
-
}
|
|
136
|
-
export interface ResidenceChoice {
|
|
137
|
-
lifestyle: string;
|
|
138
|
-
description?: string;
|
|
139
|
-
location?: string;
|
|
140
|
-
}
|
|
141
|
-
export interface EmploymentChoice {
|
|
142
|
-
jobTitle: string;
|
|
143
|
-
employer?: string;
|
|
144
|
-
SINRegistered?: boolean;
|
|
145
|
-
}
|
|
146
|
-
export interface ViceChoice {
|
|
147
|
-
addictions?: string[];
|
|
148
|
-
habits?: string[];
|
|
149
|
-
mentalHealthFlags?: string[];
|
|
150
|
-
}
|
|
151
|
-
export type HobbyChoice = string;
|
|
152
|
-
export type LifestyleChoices = LifestyleChoice[];
|
|
153
|
-
export interface ISceneSeedJson {
|
|
154
|
-
name: string;
|
|
155
|
-
currency: {
|
|
156
|
-
type: string;
|
|
157
|
-
carrierItemSizes: string[];
|
|
158
|
-
authorityRoomTags: string[];
|
|
159
|
-
};
|
|
160
|
-
rooms: IRoomConfiguration[];
|
|
161
|
-
residenceTiers: string[];
|
|
162
|
-
npcs?: Array<{
|
|
163
|
-
name: string;
|
|
164
|
-
dialogue?: string[];
|
|
165
|
-
lifestyleChoices: LifestyleChoice[];
|
|
166
|
-
startRoom: string;
|
|
167
|
-
}>;
|
|
168
|
-
items?: Array<{
|
|
169
|
-
name: string;
|
|
170
|
-
description: string;
|
|
171
|
-
size: keyof typeof Size;
|
|
172
|
-
category: keyof typeof Category;
|
|
173
|
-
shape: string;
|
|
174
|
-
color: string;
|
|
175
|
-
texture: string;
|
|
176
|
-
rating: keyof typeof Rating;
|
|
177
|
-
weight: number;
|
|
178
|
-
details?: string;
|
|
179
|
-
currencyAmount?: number;
|
|
180
|
-
satisfiesLifestyle?: {
|
|
181
|
-
addictionTypes?: string[];
|
|
182
|
-
habitTags?: string[];
|
|
183
|
-
};
|
|
184
|
-
room: string;
|
|
185
|
-
}>;
|
|
186
|
-
puzzles?: Array<{
|
|
187
|
-
name: string;
|
|
188
|
-
requiredItem?: string;
|
|
189
|
-
requiredPhrase?: string;
|
|
190
|
-
riddle?: string;
|
|
191
|
-
successMessage?: string;
|
|
192
|
-
failureMessage?: string;
|
|
193
|
-
hobbyTags?: string[];
|
|
194
|
-
room: string;
|
|
195
|
-
rewardItem: string;
|
|
196
|
-
}>;
|
|
197
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/types.ts"],"names":[],"mappings":""}
|