1 #pragma once
2 #ifndef CATA_SRC_TALKER_AVATAR_H
3 #define CATA_SRC_TALKER_AVATAR_H
4 
5 #include <iosfwd>
6 #include <vector>
7 
8 #include "talker_character.h"
9 #include "type_id.h"
10 
11 class avatar;
12 class talker;
13 class translation;
14 
15 /*
16  * Talker wrapper class for avatar.
17  */
18 class talker_avatar: public talker_character
19 {
20     public:
21         explicit talker_avatar( avatar *new_me );
22         ~talker_avatar() override = default;
23 
24         // mandatory functions for starting a dialogue
25         std::vector<std::string> get_topics( bool ) override;
26         int parse_mod( const std::string &attribute, int factor ) const override;
27         int trial_chance_mod( const std::string &trial_type ) const override;
28 
29         // inventory and such
30         void buy_monster( talker &seller, const mtype_id &mtype, int cost,
31                           int count, bool pacified, const translation &name ) override;
32 };
33 #endif // CATA_SRC_TALKER_AVATAR_H
34 
35