The First Room #62
Aliases: The First Room
5 verbs · 61 properties · 0 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
disfunc | this none this | rxd | #62 | 10 |
enterfunc | this none this | rxd | #62 | 9 |
match | this none this | rxd | #62 | 10 |
init_for_core | this none this | rxd | #62 | 27 |
keep_clean | this none this | rxd | #62 | 25 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
virtual_exit_task | #118 | r | #2 | <clear> |
defaulting_exit_oleave_msg | #118 | rc | #36 | <clear> |
blessed_entrances | #118 | rc | #36 | {#197} |
virtual_exits | #118 | rc | #36 | <clear> |
give_short_alias | #118 | rc | #36 | <clear> |
virtual_exit_to_use | #118 | r | #2 | {} |
lit_from_outside | #118 | rc | #36 | <clear> |
bot_locked | #104 | rc | #36 | 0 |
fakes | #104 | r | #36 | <clear> |
retail | #104 | rc | #36 | <clear> |
seat | #104 | r | #36 | <clear> |
pool | #104 | r | #36 | <clear> |
seat_desc | #104 | r | #36 | <clear> |
pool_desc | #104 | r | #36 | <clear> |
sit_phrase | #104 | rc | #36 | <clear> |
stand_phrase | #104 | rc | #36 | <clear> |
swim_phrase | #104 | rc | #36 | <clear> |
dry_phrase | #104 | rc | #36 | <clear> |
push_phrase | #104 | rc | #36 | <clear> |
seat_aliai | #104 | r | #36 | <clear> |
pool_aliai | #104 | r | #36 | <clear> |
seat_contents | #104 | r | #36 | <clear> |
pool_contents | #104 | r | #36 | <clear> |
seat_max | #104 | r | #36 | <clear> |
pool_max | #104 | r | #36 | <clear> |
details | #104 | rc | #36 | <clear> |
temp_detail_index | #104 | rc | #36 | <clear> |
temp_detail_desc | #104 | rc | #36 | <clear> |
outdoors | #104 | r | #36 | <clear> |
attack_queue | #104 | r | #2 | {} |
battle_on | #104 | r | #2 | 0 |
stop_msg | #104 | rc | #36 | <clear> |
remove_msg | #104 | rc | #36 | <clear> |
dump_msg | #104 | rc | #36 | <clear> |
dump_loc | #104 | rc | #36 | <clear> |
sanctuary | #104 | rc | #36 | <clear> |
ansi_title | #104 | r | #36 | {{"Village of Tala", "[cyan]Village of Tala[normal]"}} |
dark_desc | #104 | rc | #36 | <clear> |
title_style | #104 | rc | #36 | <clear> |
build_help | #104 | rc | #36 | <clear> |
battle_task | #104 | r | #2 | <clear> |
dig_level | #104 | rc | #36 | <clear> |
holes | #104 | r | #2 | <clear> |
help_msg | #104 | rc | #36 | <clear> |
who_location_msg | #3 | rc | #36 | <clear> |
free_home | #3 | rc | #36 | 1 |
victim_ejection_msg | #3 | rc | #36 | <clear> |
ejection_msg | #3 | rc | #36 | <clear> |
oejection_msg | #3 | rc | #36 | <clear> |
residents | #3 | rc | #36 | <clear> |
free_entry | #3 | rc | #36 | <clear> |
entrances | #3 | c | #36 | {} |
blessed_object | #3 | rc | #36 | #-1 |
blessed_task | #3 | rc | #36 | 507748115 |
exits | #3 | c | #36 | {} |
dark | #3 | rc | #36 | <clear> |
ctype | #3 | rc | #36 | <clear> |
key | #1 | c | #36 | <clear> |
aliases | #1 | rc | #36 | {"The First Room"} |
description | #1 | rc | #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 | #1 | r | #36 | <clear> |
Ancestry
Ancestors (nearest first): #118 virtual exit room → #104 RPG room → #3 generic room → #1 Root Class
Children: none
Call graph
Source
disfunc
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
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
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
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
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