phBot Plugins
  • 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
    • Alchemy
    • Misc
  • Chat API
  • Handling Script Commands
  • GUI API
Powered by GitBook
On this page
  1. phBot API

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.

{
	56720: {
		'name': 'White Silk',
		'servername': 'ITEM_ETC_TRADE_CH_01',
		'model': 2147,
		'region': 25000,
		'x': 6491.26513671875,
		'y': 999.5965576171875,
		'z': -0.01856626383960247,
		'can_pick': True,
		'blue': False,
		'plus': 0
	}
}
PreviousQuestsNextPaths

Last updated 2 years ago