zeng.c
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· C语言 代码 · 共 66 行
C
66 行
inherit NPC;inherit F_DEALER;void create(){ set_name("曾媚", ({ "zeng rou", "zeng", "rou" })); set("shen_type", 1); set("gender", "女性"); set("age", 16); set("per", 25); set("con", 25); set("int", 25); set("dex", 25); set("str", 25); set("long","她是韦爵爷不知道第几房的小妾的妹妹,在这里开个成衣铺,卖些不知道哪来的衣服。有人说那都是韦爵爷从宫中弄出来的禁品。话这么说,生意照样红活。\n"); set_skill("unarmed", 60); set_skill("parry", 60); set_skill("dodge", 60); set_skill("force", 60); set_temp("apply/damage", 15); set("combat_exp", 50000); set("attitude", "friendly"); set("vendor_goods", ({ __DIR__"cloth/belt", __DIR__"cloth/boots", __DIR__"cloth/bu-shoes", __DIR__"cloth/cloth", __DIR__"cloth/color-dress", __DIR__"cloth/feature", __DIR__"cloth/fu-cloth", __DIR__"cloth/gui-dress", __DIR__"cloth/hat", __DIR__"cloth/jade-belt", __DIR__"cloth/liu-dress", __DIR__"cloth/marry-dress", __DIR__"cloth/mini-dress", __DIR__"cloth/moon-dress", __DIR__"cloth/pink-dress", __DIR__"cloth/qi-dress", __DIR__"cloth/red-dress", __DIR__"cloth/scarf", __DIR__"cloth/sha-dress", __DIR__"cloth/shoes", __DIR__"cloth/xian-cloth", __DIR__"cloth/xiu-cloth", __DIR__"cloth/xiu-scarf", __DIR__"cloth/yan-dress", __DIR__"cloth/zi-dress", })); setup(); carry_object(__DIR__"cloth/feature")->wear();}void init(){ add_action("do_list", "list"); add_action("do_buy", "buy");}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?