This repository has been archived by the owner on Apr 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
JJsGOP.simba
90 lines (68 loc) · 1.67 KB
/
JJsGOP.simba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{*
JJ's Great Orb Project
Forum thread: -
Development thread: https://villavu.com/forum/showthread.php?p=1332155
Creator: https://villavu.com/forum/member.php?u=70743
Requirements:
- Properly installed Simba: https://villavu.com/forum/showthread.php?t=47714
- Screen size fixed, graphics lowest, interface 'Old School', Slim Headers enabled, 0% transparency, etc.
- Move the file great_orb_project.png to '/Simba/Includes/SPS/img/runescape_other'
- Make sure you have all extra required Simba files in the folder 'JJsGOP'
- You need 50 RuneCrafting to play the Great Orb Project minigame
- Start the script in the Great Orb Project hall, located on the 3rd floor of the Wizard Tower
*}
program JJsGOP;
{$DEFINE SMART}
{$i srl-6/srl.simba}
{$i sps/lib/sps-rs3.simba}
{$i JJsGOP/Data.simba}
{$i JJsGOP/Altars.simba}
{$i JJsGOP/Lobby.simba}
{$i JJsGOP/Positioning.simba}
// Setup
procedure setup();
begin
// SRL
smartEnableDrawing := true;
clearDebug();
setupSRL();
// GOP
loadData();
setupSPS();
//mainScreen.setAngle(MS_ANGLE_HIGH);
end;
procedure talk();
var
text: String;
boxes: TBoxArray;
begin
writeln(conversationBox.getSpeaker);
writeln(conversationBox.getChat);
writeln(toStr(conversationBox.getOptions(boxes)));
end;
// Crafts rune at the current altar
procedure craftRunes();
var
area: Integer;
begin
area := getArea();
writeln('Area: ' + IntToStr(area));
if area >= 0 then
begin
// TODO: check if nearby altar
walkToAltar(area);
clickAltar(area);
end;
end;
// Joins a team
procedure joinTeam();
begin
joinWizard(_lobby.acantha);
selectYes();
end;
// Mainloop
begin
setup();
//craftRunes();
joinTeam();
end.