BpackLayer
Returns layer number $15 - Character’s Bag (Backpack).
The result of the ObjAtLayer(BpackLayer) should be similar to Backpack
Normally, that should be a simple constant, not function. But due to backwards compatibility it should be keeped as function.
function BpackLayer : Byte;
DWS\Pascal Script Example:
if ObjAtLayer(BpackLayer) > 0 then
AddToSystemJournal('Backpack ID: $' + IntToHex(ObjAtLayer(BpackLayer),8));
def BpackLayer(): --> ubyte