the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Feature.h"
3
4class Random;
5class Level;
6
7class BonusChestFeature : public Feature
8{
9
10private:
11 const WeighedTreasureArray treasureList;
12 const int numRolls;
13
14public:
15 BonusChestFeature(WeighedTreasureArray treasureList, int numRolls);
16
17 virtual bool place(Level *level, Random *random, int x, int y, int z);
18 bool place(Level *level, Random *random, int x, int y, int z, bool force); // 4J added this method with extra force parameter
19};