text: // magic sword for spells
  
  #include <std.h>
  
  inherit WEAPON;
  
  string owner;
  
  void create(){
      ::create();
      set_id(({"sword","magic sword","blade"}));
      set_type("magicslashing");
      set_weight(0);
      set_value(0);
      set_wield((:TO, "extra_wield":));
  }
  
  int query_size(){
     if(living(ETO))
        return ETO->query_size();
     else return 3;
  }
  
  void init(){
     ::init();
     if(stringp(owner)) return;
     if(interactive(TP) && TP == ETO){
         owner = TPQN;
     }
  }
  
  int extra_wield(){
      if(interactive(TP) && owner != (string)TPQN){ 
          tell_object(TP,"You are not allowed to wield this sword.");
          return 0;
      }
      else 
          return 1;
  }
  
  int drop(){
      tell_object(TP,"Your hand will not release the divine blade!");
      return 1;
  }
  
  int save_me(string file){ return 1;}
  