EDIT: Small typo in it, fixed now
Code: Select all
;==================================
; Script Name: Cooking 1.0
; Author: Athelstan - 166467051 - oceans@gamesnet.it
; Version: 1.0
; Client Tested with: 6.0.1.3
; EUO version tested with: 1.50
; Shard OSI / FS: UODreams.it
; Revision Date: 12/10/07
; Public Release: 12/09/07
; Purpose: Script Cooking
;Go your home, stay near a stove, secure a chest
;In the chest put in 70-80 skillet and
;6000-7000 cut of Raw Ribs, open the chest and
;play the script. 0-100 cooking
;I advise to train the skill cooking from a baker
;www.sweetuo.com
;==================================
;Select the chest
Set %Chest JQIDQRD ;Change here
;==================================
;Don't edit now
Set %Skilled DND
Set %Rawfish IND
Set %Fishsteak HND
Set %WeiSel ( #MAXWEIGHT - 25 )
Loop:
GoSub Skill
GoSub RestockFish
GoSub Cook
GoSub Wei
Goto Loop
;==================================
Sub Cook
{
finditem %Skilled C_ , %ZFUKNVD
wait 10
click 350 420 f ; You must change these two numbers to the X, Y Coords
; of where the Fish steak button islocated in the menu
wait 5
}
;==================================
Sub Wei
{
If #WEIGHT > %WeiSel
{
finditem %Fishteak C_ , #BACKPACKID
wait 10
Exevent Drag #FINDID #FINDSTACK
wait 10
Exevent Dropc %Chest
wait 10
}
return
}
;==================================
Sub RestockFish
{
finditem %Rawfish C_ , %Chest
wait 5
If #FINDID = 0
{
Display The Steaks are finish
halt
}
Exevent Drag #FINDID 1
wait 10
Exevent Dropc #BACKPACKID
wait 10
return
}
;==================================
Sub Skill
{
chooseskill Cook
if #skill = 1000
{
display Congratulation You finish
halt
}
return
}