The Storeroom #62

Parent #118Owner #36Flags readSource RPG Core/rpgcore-patched.db

Aliases: The Storeroom

7 verbs · 62 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
@destroy-demonone none nonerd#6215
descriptionthis none thisrxd#625

Properties

PropertyDefinerFlagsOwnerValue
virtual_exit_task#118r#21669917306
defaulting_exit_oleave_msg#118rc#36<clear>
blessed_entrances#118rc#36{#145, #180, #190}
virtual_exits#118rc#36{{{"Out [o]", "o", "exit", "leave", "Out"}, #145, 0}}
give_short_alias#118rc#36<clear>
virtual_exit_to_use#118r#2{}
lit_from_outside#118rc#36<clear>
bot_locked#104rc#36<clear>
fakes#104r#36<clear>
retail#104rc#360
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<clear>
battle_on#104r#2<clear>
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<clear>
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#36<clear>
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#36839993536
exits#3c#36{}
dark#3rc#36<clear>
ctype#3rc#36<clear>
key#1c#36<clear>
aliases#1rc#36{"The Storeroom"}
description#1rc#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#1r#36{7680, -1090650497}
html#1rc#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 n62_5 #62:@destroy-demo n62_5->n62_3 n6_18 #6:tell n62_5->n6_18 n20_16 #20:literal_object n62_5->n20_16 n24_4 #24:unset_player n62_5->n24_4 n63_1 #63:_recycle n62_5->n63_1 n6_10 #6:notify n62_5->n6_10 n62_6 #62:description n20_15 #20:capitalize n62_6->n20_15

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

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

@destroy-demo

Spec none none noneFlags rdOwner #2Definer #62

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

Spec this none thisFlags rxdOwner #36Definer #62

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;