The First Room #62

Parent #118Owner #36Flags readSource QuestCore.db

Aliases: The First Room

5 verbs · 61 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
disfuncthis none thisrxd#6210
enterfuncthis none thisrxd#629
matchthis none thisrxd#6210
init_for_corethis none thisrxd#6227
keep_cleanthis none thisrxd#6225

Properties

PropertyDefinerFlagsOwnerValue
virtual_exit_task#118r#2<clear>
defaulting_exit_oleave_msg#118rc#36<clear>
blessed_entrances#118rc#36{#197}
virtual_exits#118rc#36<clear>
give_short_alias#118rc#36<clear>
virtual_exit_to_use#118r#2{}
lit_from_outside#118rc#36<clear>
bot_locked#104rc#360
fakes#104r#36<clear>
retail#104rc#36<clear>
seat#104r#36<clear>
pool#104r#36<clear>
seat_desc#104r#36<clear>
pool_desc#104r#36<clear>
sit_phrase#104rc#36<clear>
stand_phrase#104rc#36<clear>
swim_phrase#104rc#36<clear>
dry_phrase#104rc#36<clear>
push_phrase#104rc#36<clear>
seat_aliai#104r#36<clear>
pool_aliai#104r#36<clear>
seat_contents#104r#36<clear>
pool_contents#104r#36<clear>
seat_max#104r#36<clear>
pool_max#104r#36<clear>
details#104rc#36<clear>
temp_detail_index#104rc#36<clear>
temp_detail_desc#104rc#36<clear>
outdoors#104r#36<clear>
attack_queue#104r#2{}
battle_on#104r#20
stop_msg#104rc#36<clear>
remove_msg#104rc#36<clear>
dump_msg#104rc#36<clear>
dump_loc#104rc#36<clear>
sanctuary#104rc#36<clear>
ansi_title#104r#36{{"Village of Tala", "[cyan]Village of Tala[normal]"}}
dark_desc#104rc#36<clear>
title_style#104rc#36<clear>
build_help#104rc#36<clear>
battle_task#104r#2<clear>
dig_level#104rc#36<clear>
holes#104r#2<clear>
help_msg#104rc#36<clear>
who_location_msg#3rc#36<clear>
free_home#3rc#361
victim_ejection_msg#3rc#36<clear>
ejection_msg#3rc#36<clear>
oejection_msg#3rc#36<clear>
residents#3rc#36<clear>
free_entry#3rc#36<clear>
entrances#3c#36{}
blessed_object#3rc#36#-1
blessed_task#3rc#36507748115
exits#3c#36{}
dark#3rc#36<clear>
ctype#3rc#36<clear>
key#1c#36<clear>
aliases#1rc#36{"The First Room"}
description#1rc#36
list of 8{"This is all there is right now.", "", "Type 'help new' to see a list of useful commands.", "You may also check the end of '@verbs $rpgamer', '@verbs $builder', '@verbs $prog', and '@verbs '$wiz' to see all available commands.", "", "Original RPGcore information (which applies here as well) can be read at '@help set-up'", "", "Game background tasks have been scheduled automatically; view these by typing '@scheduler'."}
object_size#1r#36<clear>

Ancestry

Ancestors (nearest first): #118 virtual exit room#104 RPG room#3 generic room#1 Root Class

Children: none

Call graph

calls n62_0 #62:disfunc n42_0 #42:controls n62_0->n42_0 n3_4 #3:announce n62_0->n3_4 n104_48 #104:disfunc n62_0->n104_48 n62_1 #62:enterfunc n15_0 #15:acceptable n62_1->n15_0 n118_20 #118:enterfunc n62_1->n118_20 n55_16 #55:slice n62_1->n55_16 n62_2 #62:match n104_47 #104:match n62_2->n104_47 n20_20 #20:match_player n62_2->n20_20 n62_3 #62:init_for_core n52_1 #52:all_properties n62_3->n52_1 n62_4 #62:keep_clean n62_4->n42_0 n3_16 #3:announce_all n62_4->n3_16 n20_59 #20:name_and_number n62_4->n20_59 n99_17 #99:schedule n62_4->n99_17

