Coh3n
2009-09-17 18:45:59
Here are the only functions I've come up with so far. To be honest, I can't think of anything else as basically everything we need can be put into on of these four functions (unless I'm forgetting something).
Coh3n
{==============================================================================\
| MSI Group Scripting Include |
| Objects.scar |
|==============================================================================|
| Object and Item finding routines |
| |
\_____________________________________________________________________________}
// Function header just to be in easy reach.
{******************************************************************************}
{ Function SetUpWalk(City, WhereTo: integer): TWalk; }
{ By: Rasta Magician }
{ Rev: 1 }
{ Date: 13 Sep 09 }
{ Description: Returns a TWalk, depending on City and desired destination }
{******************************************************************************}
//Used to find items in inventory and bank.
//Should use TItem record in Globals.scar.
//FindTool(Tool_Axe, Axe_Rune).
function FindTool(ToolType, ToolMaterial: Integer): TPoint;
begin
end;
//Used to find certain items in inventory and bank.
//Should use TItem record in Globals.scar.
//Should use TSkill record in Skills.scar -> Not made yet.
//FindItem(Skill_Smithing, Bar_Steel).
function FindItem(Skill, ItemMaterial: Integer); TPoint;
begin
end;
//Used to find items on the MainScreen.
//Should use TMSObj in Globals.scar.
//FindMSObj(Obj_Rock, Ore_Iron).
function FindMSObj(ObjType, ObjMaterial: Integer): TPoint;
begin
end;
//Used to find obstacles on the MainScreen.
//Should use TMSObj in Globals.scar
//FindObstacle(Obj_Door).
function FindObstacle(ObjType: Integer): TPoint;
begin
end;If you can think of another function please tell me. :)Coh3n