generic lobby #130

Parent #118Owner #36Flags read, fertileSource RPG Core/rpgcore-patched.db

Aliases: generic lobby, lobby

2 verbs · 62 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
movethis none thisrxd#13021
init_for_corethis none thisrxd#13013

Properties

PropertyDefinerFlagsOwnerValue
virtual_exit_task#118r#2<clear>
defaulting_exit_oleave_msg#118rc#36<clear>
blessed_entrances#118rc#36<clear>
virtual_exits#118rc#36{}
give_short_alias#118rc#36<clear>
virtual_exit_to_use#118r#2<clear>
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" Handles exit messages before sending player to a room with a suspended enterfunc verb."
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<clear>
blessed_object#3rc#36<clear>
blessed_task#3rc#36<clear>
exits#3c#36<clear>
dark#3rc#36<clear>
ctype#3rc#36<clear>
key#1c#360
aliases#1rc#36{"generic lobby", "lobby"}
description#1rc#36" Handles exit messages before sending player to a room with a suspended enterfunc verb."
object_size#1r#36{3147, -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 n130_0 #130:move n118_5 #118:exit_unlocked_for n130_0->n118_5 n52_5 #52:isa n130_0->n52_5 n118_3 #118:announce_msg n130_0->n118_3 n118_6 #118:defaulting_exit_oleave_msg n130_0->n118_6 n35_1 #35:say_action n130_0->n35_1 n130_1 #130:init_for_core n118_19 #118:init_for_core n130_1->n118_19

Source

move

Spec this none thisFlags rxdOwner #2Definer #130

Referenced by

none

Source

1if (task_id() != this.virtual_exit_task)
2return E_PERM;
3endif
4what = args[1];
5if (!(v = this.virtual_exit_to_use))
6what:tell("I don't know where you want to go.");
7return;
8elseif (this:exit_unlocked_for(v, what))
9d = $object_utils:isa(v[2], $room) ? v[2] | kill_task(task_id());
10d:bless_for_entry(what);
11if (d:acceptable(what))
12this:announce_msg(this, what, this:defaulting_exit_oleave_msg(v, what) || tostr(what:titlec(), " leaves for ", d.name, "."));
13this:announce_msg(d, what, tostr("has arrived from ", this.name, "."));
14what:moveto(d);
15return;
16endif
17elseif (v[3] != 0)
18$you:say_action(tostr("%N %<tries/try> to enter ", v[1][1], " but %<finds> it locked."));
19return;
20endif
21$you:say_action(tostr("%N %<tries/try> to enter ", v[1][1], ", but %<is/are> unable."));

init_for_core

Spec this none thisFlags rxdOwner #2Definer #130

Referenced by

none

Source

1if (caller_perms().wizard)
2if (this == $lobby)
3this.build_help = "  Handles exit messages before sending player to a room with a suspended enterfunc verb.";
4this.description = this.build_help;
5else
6for p in (properties($lobby))
7if ((!p) in {"build_help", "description"})
8clear_property(this, p);
9endif
10endfor
11endif
12return pass(@args);
13endif