Source

disfunc

Spec this none thisFlags rxdOwner #2Definer #62

Referenced by

none

Source

1"Copied from The Coat Closet (#11):disfunc by Haakon (#2) Mon May  8 10:41:04 1995 PDT";
2if ((((cp = caller_perms()) == (who = args[1])) || $perm_utils:controls(cp, who)) || (caller == this))
3"need the first check since guests don't control themselves";
4if (who.home == this)
5move(who, $limbo);
6this:announce("You hear a quiet popping sound; ", who.name, " has disconnected.");
7else
8pass(who);
9endif
10endif

enterfunc

Spec this none thisFlags rxdOwner #2Definer #62

Referenced by

none

Source

1who = args[1];
2if ($limbo:acceptable(who))
3move(who, $limbo);
4else
5pass(who);
6endif
7if (`!(who in $list_utils:slice(who.remembered_names, 1)) ! ANY => 0')
8who.remembered_names = setadd(who.remembered_names, {who, who.name});
9endif

match

Spec this none thisFlags rxdOwner #36Definer #62

Referenced by

none

Source

1"Copied from The Coat Closet (#11):match by Lambda (#50) Mon May  8 10:42:01 1995 PDT";
2m = pass(@args);
3if (m == $failed_match)
4"... it might be a player off in the body bag...";
5m = $string_utils:match_player(args[1]);
6if (valid(m) && (!(m.location in {this, $limbo})))
7return $failed_match;
8endif
9endif
10return m;

init_for_core

Spec this none thisFlags rxdOwner #2Definer #62

Referenced by

none

Source

1if (!caller_perms().wizard)
2return E_PERM;
3endif
4for v in ({"announce*", "emote", "button", "knob"})
5if (`verb_info($player_start, v) ! E_VERBNF => 0')
6delete_verb($player_start, v);
7endif
8endfor
9for p in ({"out", "quiet", "button"})
10if (p in properties($player_start))
11delete_property($player_start, p);
12endif
13endfor
14if (!`!(!property_info(#0, "rmprop_demo_1")) ! E_PROPNF => 0')
15mom = parent(this);
16while (mom != $root_class)
17for p in ($object_utils:all_properties(mom))
18clear_property($player_start, p);
19endfor
20(ticks_left() < 5000) && suspend(0);
21mom = parent(mom);
22endwhile
23$player_start.name = "The First Room";
24$player_start.aliases = {};
25$player_start.description = {"This is all there is right now.", "Wizards should type \"help set-up\" to get important information for starting the roleplaying engine."};
26$player_start.exits = $player_start.entrances = {};
27endif

keep_clean

Spec this none thisFlags rxdOwner #2Definer #62

Referenced by

none

Source

1if ($perm_utils:controls(caller_perms(), this))
2junk = {};
3for x in (this.contents)
4(ticks_left() < 2000) && suspend(0);
5if (!is_player(x))
6junk = {@junk, x};
7elseif ((!(x in connected_players())) && (x.home == this))
8`move(x, this.virtual_exits[random($)][2]) ! ANY => "nevermind"';
9this:announce_all(x:titlec(), " shambles off for a nap.");
10endif
11endfor
12dest = valid(d = `$local.dead_object_container ! ANY => $nothing') ? d | $nothing;
13gripes = (typeof($gripe_recipients) == LIST) ? $gripe_recipients | {$gripe_recipients};
14for x in (junk)
15(ticks_left() < 4000) && suspend(0);
16if (x in this.contents)
17"This is old junk that's still around five minutes later.  Clean it up.";
18move(x, dest);
19for g in (gripes)
20g:tell(">**> Swept up abandoned object `", x.name, "' (", x, "), owned by ", x.owner, ", to ", $string_utils:nn(dest), ".");
21endfor
22endif
23endfor
24$scheduler:schedule(300, this, "keep_clean");
25endif