Sub 提取物品()
If player.wp = "" Then
List1.Clear
Else
List1.Clear
Dim chd As Integer
Dim i As Integer
chd = Len(player.wp)
For i = 1 To chd / 5
Dim w1 As String
Dim w2 As String
Dim w3 As String
w1 = Left(Trim(player.wp), 5)
If chd = 5 Then
ElseIf chd <> 5 Then
player.wp = Mid(player.wp, 6, chd - 5)
End If
w2 = Left(w1, 3)
w3 = Right(w1, 2)
If val(w3) < 10 Then
List1.AddItem wp(val(w2)).mz + " " + Str(val(w3)) + wp(val(w2)).dw
Else
List1.AddItem wp(val(w2)).mz + " " + Str(val(w3)) + wp(val(w2)).dw
End If
Next i
Dim t As Integer, r As Integer
Dim s1 As String, s2 As String, s3 As Integer, s4 As Integer, s5 As String, s6 As String
For t = 0 To List1.ListCount
s1 = Trim(Left(List1.List(t), 4))