📄 wlywine.c
字号:
// wlywine.c#include <ansi.h>inherit ITEM;inherit F_LIQUID;void create(){ set_name(HIW "五粮液" NOR, ({ "wly","wine" }) ); set_weight(10); if( clonep() ) set_default_object(__FILE__); else { set("long", "一杯五粮液。\n"); set("unit", "杯"); set("value", 0); set("max_liquid", 20); } // The liquid contained in the container is independent, we set a copy // in each cloned copy. set("liquid", ([ "type": "alcohol", "name": "五粮液", "remaining": 20, "drunk_apply": 5, ]) );}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -