|
发表于 2014-1-16 23:42:10
|
显示全部楼层
桃花阵 - /d/thd/taohua1
void create()
{
int thd1, thd2, thd3, thd4;
thd1 = random(4) + 1;
thd2 = random(4) + 1;
thd3 = random(4) + 1;
thd4 = random(4) + 1;
while (thd1 != 4 && thd2 != 4 && thd3 != 4 && thd4 != 4) {
thd1 = random(4) + 1;
thd2 = random(4) + 1;
thd3 = random(4) + 1;
thd4 = random(4) + 1;
}
set("short", "桃花阵");
set("long", @LONG
这是一片茂密的桃花丛,你一走进来就迷失了方向。
LONG
);
set("exits", ([
"east" : __DIR__"taohua" + thd1,
"west" : __DIR__"taohua" + thd2,
"south" : __DIR__"taohua" + thd3,
"north" : __DIR__"taohua" + thd4,
]));
set("outdoors","桃花岛");
setup();
很复杂吧
随机的 |
|