1#ifndef NANOMMO_BOT_BAG_H_
2#define NANOMMO_BOT_BAG_H_
7#include "protocol/nanommo.pb.h"
14std::optional<protocol::ItemAction>
Tend(
const ItemTable& items,
15 const protocol::Inventory& bag,
16 int health,
int max_health,
std::optional< protocol::ItemAction > Tend(const ItemTable &items, const protocol::Inventory &bag, int health, int max_health, bool can_drink)
The items in the items file, by id.