anchor.diff:  -behaviour(gen_server).
   
   -export([start_link/1, init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
  --export([authorize/1, say/1, do/1, cleanup/1, npcize/1, npcize/2, move/2]).
  +-export([authorize/1, say/1, do/1, cleanup/1, npcize/1, npcize/2, move/2, status/0]).
   
   -import(mud_utils, [json_to_file/2, publish/2, sid/1, trigger/1, state/1, file_to_json/1, prop/2, prop/3]).
   -import(mud_utils, [mk_error/1, mk_reply/2, mk_store/1, update/3, subscribe/2, unsubscribe/2, remove/2]).
  
positive.code:     save_passwords(filename:join([Resources, <<"passwd.json">>]), State#state.passwd),
      save_items(filename:join([Resources, <<"items.json">>]), State#state.items).
  
  load_locations(File) ->
      lists:map(extractor(<<"id">>),
                lists:map(fun(Location) ->
                                  update(<<"players">>, [], Location)
                          end,
                          file_to_json(File))).
  
  load_players(File) ->
      lists:map(extractor(<<"nick">>), file_to_json(File)).
  
negative.code:                                                        {<<"password">>, mud:get_env(hive_api_key)}]};
  
                                             Vals ->
                                                 {Nick, update(<<"password">>,
                                                               mud:get_env(hive_api_key),
                                                               update(<<"npc">>, Strategy, Vals))}
                                         end
                                 end
                         end,
  