]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/item.h
updated the Change log w/ new additions
[irc/gameservirc.git] / gameserv / item.h
index 7418675476a4c78b4500b53f660d6b487a87566b..4290e62b875e39917ee8f0b1888dfe0f652b0f42 100644 (file)
@@ -39,7 +39,7 @@ class item
   item &operator=(const item &right);
   
  protected:
-  string myname;         // Name to use in game & sorting
+  string myname;         // Name to use in game
   long int myprice;      // How much does this item cost to buy (half to sell)
   int mymodifiers[8];    // Up to 8 different modifiers handled in the sub-classes
   int myuses;            // How many times this item can be used by default
@@ -71,6 +71,7 @@ class itemContainer
 
   int getUses() { return myuses; };
   void setUses(int);
+  void use(Player *p);
 
  private:
   int myuses;              // How many times this item can be used
@@ -137,6 +138,7 @@ class tavernItem
 
 
  private:
+
   item *myItem; // The item this actually points to
   int myLevel;    // The level the item shows up
 };