Added custom monsters and custom items support

This commit is contained in:
Hedgehog Fog 2020-12-03 14:14:22 +02:00
commit d5107daad4
7 changed files with 82 additions and 6 deletions

View file

@ -55,6 +55,12 @@ public:
// check if entitiy is a player
bool isPlayer (edict_t *ent);
// check if entitiy is a monster
bool isMonster (edict_t *ent);
// check if entitiy is a item
bool isItem (edict_t *ent);
// check if entity is a vip
bool isPlayerVIP (edict_t *ent);

View file

@ -1164,6 +1164,8 @@ extern ConVar cv_whose_your_daddy;
extern ConVar cv_chatter_path;
extern ConVar cv_quota;
extern ConVar cv_difficulty;
extern ConVar cv_attack_monsters;
extern ConVar cv_pickup_custom_items;
// execute client command helper
template <typename ...Args> void Bot::issueCommand (const char *fmt, Args &&...args) {