• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ set_day_long函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中set_day_long函数的典型用法代码示例。如果您正苦于以下问题:C++ set_day_long函数的具体用法?C++ set_day_long怎么用?C++ set_day_long使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了set_day_long函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: create

void create() {
::create();
set_short("A dark part of the swamp");
set_day_long("The water here is shallow and warm.  Everything looks the same...");
set_night_long("The water here is shallow and warm.  Everything looks the same...");
set_property("swamp",1);
set_items(([

"water" : "The water is shallow and warm.",
"plantlife": "The plantlife here is quite extraordinary.  While the jungles to
the north and west are quite impressive, these plants are  many times larger
and occassionally even intelligent..",
]));
set_properties((["light" : 0, "night light" : 0,]));
set_exits(([

"north": SWAMP "swamp47.c",
"east": SWAMP "swamp47.c",
"south": SWAMP "swamp47.c",
"west": SWAMP "swamp47.c",
"northeast" : SWAMP "swamp47.c",
"southwest": SWAMP "swamp47.c",
"northwest": SWAMP "swamp47.c",
"southeast": SWAMP "swamp50.c",

])); 
}
开发者ID:ehershey,项目名称:pd,代码行数:27,代码来源:swamp49.c


示例2: create

void create() {
::create();
set_short("%^YELLOW%^South area of the couryard%^RESET%^");
set_day_long("%^YELLOW%^The path here forks to two towers.  One watching the southeastern jungle, the other the southwestern.  These towers are often referred to as the 'twins' due to their similar size and shape.  The courtyard here remains just as amazing as the rest.%^RESET%^");
set_night_long("%^YELLOW%^The path here forks to two towers.  One watching the southeastern jungle, the other the southwestern.  These towers are often referred to as the 'twins' due to their similar size and shape.  The courtyard here remains just as amazing as the rest.%^RESET%^");
set_items(([
(({"flora", "plants"})) : "The plantlife is breathtaking.  Vibrant flowers and
开发者ID:ehershey,项目名称:pd,代码行数:7,代码来源:gcity35.c


示例3: create

void create() {
room::create();

        set_properties( ([ "light" : 2, "night light" : 1, "forest" : 1, ]));
set_short("Farm");
set_day_long("The paddock is empty bar a lone bull wandering around and stopping by to drink from a dam to the east. This paddock looks like it is used only for keeping the bull away from the cows. A forest can be seen surrounding the property and differnet birds fly in and out of the trees.");
set_night_long("The paddock is illuminated by the moon and it looks empty bar from a lone bull wandering around drinking from a small dam to the east. A dark forest can be seen surrounding the property and night creatures rustle in the grass.");
     
   set_items(([
                ({"gate" , "gates"}) : "The gate is old and made out of the same wood as the forest. It is latched closed to stop the animals from getting out.",
开发者ID:ehershey,项目名称:pd,代码行数:10,代码来源:paddockw4.c


示例4: create

void create() {
room::create();

        set_properties( ([ "light" : 2, "night light" : 1, "forest" : 1, ]));
set_short("Farm");
        set_day_long("A large yard covered in fresh green grass. A large farmhouse looms up in front of you, its windows open and the sounds and smell of a working kitchen hang in the air. Various animals wander around the yard, basking in the sun, or chasing each other around. A forest can be seen all around you, except for the cleared farm area surrounding the place.");
        set_night_long("The moon hangs in the sky casting is light over the land and illuninating the front of the house in front of you. Soft light can be seen through one of the windows and the sounds of pots and pans clanging can be heard. In the distance a cow mooes and various other noises of the night follow.");

        set_items(([
    ({"house", "farmhouse", "farm house"}) : "The house is painted red and white, with open windows.",
开发者ID:ehershey,项目名称:pd,代码行数:10,代码来源:yard1.c


示例5: create

void create() {
room::create();

        set_properties( ([ "light" : 2, "night light" : 1, "indoors" : 1, ]));
set_short("Farmhouse");
        set_day_long("The kitchen is full of pots and pans hanging from the roof beams, and ovens cover the walls making it look like a bakery. A goodwife bustles about the kitchen making different kinds of food for her husband and is covered in flour. The sitting room is to the south and a hallway extends to the east. Sunlight streams in through and open window and the sound of birds chirping can be heard over the din of the kitchen.");
        set_night_long("The kitchen is warm and slightly illuminated from the embers in the oven and pots and pans clank against each other in the slight wind coming through the open window. Moonlight gives the kitchen an etheral glow and casts shadows around the room. Pots and pans softly clank against each other breaking the night time silence.");

        set_items(([
                ({"oven" , "ovens"}) : "The ovens are still warm to the touch and are full of dying embers from the days cooking",
开发者ID:ehershey,项目名称:pd,代码行数:10,代码来源:house2.c


示例6: create

void create() {
::create();
set_short("The heart of the jungle");
set_day_long("You are in the heart of the jungle.  Few if any outsiders ever reach these parts.  To the far southwest you see the glimmer of gold mixed in with the jungle surroundings.");
set_night_long("You are in the heart of the jungle.  Few if any outsiders ever reach these parts.  To the far southwest you hear chanting and voices similar to those heard at the Warlord's encampment.");
set_property("forest",1);
set_items(([
"jungle" : "The jungle is dense and lush.  Shadows seems to be lurking within its depths.",
"gold": "The glimmer of gold can be seen mixed within the jungle to the far southwest.",
({"leaves", "trees", "plants"}): "The plantlife here is drenched from the humidity.",
]));
开发者ID:ehershey,项目名称:pd,代码行数:11,代码来源:mjungle44.c



注:本文中的set_day_long函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ set_default_env函数代码示例发布时间:2022-05-30
下一篇:
C++ set_cursor函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap