This plugin hold utility functions for items
It includes:
usage: #bp.itemu.api [-h] [api]
list functions in the api
positional arguments:
api api to get details of
optional arguments:
-h, --help show help (default: False)
usage: #bp.itemu.help [-a] [-c] [-h]
show help info for this plugin
optional arguments:
-a, --api show functions this plugin has in the api (default: False)
-c, --commands show commands in this plugin (default: False)
-h, --help show help (default: False)
usage: #bp.itemu.inspect [-m METHOD] [-o OBJECT] [-s] [-h]
inspect a plugin
optional arguments:
-m METHOD, --method METHOD
get code for a method
-o OBJECT, --object OBJECT
show an object of the plugin, can be method or
variable
-s, --simple show a simple output (default: False)
-h, --help show help (default: False)
usage: #bp.itemu.reset [-h]
reset the plugin
optional arguments:
-h, --help show help (default: False)
usage: #bp.itemu.save [-h]
save the plugin state
optional arguments:
-h, --help show help (default: False)
usage: #bp.itemu.set [-h] [name] [value]
change a setting in the plugin
if there are no arguments or 'list' is the first argument then
it will list the settings for the plugin
positional arguments:
name the setting name (default: list)
value the new value of the setting
optional arguments:
-h, --help show help (default: False)
usage: #bp.itemu.stats [-h]
show plugin stats
optional arguments:
-h, --help show help (default: False)
itemu.wearlocs(rev=False)
get the wear locations table
rev = if True, return the reversed table
original defined in plugins/aardwolf/itemu.py
itemu.itemflagscolors()
get the flags color table
original defined in plugins/aardwolf/itemu.py
itemu.objecttypes(rev=False)
get the object types table
rev = if True, return the reversed table
original defined in plugins/aardwolf/itemu.py
itemu.itemflags()
get the flags table
original defined in plugins/aardwolf/itemu.py
itemu.dataparse(line, layoutname)
parse a line of data from invdetails, invdata, eqdata, invdetails
line = The line to parse
layoutname = The layout of the line
this function returns a dictionary
original defined in plugins/aardwolf/itemu.py
itemu.itemflagsname()
get the flags name table
original defined in plugins/aardwolf/itemu.py