Skip to content

Commit 4ef54b6

Browse files
committed
0.4
1 parent b52849b commit 4ef54b6

205 files changed

Lines changed: 6249 additions & 1646 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/out
33
/include
44
*.tsbuildinfo
5+
flamework.build

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
<img width="350" src="assets/icon.png">
33
</p>
44

5-
# tower-jjt
5+
# jjt-money-empire
66

77
Source code for the Roblox game ["JJT Money Empire"](https://www.roblox.com/games/16438564807/JJT-Money-Empire)
88

99
## Development
1010

1111
Good luck sorting through this mess
12+
lol fr tho this entire infra is a hunk of garbage you cant decipher this nonsense even if u tried

assets/skillification.png

16.2 KB
Loading

default.project.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "tower-jjt",
2+
"name": "jjt-money-empire",
33
"globIgnorePaths": ["**/package.json", "**/tsconfig.json"],
44
"tree": {
55
"$className": "DataModel",
@@ -20,9 +20,6 @@
2020
},
2121
"@flamework": {
2222
"$path": "node_modules/@flamework"
23-
},
24-
"@rbxutil": {
25-
"$path": "node_modules/@rbxutil"
2623
}
2724
}
2825
},

package-lock.json

Lines changed: 22 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "tower-jjt",
2+
"name": "jjt-money-empire",
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",
@@ -9,18 +9,18 @@
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git+https://github.com/evilbocchi/tower-jjt.git"
12+
"url": "git+https://github.com/evilbocchi/jjt-money-empire.git"
1313
},
1414
"keywords": [],
1515
"author": "",
1616
"license": "ISC",
1717
"bugs": {
18-
"url": "https://github.com/evilbocchi/tower-jjt/issues"
18+
"url": "https://github.com/evilbocchi/jjt-money-empire/issues"
1919
},
20-
"homepage": "https://github.com/evilbocchi/tower-jjt#readme",
20+
"homepage": "https://github.com/evilbocchi/jjt-money-empire#readme",
2121
"devDependencies": {
2222
"@rbxts/compiler-types": "^2.3.0-types.0",
23-
"@rbxts/types": "^1.0.709",
23+
"@rbxts/types": "^1.0.771",
2424
"@typescript-eslint/eslint-plugin": "^6.7.5",
2525
"@typescript-eslint/parser": "^6.7.5",
2626
"eslint": "^8.46.0",
@@ -37,9 +37,10 @@
3737
"@rbxts/camera-shaker": "^1.0.8",
3838
"@rbxts/chat-service": "^1.3.0",
3939
"@rbxts/datastore2": "^1.4.0-ts.0",
40+
"@rbxts/firebase-rtdb": "^1.0.5",
41+
"@rbxts/partcache": "^1.1.1",
4042
"@rbxts/profileservice": "^1.4.2",
4143
"@rbxts/services": "^1.5.1",
42-
"@rbxts/topbar-plus": "^2.0.9",
43-
"@rbxutil/signal": "^2.0.1"
44+
"@rbxts/topbar-plus": "^2.0.9"
4445
}
4546
}

src/client/constants.ts

Lines changed: 116 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { Players, ReplicatedStorage } from "@rbxts/services";
2+
import { AREAS } from "shared/constants";
23

34
export const LOCAL_PLAYER = Players.LocalPlayer;
45
export const MOUSE = LOCAL_PLAYER.GetMouse();
56
export const PLAYER_GUI = LOCAL_PLAYER.WaitForChild("PlayerGui") as StarterGui;
67

78
export const INTERFACE = PLAYER_GUI.WaitForChild("Interface") as ScreenGui;
89

9-
export const SERVER_INFO_LABEL = INTERFACE.WaitForChild("ServerInfoLabel") as TextLabel;
10-
1110
export const SIDEBAR_BUTTONS = INTERFACE.WaitForChild("SidebarButtons") as Frame;
1211

1312
export const ADAPTIVE_TAB = INTERFACE.WaitForChild("AdaptiveTab") as Frame & {
@@ -22,27 +21,71 @@ export const ADAPTIVE_TAB_MAIN_WINDOW = ADAPTIVE_TAB.WaitForChild("MainWindow")
2221

2322
};
2423

24+
export const TRACKED_QUEST_WINDOW = INTERFACE.WaitForChild("TrackedQuestWindow") as Frame & {
25+
Background: Folder & {
26+
Frame: Frame,
27+
ProgressBar: CanvasGroup & {
28+
UIStroke: UIStroke,
29+
Fill: Frame,
30+
BarLabel: TextLabel
31+
}
32+
},
33+
Completion: Frame & {
34+
ImageLabel: ImageLabel,
35+
TextLabel: TextLabel & {
36+
UIStroke: UIStroke
37+
},
38+
RewardLabel: TextLabel & {
39+
UIStroke: UIStroke
40+
}
41+
},
42+
Reset: Frame & {
43+
ImageLabel: ImageLabel,
44+
TextLabel: TextLabel & {
45+
UIStroke: UIStroke
46+
},
47+
AmountLabel: TextLabel & {
48+
UIStroke: UIStroke
49+
}
50+
},
51+
DescriptionLabel: TextLabel,
52+
TitleLabel: TextLabel
53+
}
54+
55+
export const DETAILS_WINDOW = INTERFACE.WaitForChild("DetailsWindow") as Frame & {
56+
PositionLabel: TextLabel,
57+
FundsBombLabel: TextLabel
58+
}
59+
60+
export const SAVING_DATA_LABEL = INTERFACE.WaitForChild("SavingDataLabel") as TextLabel;
61+
2562
type ItemListContainer = Frame & {
2663
ItemList: ScrollingFrame;
2764
}
2865

