@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,211 +1,190 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
3
|
-
"residenceTiers": [
|
|
4
|
-
"Redmond Safehouse"
|
|
5
|
-
],
|
|
2
|
+
"name": "Shadows Over Touristville",
|
|
6
3
|
"currency": {
|
|
7
4
|
"type": "nuyen",
|
|
8
5
|
"carrier": "credstick",
|
|
9
|
-
"
|
|
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": "
|
|
20
|
-
"description": "A
|
|
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": "
|
|
32
|
-
"targetRoom": "
|
|
24
|
+
"direction": "south",
|
|
25
|
+
"targetRoom": "Touristville Market"
|
|
33
26
|
}
|
|
34
|
-
]
|
|
35
|
-
"isStartRoom": true
|
|
27
|
+
]
|
|
36
28
|
},
|
|
37
29
|
{
|
|
38
|
-
"name": "
|
|
39
|
-
"description": "
|
|
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
|
-
"
|
|
46
|
-
"Fixer"
|
|
47
|
-
]
|
|
34
|
+
"employmentChoices": ["Street Vendor"]
|
|
48
35
|
},
|
|
49
36
|
"exits": [
|
|
50
37
|
{
|
|
51
|
-
"direction": "
|
|
52
|
-
"targetRoom": "
|
|
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": "
|
|
43
|
+
"targetRoom": "Capsule Hotel"
|
|
62
44
|
}
|
|
63
45
|
]
|
|
64
46
|
},
|
|
65
47
|
{
|
|
66
|
-
"name": "
|
|
67
|
-
"description": "A
|
|
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
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
52
|
+
"vices": {
|
|
53
|
+
"addictions": ["Soystim"],
|
|
54
|
+
"habits": ["Late-Night Snacking"]
|
|
55
|
+
}
|
|
75
56
|
},
|
|
76
57
|
"exits": [
|
|
77
58
|
{
|
|
78
|
-
"direction": "
|
|
79
|
-
"targetRoom": "
|
|
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": "
|
|
85
|
-
"description": "A
|
|
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": "
|
|
92
|
-
"targetRoom": "
|
|
74
|
+
"direction": "up",
|
|
75
|
+
"targetRoom": "Stuffer Shack"
|
|
93
76
|
},
|
|
94
77
|
{
|
|
95
|
-
"direction": "
|
|
96
|
-
"targetRoom": "
|
|
78
|
+
"direction": "east",
|
|
79
|
+
"targetRoom": "Old Bank Vault"
|
|
97
80
|
}
|
|
98
81
|
]
|
|
99
82
|
},
|
|
100
83
|
{
|
|
101
|
-
"name": "
|
|
102
|
-
"description": "
|
|
103
|
-
"tags": [
|
|
104
|
-
|
|
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": "
|
|
109
|
-
"targetRoom": "
|
|
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": "
|
|
150
|
-
"description": "
|
|
100
|
+
"name": "Credstick",
|
|
101
|
+
"description": "A standard-issue credstick loaded with 1,200 nuyen.",
|
|
151
102
|
"size": "Small",
|
|
152
|
-
"category": "
|
|
153
|
-
"shape": "
|
|
154
|
-
"color": "
|
|
155
|
-
"texture": "
|
|
156
|
-
"rating": "
|
|
103
|
+
"category": "currency container",
|
|
104
|
+
"shape": "cylinder",
|
|
105
|
+
"color": "silver",
|
|
106
|
+
"texture": "smooth",
|
|
107
|
+
"rating": "common",
|
|
157
108
|
"weight": 0.1,
|
|
158
|
-
"
|
|
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": "
|
|
175
|
-
"description": "A
|
|
113
|
+
"name": "Hacked Commlink",
|
|
114
|
+
"description": "A burner commlink loaded with encrypted gang coordinates.",
|
|
176
115
|
"size": "Medium",
|
|
177
|
-
"category": "
|
|
178
|
-
"shape": "
|
|
179
|
-
"color": "
|
|
180
|
-
"texture": "
|
|
181
|
-
"rating": "
|
|
182
|
-
"weight":
|
|
183
|
-
"
|
|
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
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
"
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
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 = "
|
|
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 = "
|
|
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 = "
|
|
24
|
-
ArmArmor = "
|
|
25
|
-
BodyArmor = "
|
|
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 = "
|
|
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"] = "
|
|
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"] = "
|
|
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"] = "
|
|
27
|
-
Category["ArmArmor"] = "
|
|
28
|
-
Category["BodyArmor"] = "
|
|
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"] = "
|
|
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;
|
|
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"}
|
package/bundle/typescript/src/commands/game/sideQuest/types/{types.d.ts → player-equipment.d.ts}
RENAMED
|
@@ -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:
|
|
46
|
-
torso:
|
|
47
|
-
legs:
|
|
48
|
-
feet:
|
|
49
|
-
arms:
|
|
50
|
-
gloves:
|
|
51
|
-
leftHand:
|
|
52
|
-
rightHand:
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"player-equipment.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/types/player-equipment.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"lifestyle-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/lifestyle-seed.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"player-seed.js","sourceRoot":"","sources":["../../../../../../../../src/commands/game/sideQuest/types/seed/player-seed.ts"],"names":[],"mappings":""}
|
|
@@ -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 @@
|
|
|
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
|
+
}
|