-
Notifications
You must be signed in to change notification settings - Fork 11
/
Fishing_Func.inc
208 lines (194 loc) · 4.91 KB
/
Fishing_Func.inc
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
-- Author: Tutmault
-- Include Library
-- Contains Lures, Fish, and other images related to chat/fishing.
--
-- Update these if adding new pictures to "veggietales/fishing/"
-- Lures: Lure Picture (Use Lure Menu)
-- Chat_Types: Unique message picture to identify chat line
--CL_Fish: Picture of Fish Name from Main Chat
--CL_Number: Picture of Size from Main Chat
--CL_Time: Picture of Time from Main Chat using Special->What Time is it?
Lures = {
"Lure_AshCentipede.png",
"Lure_BatMite.png",
"Lure_BlisterBeetle.png",
"Lure_Bloodworm.png",
"Lure_Bristleworm.png",
"Lure_CamelWeevel.png",
"Lure_ClaySlug.png",
"Lure_Clearwing.png",
--Corn Maggot
"Lure_CorkscrewAsp.png",
"Lure_DesertMillipede.png",
--Dewfly
"Lure_FeatherMidge.png",
"Lure_Footworm.png",
"Lure_FruitMaggot.png",
"Lure_Glassworm.png",
"Lure_GoldenAsp.png",
"Lure_GrassSlug.png",
"Lure_HairySlug.png",
"Lure_Honeyfly.png",
"Lure_HornedHookworm.png",
"Lure_Leafhopper.png",
"Lure_LeafSnapper.png",
"Lure_MudAsp.png",
"Lure_Needleworm.png",
--Nightwing
"Lure_Nippleworm.png",
"Lure_OrchidHopper.png",
"Lure_OysterMite.png",
"Lure_PickelSlug.png",
"Lure_QueenMaggot.png",
"Lure_RedCricket.png",
"Lure_RingedWasp.png",
"Lure_RoseMite.png",
"Lure_RoseSwallowTail.png",
"Lure_RubyHornborrer.png",
"Lure_SaltMite.png",
"Lure_SandMite.png",
"Lure_SkinLicker.png",
"Lure_SlimeMoth.png",
"Lure_SnowberryButterfly.png",
"Lure_Spittlebug.png",
"Lure_Stonefly.png",
"Lure_ToadSawfly.png",
"Lure_WhiteMealybug.png",
"Lure_WhiteSawfly.png",
"Lure_Woodmoth.png",
"Lure_WollyAphid.png",
};
--Picture/ID
-- Do not change the current order of Chat_Types or else there may be consequences. Add to the end of the list.
-- Other arrays on this page most likely doesn't matter on the order. The lost lure images needs to be higher above similiar images
-- Example, "oddlostlure" must be listed above the "odd" entry. If not, then "oddlostlure" won't ever get triggered, because it will find a match to the "odd" image first.
Chat_Types = {
"ChatLog_UsingALure.png","lure",
"Chatlog_AlmostCaughtOddLostLure.png","oddlostlure",
"Chatlog_AlmostCaughtOdd.png","odd",
"Chatlog_AlmostCaughtStrange.png","strange",
"Chatlog_AlmostCaughtUnusual.png","unusual",
"Chatlog_NoBitLostLure.png","nobitlostlure",
"Chatlog_NoCatchLostLure.png","nocatchlostlure",
"Chatlog_ThoughYouLost.png","caughtlostlure",
"ChatLog_CaughtA.png","caught",
"Chatlog_CarryMuch.png","carry",
"Chatlog_CarryBulk.png","carry",
"Chatlog_AlreadyFishing.png","alreadyfishing",
"ChatLog_FailedToCatch.png","nocatch",
"ChatLog_NoFishBit.png","nobit",
};
CL_Fish = {
"Chatlog_Fish_Abdju.png",
"ChatLog_Fish_Ayu.png",
"Chatlog_Fish_BayLobster.png",
"Chatlog_Fish_Camelfish.png",
"Chatlog_Fish_Carp.png",
"Chatlog_Fish_Catfish.png",
"Chatlog_Fish_Chromis.png",
"Chatlog_Fish_FlyingFish.png",
"Chatlog_Fish_HornedPigfish.png",
"Chatlog_Fish_HylianLoach.png",
"Chatlog_Fish_Kingfish.png",
"Chatlog_Fish_LimaChub.png",
"Chatlog_Fish_Malapterurus.png",
"ChatLog_Fish_NileMackerel.png",
"ChatLog_Fish_OctecsLongfin.png",
"Chatlog_Fish_Octopus.png",
"Chatlog_Fish_OrangeSpongefish.png",
"Chatlog_Fish_Otterfish.png",
"Chatlog_Fish_PancakeLoach.png",
"Chatlog_Fish_Perch.png",
"Chatlog_Fish_Phagrus.png",
"Chatlog_Fish_QueenLionFish.png",
"Chatlog_Fish_RainbowCod.png",
"Chatlog_Fish_SeaUrchin.png",
"Chatlog_Fish_ShelomitsPuffer.png",
"Chatlog_Fish_SingingLamprey.png",
"Chatlog_Fish_StripedBatfin.png",
"Chatlog_Fish_Tilapia.png",
"Chatlog_Fish_Tilefish.png",
"Chatlog_Fish_WhiteOniontail.png",
};
--Size of fish
CL_Number = {
"ChatLog_1.png",
"ChatLog_2.png",
"ChatLog_3.png",
"ChatLog_4.png",
"ChatLog_5.png",
"ChatLog_6.png",
"ChatLog_7.png",
"ChatLog_8.png",
"ChatLog_9.png",
"ChatLog_10.png",
"ChatLog_11.png",
"ChatLog_12.png",
"ChatLog_13.png",
"ChatLog_14.png",
"ChatLog_15.png",
"ChatLog_16.png",
"ChatLog_17.png",
"ChatLog_18.png",
"ChatLog_19.png",
"ChatLog_20.png",
"ChatLog_21.png",
"ChatLog_22.png",
"ChatLog_23.png",
"ChatLog_24.png",
"ChatLog_25.png",
"ChatLog_26.png",
"ChatLog_27.png",
"ChatLog_28.png",
"ChatLog_29.png",
"ChatLog_30.png",
"ChatLog_31.png",
"ChatLog_32.png",
"ChatLog_33.png",
"ChatLog_34.png",
"ChatLog_35.png",
"ChatLog_36.png",
"ChatLog_37.png",
"ChatLog_38.png",
"ChatLog_39.png",
"ChatLog_40.png",
"ChatLog_41.png",
"ChatLog_42.png",
"ChatLog_43.png",
"ChatLog_44.png",
"ChatLog_45.png",
"ChatLog_46.png",
--47
"ChatLog_48.png",
};
--What time?
CL_Time = {
"Chatlog_Time_1.png",
"Chatlog_time_2.png",
"Chatlog_Time_3.png",
"Chatlog_Time_4.png",
"Chatlog_Time_5.png",
"Chatlog_Time_6.png",
"Chatlog_Time_7.png",
"Chatlog_Time_8.png",
"Chatlog_Time_9.png",
"Chatlog_Time_10.png",
"Chatlog_Time_11.png",
"Chatlog_Time_12.png",
};
Lure_Types = {
"Lure_Menu_Fresh.png",
"Lure_Menu_Glazed.png",
"Lure_Menu_Preserved.png",
"Lure_Menu_Hardened.png",
};
function WriteFishLog(Text)
FileFish = io.open("fishlog.txt","a+");
FileFish:write(Text);
FileFish:close();
end
function WriteFishStats(Text)
FileFish = io.open("fishstats.txt","w+");
FileFish:write(Text);
FileFish:close();
end