The Storeroom #62
Aliases: The Storeroom
7 verbs · 62 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 |
@destroy-demo | none none none | rd | #62 | 15 |
description | this none this | rxd | #62 | 5 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
virtual_exit_task | #118 | r | #2 | 1669917306 |
defaulting_exit_oleave_msg | #118 | rc | #36 | <clear> |
blessed_entrances | #118 | rc | #36 | {#145, #180, #190} |
virtual_exits | #118 | rc | #36 | {{{"Out [o]", "o", "exit", "leave", "Out"}, #145, 0}} |
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 | <clear> |
fakes | #104 | r | #36 | <clear> |
retail | #104 | rc | #36 | 0 |
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 | <clear> |
battle_on | #104 | r | #2 | <clear> |
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 | <clear> |
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 | <clear> |
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 | 839993536 |
exits | #3 | c | #36 | {} |
dark | #3 | rc | #36 | <clear> |
ctype | #3 | rc | #36 | <clear> |
key | #1 | c | #36 | <clear> |
aliases | #1 | rc | #36 | {"The Storeroom"} |
description | #1 | rc | #36 | list of 2{" This is the cramped space you wake up to every morning--that is, every morning since you began working for Mr. Fasco. You'd better go out and see what the grouch wants now.", " (Wizard: this is a brief and simple demo of a few features in the rpg core. You should \"connect player\" to experience it as a regular RPGamer. When you are done, you can come back here as \"wizard\" and type \"@destroy-demo\" for a completely clean core. Type \"help set-up\" for a quick-start on getting the rpg running.)"} |
object_size | #1 | r | #36 | {7680, -1090650497} |
html | #1 | rc | #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
- #62:@destroy-demo line 15:
$player_start:init_for_core
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
@destroy-demo
Referenced by
none
Source
1if (!player.wizard) 2return player:tell("Only wizards can destroy the demo."); 3endif 4for x in [1..18] 5p = "rmprop_demo_" + tostr(x); 6object = $string_utils:literal_object("$" + p); 7if (is_player(object)) 8$wiz_utils:unset_player(object, $hacker); 9endif 10$recycler:_recycle(object); 11`delete_property(#0, p) ! ANY => player:notify(tostr("Error on deleting #0.", p))'; 12endfor 13`$player_start.virtual_exits = {} ! ANY => player:notify("Error on clearing $player_start.virtual_exits.")'; 14player:tell("The demo is recycled. You may wish to 'make-core-database' now to compact the core, but that isn't necessary."); 15$player_start:init_for_core();
description
Referenced by
none
Source
1if (player.owner != player) 2guest_msg = tostr(" *** Enter \"help @request\" for information about getting a permanent character on ", $string_utils:capitalize($network.MOO_Name), " ***"); 3return (typeof(this.description) == LIST) ? {@this.description, "", guest_msg} | {tostr(this.description), "", guest_msg}; 4endif 5return this.description;