-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxisha.mod
More file actions
63 lines (52 loc) · 1.05 KB
/
xisha.mod
File metadata and controls
63 lines (52 loc) · 1.05 KB
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
xisha={}
xisha.loc=xishaloc
print("载入洗沙模块,指令为#xisha")
xisha["ok"]=nil
xisha["fail"]=nil
do_xisha=function(xisha_ok,xisha_fail)
xisha["ok"]=xisha_ok
xisha["fail"]=xisha_fail
busytest(xisha.main)
end
xisha["end"]=function(s)
if ((s~="")and(s~=nil)) then
call(xisha[s])
end
xisha["ok"]=nil
xisha["fail"]=nil
end
xisha_end_ok=function()
xisha["end"]("ok")
end
xisha_end_fail=function()
xisha["end"]("fail")
end
xisha["main"]=function()
if quest.stop then
xisha["end"]()
return
end
getstatus(xisha["check"])
end
xisha["check"]=function()
if do_check(xisha["main"]) then
elseif checkstudy(xisha["main"]) then
elseif checkfangqi(xisha["main"],xisha["main"]) then
else
go(xisha.loc,xisha.arrive,xisha_end_fail)
end
end
xisha.arrive=function()
run("xi sha")
busytest(xisha.main)
end
quest.main["xisha"]=function()
do_xisha()
quest.resume=quest.main["xisha"]
end
quest["end"]["xisha"]=function()
xisha["end"]()
end
alias_xisha=function(m,l,w)
do_quest("xisha")
end