2966
export const INVENTORY_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Inventory") as ItemListContainer & {
3067
Empty: Frame
3168
};
32-
export const SHOP_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Shop") as ItemListContainer & {
69+
export const SHOP_WINDOW = INTERFACE.WaitForChild("ShopWindow") as Frame & {
3370
PurchaseWindow: Frame & {
3471
ViewportFrame: ViewportFrame,
3572
Title: Frame & {
3673
DifficultyLabel: ImageLabel,
3774
ItemNameLabel: TextLabel
3875
},
39-
ItemInfo: Frame & {
40-
DescriptionFrame: ScrollingFrame & {
41-
DescriptionLabel: TextLabel,
42-
}
43-
Purchase: TextButton & {
44-
PriceLabel: TextLabel
45-
}
76+
DescriptionFrame: ScrollingFrame & {
77+
DescriptionLabel: TextLabel,
78+
CreatorLabel: TextLabel,
79+
PlaceableAreasLabel: TextLabel,
80+
},
81+
Purchase: TextButton & {
82+
PriceLabel: TextLabel
83+
},
84+
CloseButton: TextButton
85+
},
86+
ItemListWrapper: Frame & {
87+
ItemList: ItemListContainer & {
88+
BuyAll: TextButton,
4689
}
4790
}
4891
};
@@ -107,7 +150,7 @@ export const MUTE_BUTTON_WINDOW = INTERFACE.WaitForChild("MuteButtonWindow") as
107150
}
108151
}
109152

110-
export type StatContainer = {
153+
export type StatContainer = Frame & {
111154
StatLabel: TextLabel;
112155
AmountLabel: TextLabel;
113156
}
@@ -117,10 +160,18 @@ export const STATS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Stats") as Fr
117160
Playtime: StatContainer;
118161
SessionTime: StatContainer;
119162
LongestSessionTime: StatContainer;
163+
RawPurifierClicks: StatContainer;
120164
}
121165
};
122166

123-
export const LOADED_ITEM_MODELS = ReplicatedStorage.WaitForChild("LoadedItemModels") as Folder;
167+
const itemModels = new Map<string, Model>();
168+
const loaded = ReplicatedStorage.WaitForChild("LoadedItemModels").GetChildren();
169+
for (const value of loaded) {
170+
if (value.IsA("ObjectValue")) {
171+
itemModels.set(value.Name, value.Value as Model);
172+
}
173+
}
174+
export const ITEM_MODELS = itemModels;
124175

125176
export const COMMANDS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Commands") as Frame & {
126177
CommandsList: ScrollingFrame & {
@@ -129,7 +180,58 @@ export const COMMANDS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Commands")
129180
};
130181

131182
export const SHARE_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Share") as Frame & {
132-
JoinLink: Frame & {
183+
Code: Frame & {
133184
Input: TextBox
134185
}
135-
};
186+
};
187+
188+
export const SETTINGS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Settings") as Frame & {
189+
InteractionOptions: Frame & {
190+
191+
}
192+
};
193+
194+
export const LOGS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Logs") as Frame & {
195+
LogList: Frame & {
196+
197+
}
198+
};
199+
200+
export const QUESTS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Quests") as Frame & {
201+
Level: Frame & {
202+
Current: TextButton & {
203+
NotificationLabel: ImageLabel,
204+
LevelLabel: TextLabel
205+
},
206+
ProgressBar: Frame & {
207+
Fill: Frame,
208+
BarLabel: TextLabel
209+
}
210+
},
211+
QuestList: Frame & {
212+
213+
}
214+
};
215+
216+
export type LPUpgradeOption = Frame & {
217+
Button: ImageButton & {
218+
ValueLabel: TextLabel
219+
},
220+
DescriptionLabel: TextLabel
221+
}
222+
223+
export const LEVELS_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Levels") as Frame & {
224+
LevelPointOptions: Frame & {
225+
Respec: TextButton,
226+
LevelPointsLabel: TextLabel
227+
},
228+
UpgradeOptions: Frame & {
229+
Stone: LPUpgradeOption,
230+
WhiteGem: LPUpgradeOption,
231+
Crystal: LPUpgradeOption
232+
}
233+
};
234+
235+
export const WARP_WINDOW = ADAPTIVE_TAB_MAIN_WINDOW.WaitForChild("Warp") as Frame & {
236+
[area in keyof (typeof AREAS)]: ImageButton
237+
};

0 commit comments

Comments
 (0)