]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/player.h
Added a file pouch.h which contains an inventory class Pouch to be used for carrying...
[irc/gameservirc.git] / gameserv / player.h
index 9e8b2da7aed939b9dd39c058e56a6206f257d10f..c4d9bf7140308a8122ea7369a84f0ae45b5d406f 100644 (file)
@@ -4,6 +4,7 @@
 #include <string.h>
 #include <iostream.h>
 #include "aClient.h"
+#include "pouch.h"
 
 typedef struct monster_ Monster;
 
@@ -40,11 +41,13 @@ public:
     int forest_fights;          // Amount of forest fights left today
     int player_fights;          // Amount of player<->player fights for today
     char *password;            // Player's encrypted password
+    Pouch inventory;           // This contains their potions, etc.
 
     aClient *user;             // Pointer to the aClient this player is from
     Monster *fight;            // Pointer to the monster the player is currently fighting
     Monster *master;           // Pointer to the master the player is currently fighting
     aClient *battle;           // Pointer to the player this player is currently fighting
+
 private:
     long int flags;            // Player's current flags
 };