the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 24 lines 947 B view raw
1#pragma once 2using namespace std; 3 4#include "TutorialTask.h" 5 6class Level; 7 8// 4J Stu - Tasks that involve using a tile, with or without an item. e.g. Opening a chest 9class UseTileTask : public TutorialTask 10{ 11private: 12 int x,y,z; 13 const int tileId; 14 bool useLocation; 15 bool completed; 16 17public: 18 UseTileTask(const int tileId, int x, int y, int z, Tutorial *tutorial, int descriptionId, 19 bool enablePreCompletion = false, vector<TutorialConstraint *> *inConstraints = NULL, bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true ); 20 UseTileTask(const int tileId, Tutorial *tutorial, int descriptionId, 21 bool enablePreCompletion = false, vector<TutorialConstraint *> *inConstraints = NULL, bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true); 22 virtual bool isCompleted(); 23 virtual void useItemOn(Level *level, shared_ptr<ItemInstance> item, int x, int y, int z, bool bTestUseOnly=false); 24};