Hobgoblin Smacker

Am I at Hobgoblins?

Yes

Do I need to eat?

Yes

Eat Food

General Sleep

No

Is there Loot on the Ground?

Yes

Is there room in my Inventory?

Yes

Loot it

No

Eat Food

No

Am I in combat?

Yes

rotate Camera

General Sleep

No

Is an NPC interacting with me?

Yes

Am I interacting with NPC?

Yes

General Sleep

No

getInteractingNPC.click();

General sleep

No

Am I interacting with an NPC?

Yes

General Sleep

No

Create RSNPC Array

Is NPC[0] valid?

Yes

Is NPC[0] on the screen?

Yes

npc[0].click();

WaitForIdle

No

Rotate Camera to NPC[0] / WalkPath to NPC[0]

npc[0].click();

WaitForIdle

No

General Sleep

No

Am I In Fally?

Yes

WebWalk to Nearest Bank

No

Am I in the Bank?

Yes

Do i have 27 food in Invent?

Yes

WebWalk to Starting Polygon Tile

No

Open Bank

Deposit All

Withdraw 27 Food

Withdraw 5 Fally Tabs

Close Bank

No

Am I within 10 distance of starting polygon tile?

Yes

Walk to Starting Polygon Tile

No

Status: LOST

Teleport to Fally