Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------------------------------Stone Golem Farmine Hard Core---------------------------------------------------------
- ------------------------------------------By------------------------------------------------------------------------
- ---------------------------------------NNiklaSS---------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------------
- ---------------------------------------SETTINGS---------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------------
- --------------------------------------------------------------------------------------------------------------------
- refillhealth = 5 -- How many healing potion to leave cave?
- refillmanas = 15 -- How many manas to leave cave?
- HardCore = true -- true/false First or Both Floor.
- ManaPotID = 268 -- Normal Mana Potion: 268 Strong Mana potion: 237
- HealthPotID = 236 -- Healing Potion: 266 Strong Health Potion: 236
- ---------------------------------------------------------------------------------------------------------------------
- ---------------------------------------------------------------------------------------------------------------------
- registerEventListener(WALKER_SELECTLABEL, "onWalkerSelectLabel")
- function onWalkerSelectLabel(labelName)
- if (labelName == "Check Cap") then
- if (Self.ItemCount(HealthPotID) < refillhealth) or (Self.ItemCount(ManaPotID) < refillmanas) or (Self.Cap() < 30) then
- gotoLabel("Walk To Bank")
- else
- gotoLabel("Forgott")
- end
- elseif (labelName == "Hard Core") then
- if (HardCore == true) then
- gotoLabel("Forgott")
- elseif (HardCore == false) then
- gotoLabel("Start")
- end
- elseif (labelName == "Check Bank") then
- if (Self.ItemCount(HealthPotID) < refillhealth) or (Self.ItemCount(ManaPotID) < refillmanas) then
- gotoLabel("Bank")
- else
- gotoLabel("Forgott")
- end
- elseif (labelName == "Deposit") then
- delayWalker(15000)
- Self.DepositMoney("all")
- end
- elseif (labelName == "Depot") then
- delayWalker(3000)
- Self.DepositItems({1781, 0},{10315, 0},{5880, 0},{10278, 0},{9632, 0},{3271, 0},{10246, 0},{12600, 0},{10310, 0},{3029, 0},{3297, 1},{3097, 1},{10426, 1},{3039, 1})
- elseif (labelName == "Withdraw Supps") then
- delayWalker(2000)
- local refiller = Container.GetByName("Depot Chest")
- local mps = ( Self.ItemCount(268) )
- if ( mps < 50 ) then
- Self.WithdrawItems(2,{268, 0, 50})
- wait(500)
- refiller:UseItem(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement