the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2
3#include "Item.h"
4
5class Player;
6class Level;
7
8class BucketItem : public Item
9{
10private:
11 int content;
12
13public:
14 BucketItem(int id, int content);
15
16 virtual bool TestUse(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player);
17 virtual shared_ptr<ItemInstance> use(shared_ptr<ItemInstance> itemInstance, Level *level, shared_ptr<Player> player);
18
19 bool emptyBucket(Level *level, int xt, int yt, int zt);
20};