-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchargeitems.lic
More file actions
55 lines (50 loc) · 1.6 KB
/
chargeitems.lic
File metadata and controls
55 lines (50 loc) · 1.6 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
## Charge items v.01
## by Kalros/Haldrik
if Char.name == 'Kalrosxx'
itemList = [
'onyx-inlaid imflass buckle',
'malachite and dragonfire opal torc',
'alum-bound ironwood badge',
'garnet-set gold earring',
'etched glaes aventail',
'moonstone studded bronze medallion',
'elegant platinum pin',
'some vultite arm greaves',
'glittering platinum ring',
'long-cut beryl pin',
'soulstone inset silver armband',]
end
if Char.name == 'Iloru'
itemList = [
'silver and blue tourmaline bracelet', # ok
'a jade-inlaid star emerald buckle', #ok
'elegant platinum pendant', #ok
'engraved silver torc', #ok
'trilliant-cut blue diamond pin', #ok
'some mithril arm greaves', # ok
'hammered gold alloy armband',] # ok
end
if Char.name == 'Vlaggen'
itemList = [
'some gleaming imflass arm greaves', # ok
'moonstone studded bronze medallion', #ok
'topaz-inset gold brooch', #ok
'jade-inlaid imflass earcuff', #ok
'hammered gold alloy armband', #ok
'long-cut beryl pin', # ok
'vaalin-bound ironwood badge',] # ok
end
@chargeItems = Array.new
itemList.each {|item|
GameObj.inv.find {|i| @chargeItems << i if i.name =~ /#{item}/}
}
coinIndex = 1
@chargeItems.each {|item|
GSC.bput "remove ##{item.id}", "^You"
GSC.bput "simucoin deliver", "Index"
GSC.bput "simucoin deliver #{coinIndex} confirm", "Hearing"
#GSC.bput "simucoin deliver #{coinIndex} confirm", "Hearing"
GSC.bput "pour my #{lefthand} on ##{item.id}", "You tent"
GSC.bput "pour my #{lefthand} on ##{item.id}", "Roundtime"
GSC.bput "wear ##{item.id}", "^You"
}