Refactor out the junk randomizer and put it in rituals where it belongs.
This commit is contained in:
parent
05d54ff661
commit
521180b086
3 changed files with 25 additions and 14 deletions
|
@ -2,6 +2,7 @@
|
|||
#include "goap.hpp"
|
||||
#include "ai.hpp"
|
||||
#include "config.hpp"
|
||||
#include "components.hpp"
|
||||
|
||||
namespace ritual {
|
||||
using JunkItem = std::string;
|
||||
|
@ -96,4 +97,6 @@ namespace ritual {
|
|||
bool no_selections();
|
||||
void consume_crafting();
|
||||
};
|
||||
|
||||
JunkPile random_junk(components::GameConfig& config, int count);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue