Hi. This is probably not what you are looking for, but I am gonna be a bitch and point it out anyway:
Looking at the script I spotted a few things that can be improved when it comes to utilizing lape and the way we designed SRL.
Your whole function `
function TScript.CountInvLog() : Integer;`
can be replaced with a single call like so: `
Inventory.CountItem('Maple logs');`
Since this is used in `
function TScript.invfull() : boolean;` you can really just call `
Inventory.IsFull()` instead
and your `
depositall` function, it can be replaced by a call to `
Bank.DepositAll();`
I'd also prefer see all functions related to the script linked to the script-datatype `
TScript`. Like `
ADebug`, `
progreport`, `
endingprogreport` etc... and use
self, rather than the global variable `
bot`.
And just to be clean, proper PascalCase for function names
Anyhow, welcome back