phBot Plugins
Search…
Inventory

get_inventory()

This function returns the current characters inventory items.

Usage

get_inventory()

Returns

None or an object containing the size of the inventory and a list of items.
1
{
2
'size': 45,
3
'items': [
4
{
5
'name': 'Violent Sky Strom Hat',
6
'servername': 'ITEM_CH_M_CLOTHES_09_HA_C',
7
'quantity': 1,
8
'durability': 73,
9
'model': 817,
10
'plus': 8
11
},
12
{
13
'name': 'Delightful Sky Storm Suit',
14
'servername': 'ITEM_CH_M_CLOTHES_09_BA_B',
15
'quantity': 1,
16
'durability': 72,
17
'model': 924,
18
'plus': 8
19
},
20
{
21
'name': 'Violent Sky Strom Talisman',
22
'servername': 'ITEM_CH_M_CLOTHES_09_SA_C',
23
'quantity': 1,
24
'durability': 72,
25
'model': 889,
26
'plus': 8
27
},
28
{
29
'name': 'Violent Sky Strom Wristlet',
30
'servername': 'ITEM_CH_M_CLOTHES_09_AA_C',
31
'quantity': 1,
32
'durability': 72,
33
'model': 997,
34
'plus': 8
35
},
36
{
37
'name': 'Violent Sky Strom Trousers',
38
'servername': 'ITEM_CH_M_CLOTHES_09_LA_C',
39
'quantity': 1,
40
'durability': 74,
41
'model': 961,
42
'plus': 8
43
},
44
45
etc...
Copied!

get_storage()

This function returns the current characters storage items. If the character has not entered storage, this function will return no items.

Usage

get_storage()

Returns

None or an object containing the size of the storage and a list of items.

get_guild_storage()

This function returns the current characters guild storage items. If the character has not entered guild storage, this function will return no items.

Usage

get_guild_storage()

Returns

None or an object containing the size of the guild storage and a list of items.

get_job_pouch()

This function returns the current characters job pouch items.

Usage

get_job_pouch()

Returns

None or an object containing the size of the job pouch and a list of items.
Last modified 2yr ago