// created by row Aug. 1999
/* Do not remove the headers from this file! see /USAGE for more info. */
#include <mudlib.h>
#include <sanguo.h>
inherit LIVING;
inherit M_ACTIONS;
inherit M_TRIGGERS;
inherit CHINESE_DA;

string * flowers = ({ 
"rose","mudan","lily","juhua","chahua","carnation","tulip","shaoyao",
});

void setup()
{
    set_name("pretty girl", "卖花姑娘");
    set_gender(2);
    set_proper_name("卖花姑娘");
    set_in_room_desc("卖花姑娘(pretty girl)");
    add_id("girl");
    set_age(16);
    set_long("一个漂亮的卖花姑娘，巧笑嫣然，看得你心跳漏掉一拍。");
        add_question("name","name" );
        add_question("here","here");
        add_question("flower","flower");
        add_ask_str("flower","$N嬉皮笑脸地凑到$T身边，说道：$s正要买些花儿，蛮好看嘛，不过还是比不上小姑娘你呀。。\n");
}
void special_answer(object who, string matt)
{
        string p_obj ;        p_obj=flowers[random(sizeof(flowers))];
        object hua;
        object ob;
        switch(matt)
        {
                case "name" :
                        this_object()->simple_action("$N噗哧一笑：这样就想打听人家的名字呀，你要是天天来买花我就告诉你。\n");
                        return;
                case "here" :
                        this_object()->simple_action("$N说道：这里是花店呀，当然是卖花的啦，你只是来搭讪的吗？\n");
                        return;
                case "flower" :
        ob=present(pobj,this_body());
        if(objectp(ob))
        {
        this_object()->targetted_action("$N对$T摇了摇头：你手上不是还有嘛，怎么还来找人家要呀。\n",this_body());
        return;
        }
        this_object()->targetted_action("$N对$T微微一笑，递了一朵\n",this_body());
        hua=new(pobj);
        hua->move(this_body());
        }
}

