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 "CropTile_SPU.h"
4
5class PotatoTile_SPU : public CropTile_SPU
6{
7private:
8// Icon *icons[4];
9
10public:
11 PotatoTile_SPU(int id) : CropTile_SPU(id) {}
12
13 Icon_SPU *getTexture(int face, int data)
14 {
15 if (data < 7)
16 {
17 if (data == 6)
18 {
19 data = 5;
20 }
21 return &ms_pTileData->potato_icons[data >> 1];
22 }
23 else
24 {
25 return &ms_pTileData->potato_icons[3];
26 }
27 }
28};