The rituals can now craft from items taken from dead enemies and they go into the blanket right away.
This commit is contained in:
parent
1a9e068d02
commit
9d55b2954a
4 changed files with 12 additions and 2 deletions
|
@ -62,12 +62,15 @@ namespace ritual {
|
|||
};
|
||||
|
||||
struct Belt {
|
||||
int next_slot = 0;
|
||||
int max_slots = 6;
|
||||
std::unordered_map<int, Action> equipped;
|
||||
|
||||
Action& get(int index);
|
||||
void equip(int index, Action& action);
|
||||
bool has(int index);
|
||||
void unequip(int index);
|
||||
int next();
|
||||
};
|
||||
|
||||
using JunkItem = std::string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue