forked from raine/easyuo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdasda.txt
More file actions
53 lines (47 loc) · 969 Bytes
/
Copy pathdasda.txt
File metadata and controls
53 lines (47 loc) · 969 Bytes
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
start:
gosub find_bandages
; journal index position before attempting to bandage
set %cur #jIndex
gosub bandage_last
gosub check_journal
sub find_bandages
finditem ZLF C_ , #BackPackID
set #lobjectID #findid
return
sub bandage_last
event macro 17
target
event macro 22
return
sub check_journal
while #true
{
if ( #JINDEX > %cur )
{
set %foo #JINDEX
for %i %cur %foo
{
scanjournal %i
;event SysMessage #journal
if ( not_damaged in #journal )
{
goto start
}
if ( finish_applying in #journal )
{
goto start
}
if ( You_heal_what_little_damage_your_patient_had. in #journal )
{
goto start
}
if ( barely_help in #journal )
{
goto start
}
}
set %cur %foo
;set %cur #jIndex
}
}
return