phBot Plugins
Search…
Introduction
Example Plugins
phBot API
Client
Guild
Events
Players
Party
NPC
Character
Academy
Inventory
Pets
Monsters
Encoding
Locale
Config
Botting
Taxi
Packet Injection
Log
Game Data
Teleport
Training Area
Command Line Arguments
Movement
Quests
Drops
Paths
Script
Notifications
Misc
Chat API
Handling Script Commands
GUI API
Powered By
GitBook
Drops
get_drops()
Returns a dictionary of all pickable items nearby (based on pick filter settings) or
None
if you are not in game. The dictionary
key
is the pick ID used for picking up an item.
1
{
2
514024: {
3
'model': 1,
4
'y': -1442.1075439453125,
5
'servername': 'ITEM_ETC_GOLD_01',
6
'x': -12015.845703125,
7
'name': 'Gold'
8
},
9
514027: {
10
'model': 1,
11
'y': -1442.750244140625,
12
'servername': 'ITEM_ETC_GOLD_01',
13
'x': -12016.4931640625,
14
'name': 'Gold'
15
},
16
514028: {
17
'model': 1,
18
'y': -1439.0982666015625,
19
'servername': 'ITEM_ETC_GOLD_01',
20
'x': -12015.708984375,
21
'name': 'Gold'
22
}
23
}
Copied!
Previous
Quests
Next
Paths
Last modified
3yr ago
Copy link