//---------------------------------------------------------------------------------------------
// Torque Game Builder
// Copyright (C) GarageGames.com, Inc.
//---------------------------------------------------------------------------------------------
//
// This is the file you should define your custom datablocks that are to be used
// in the editor.
//

datablock t2dSceneObjectDatablock(TaskHOGDatablock) 
{
   class = TaskHOG;
   superclass = Task;
   state = 0;
   useMouseEvents = true;
};

datablock t2dSceneObjectDatablock(TaskPOGDatablock) 
{
   class = TaskPOG;
   superclass = Task;
   state = 0;
};

datablock t2dSceneObjectDatablock(TaskCommonDatablock) 
{
   class = TaskCommon;
   superclass = Task;
   state = 0;
   objective = "";
   taskSolved = false;
};

datablock t2dSceneObjectDatablock(TaskDialogDatablock) 
{
   class = TaskDialog;
   superclass = Task;
   state = 0;
   chapter = 0;
   sequence = 0;
   order = 23;  // 23 for start, 42 for end dialog
   taskSolved = false;
};


datablock t2dSceneObjectDatablock(TaskIntroDatablock)
{
   class = TaskIntro;
   superclass = Task;
   state = 0;
   canSaveDynamicFields = "1";
};

datablock t2dSceneObjectDatablock(TaskControlDatablock) 
{
   class = TaskControl;
   superclass = Task;
   state = 2;
};

datablock t2dSceneObjectDatablock(ObjectHOGDatablock) 
{
   class = ObjectHOG;
   task = "task";
   useMouseEvents = false;
   found = false;
   iconInventoryImage = "image";
   iconInventoryImageFrame = "0";
   mouseoverDescription = "mouseoverDescription";
   goToInventory = "0";
   invisibleOnClick = "1";
};

datablock t2dSceneObjectDatablock(PlacementHotspotDatablock) 
{
   class = PlacementHotspot;
   useMouseEvents = true;
};

datablock t2dSceneObjectDatablock(PieceDatablock) 
{
   class = Piece;
   useMouseEvents = true;
   
   WorldLimitMode = "STICKY";
   WorldLimitMin = "-50 -36";
   WorldLimitMax = "50 36";
   
   CollisionActiveSend = "1";
   CollisionActiveReceive = "1";
   CollisionResponseMode = "STICKY";
   
   AutoMassInertia = 0;
   
   dragged = "0";
   endRotation = "0";
   tempLayer = "0";
};

datablock t2dSceneObjectDatablock(PlacementDatablock)
{
   class = Placement;
   useMouseEvents = true;
   Visible = true;
   assigned_item = "";
   ID = "";
};

datablock t2dSceneObjectDatablock(CombinationItemDatablock) 
{
   class = CombinationItem;
   useMouseEvents = true;
   dragged = 0;
   iconImage = "";
   iconFrame = 0;
   tempLayer = 0;
   endItem="";
};

datablock t2dSceneObjectDatablock(CombinationPlacementDatablock)
{
   class = CombinationPlacement;
   useMouseEvents = true;
   Visible = true;
   assigned_item = "";
   ID = 0;
   wrongItem="";
};