added NPC stats
parent
38ad2d98f9
commit
3b49d6c826
@ -0,0 +1,20 @@
|
|||||||
|
#ifndef GAME_MWMECHANICS_NPCSTATS_H
|
||||||
|
#define GAME_MWMECHANICS_NPCSTATS_H
|
||||||
|
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace MWMechanics
|
||||||
|
{
|
||||||
|
/// \brief Additional stats for NPCs
|
||||||
|
///
|
||||||
|
/// For non-NPC-specific stats, see the CreatureStats struct.
|
||||||
|
|
||||||
|
struct NpcStats
|
||||||
|
{
|
||||||
|
// NPCs other than the player can only have one faction. But for the sake of consistency
|
||||||
|
// we use the same data structure for the PC and the NPCs.
|
||||||
|
std::map<std::string, int> mFactionRank;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue