inherit NPC;
 
int ask_ji();
void consider();

void create()
{
        set_name("武修文", ({ "wu xiuwen","wu","xiuwen" }) );
        set("gender", "男性" );
        set("age", 26);
        set("long", "身材修长，面目俊朗，一看就是名门后代。\n");
        set("attitude", "friendly");
        set("str", 35);
        set("con", 30);
        set("int", 20);
        set("dex", 30);
 

        set("max_qi", 6500);
        set("max_jing", 6500);
        set("neili", 6000);
        set("eff_jingli", 6500);
        set("max_neili", 7000);
        set("jiali", 100);
         
        set("combat_exp", 1000000);

        set_skill("force", 100); 
        set_skill("strike", 100);
        set_skill("blade", 100);
        set_skill("dodge", 100);
        set_skill("parry", 100);
        set_skill("huntian-qigong", 100);
        set_skill("literate", 100);
        set_skill("xianglong-zhang", 100); 
        set_skill("liuhe-daofa", 100);
        set_skill("xiaoyaoyou", 100);
        set("chat_chance_combat", 50);
        set("chat_msg_combat", ({
                (: perform_action, "strike.jueji1" :)
        }));

        map_skill("force", "huntian-qigong");
        map_skill("blade","liuhe-daofa");
        map_skill("dodge", "xiaoyaoyou");
        map_skill("strike", "xianglong-zhang");
        map_skill("parry", "xianglong-zhang");
        prepare_skill("strike", "xianglong-zhang");

        create_family("丐帮", 19, "挂名弟子");

 set("inquiry", ([
       "叫化鸡" : (: ask_ji :),
      ]));

        setup();
        carry_object("/d/city/obj/cloth")->wear();
         
}
  int ask_ji()
{
  object ob;
  ob=this_player();
if (ob->query("shen")<=0) return 0;
if (ob->query_temp("marks/jiaohua-ji") || ob->query_temp("marks/lost-ji") )
{
command("cry");
command("say 刚刚在扬州,..在扬州,我把鸡搞丢了!我不敢回去见老爷子了,他知道准把我打死!\n");
command("cry "+ob->query("id")+"\n");
ob->delete_temp("marks/jiaohua-ji",1);
ob->set_temp("marks/lost-ji",1);
return 1;
} else {
command("dunno");
return 1;
}
}
