//  zhu.c

inherit NPC;
inherit F_VENDOR;

void create()
{
        set_name("朱老板", ({ "zhu laoban", "zhu", "laoban" }));
        set("shen_type", 1);

        set("gender", "男性");
        set("age", 44);
        set("long", "这位老板显然很有钱，手上戴满了金戒指。\n");
        set_skill("unarmed", 24);
        set_skill("dodge", 21);
        set_temp("apply/damage", 18);

        set("combat_exp", 7000);
        set("attitude", "friendly");
        set("vendor_goods", ({
           (["name":__DIR__"obj/beauty_book","number":3]),
           (["name":BINGQI_D("yuxiao"),"number":5]),
           (["name":__DIR__"obj/necklace","number":20]),
           (["name":__DIR__"obj/goldring","number":25])
        }));
        
        setup();
        carry_object("/clone/misc/cloth")->wear();
}

void init()
{
        add_action("do_list", "list");
        add_action("do_buy", "buy");
}

void kill_ob(object ob)
{
        ob->remove_killer(this_object());
        remove_killer(ob);
        message_vision("$N沮丧地发现朱掌柜躲在高高的柜台后面，够不到。\n", ob);
}

void unconcious()
{
        say( "朱老板在怀里摸了一阵，摸出一个盒子来。他打开盒子，捏出一个药丸来塞在嘴里。\n");
        say( "片刻之间，朱老板又恢复了精神，“嘿嘿”奸笑了两声。\n");
        reincarnate();
        set("eff_qi", query("max_qi"));
        set("qi", query("max_qi"));
        set("eff_jing", query("max_jing"));
        set("jing", query("max_jing"));
        set("jingli", query("eff_jingli"));
}

void die()
{
        unconcious();
}


