Control Room #56

Parent #258Owner #29Flags readSource hellcore/hellcore.db

Aliases: Control Room

1 verbs · 94 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
_player_integration_msgthis none thisrxd#5654

Properties

PropertyDefinerFlagsOwnerValue
bin#56rc#29#8055
base_temperature#258rc#2965
who_location_msg#3rc#29<clear>
exits#3rc#29{#299}
go_fail_msg#3rc#29<clear>
outdoor#3rc#29<clear>
covers#3rc#29<clear>
covering#3rc#29{}
tracks#3rc#29
list of 20{{#518502, 1250540419, 1250540419}, {#518503, 1250541002, 1250541006}, {#518499, 1250540799, 1250540824}, {#518498, 1250543467, 1250543711}, {#518504, 1250564421, 1250564526}, {#518505, 1250547465, 1250547465}, {#518495, 1250549273, 1250549279}, {#518506, 1250549295, 1250549295}, {#518507, 1250551083, 1250551083}, {#518508, 1250553894, 1250553894}, {#518509, 1250555138, 1250555150}, {#518510, 1250566082, 1250566114}, {#518511, 1250561076, 1250561076}, {#431915, 1250598861, 1250599270}, {#518512, 1250571303, 1250571397}, {#476878, 1251005566, 1251005611}, {#518513, 1250711800, 1250711803}, {#518514, 1274655304, 1274655338}, {#518515, 1250579743, 1250579743}, {#518516, 1250587966, 1250588012}}
windows#3rc#291
public#3rc#29<clear>
drop_msg#3rc#29<clear>
get_msg#3rc#29<clear>
contents_msg#3rc#29<clear>
contents_many_msg#3rc#29<clear>
default_posture_msg#3rc#29<clear>
seats#3rc#29<clear>
sitting#3rc#29{}
reclining#3rc#29{}
sit_msg#3rc#29<clear>
osit_msg#3rc#29<clear>
sit_from_reclining#3rc#29<clear>
osit_from_reclining#3rc#29<clear>
rise_msg#3rc#29<clear>
orise_msg#3rc#29<clear>
icon#3rc#29"~1b[41m~1b[30mCR~1b[0m"
map#3rc#29{" ", " ~1b[44m~1b[37mSL~1b[0m ", " ~1b[36m~1b[1m~1b[44m()~1b[0m ", " ", " "}
recent_noises#3rc#29{2181196, 7463481, 6284736, 5441009, 5855114}
fall_into_msg#3rc#29<clear>
size#3rc#29<clear>
sit_from_reclining_msg#3rc#29<clear>
osit_from_reclining_msg#3rc#29<clear>
look_sitting_and_reclining#3rc#29<clear>
look_sitting_msg#3rc#29<clear>
recline_full_msg#3rc#29<clear>
already_sitting_msg#3rc#29<clear>
already_reclining_msg#3rc#29<clear>
recline_from_sitting_msg#3rc#29<clear>
orecline_from_sitting_msg#3rc#29<clear>
recline_msg#3rc#29<clear>
orecline_msg#3rc#29<clear>
look_reclining_msg#3rc#29<clear>
sitting_doing_msg#3rc#29<clear>
reclining_doing_msg#3rc#29<clear>
rise_failed_msg#3rc#29<clear>
infect_interval#3rc#29<clear>
no_exit_msg#3rc#29<clear>
x#3rc#290
y#3rc#291
z#3rc#290
residents#3rc#29<clear>
sit_full_msg#3rc#29<clear>
value#3rc#29<clear>
rustle_msg#3rc#29<clear>
last_rustle#3rc#29<clear>
thing_fall_into_msg#3rc#29<clear>
decal_fall_into_msg#3rc#29<clear>
client_icon#3rc#29<clear>
client_map#3rc#29{"aaaaaaaaaa", "aaaaabaaaa", "aaaaaiaaaa", "aaaaaaaaaa", "aaaaaaaaaa"}
track_msg#3rc#29<clear>
watched#3rc#2910
max_objects#3rc#29<clear>
show_map#3rc#29<clear>
objects_to_echo#3rc#29<clear>
always_brief#3rc#29<clear>
furniture#3rc#29{}
fall_into_noise#3rc#29<clear>
ambience#3rc#29<clear>
temperature#3rc#2965
last_temp_update#3rc#291337753942
continue_look_self_msg#3rc#29<clear>
map_restricted#3rc#29<clear>
global_xyz#3rc#29{0, 0, 0}
common_name_msg#3rc#29<clear>
verb_subs#3rc#29<clear>
darkness#3rc#29{0, 1337755500}
total_dark_description_msg#3rc#29<clear>
has_commands#3rc#290
too_dark_msg#3rc#29<clear>
next_room_to_global_origin#3rc#29#-1
global_xyz_anchor#3r#3610
search_items#3rc#29<clear>
search_items_left#3rc#29{}
already_searched#3rc#29{}
aliases#1rc#29{"Control Room"}
description#1rc#29"Dim light reflects off the bronzed surfaces of control panels here, revealing an array of needle-tipped gauges, analog counters, round-button panels, and long-handled levers. Several marine-style steering wheels are lined up along one wall. Blasts of steam occasionally pour forth from tall pipes in one corner. You can hear the quiet clicking and whirring of gears and counters, and an irregular metallic clang echoes up from below. The air is slightly damp and warm."
object_size#1r#29{5092, 1298434428}
hidden_verbs#1rc#29<clear>
phelp_msg#1rc#29<clear>
weight#1rc#29<clear>
owner_verbs#1rc#29<clear>
plural_name#1rc#29<clear>
client_image#1rc#29<clear>
listening#1rc#29<clear>

Ancestry

Ancestors (nearest first): #258 generic indoor room#3 generic room#1 root

Children: none

Call graph

calls n56_0 #56:_player_integration_msg n1_42 #1:occupants n56_0->n1_42 n20_83 #20:message_db n56_0->n20_83 n20_80 #20:aggregate_number n56_0->n20_80 n20_79 #20:plural n56_0->n20_79 n20_15 #20:capitalize n56_0->n20_15 n20_6 #20:english_list n56_0->n20_6 n20_9 #20:trim n56_0->n20_9

Source

_player_integration_msg

Spec this none thisFlags rxdOwner #361Definer #56

Referenced by

none

Source

1"Copied from Vacant Lot (#1438):player_integration_msg by Spunky (#97) Mon Jan 12 18:59:34 2009 CST";
2"Copied from generic room (#3):player_integration_msg by Spunky (#97) Mon May 24 18:55:43 2004 PDT";
3msg_db = {};
4names = {};
5text = "";
6{?people = this:occupants($creature)} = args;
7np = {};
8for x in (people)
9if (!(is_player(x) && (!is_connected(x))))
10np = {@np, x};
11endif
12endfor
13people = np;
14msg_db = $su:message_db(people, "posture_msg");
15for x in (msg_db)
16if (length(x[1]) > 1)
17verbstr = "are ";
18else
19verbstr = "is ";
20endif
21names = {};
22for y in (x[1])
23name = y:iname();
24added = 0;
25for z in [1..length(names)]
26if (names[z][1] == name)
27names[z][2] = names[z][2] + 1;
28added = 1;
29break;
30endif
31endfor
32if (!added)
33names = listappend(names, {name, 1});
34endif
35endfor
36namestrs = {};
37for z in (names)
38if (z[2] > 1)
39name = z[1];
40if ((length(name) > 2) && (name[1..2] == "a "))
41name = name[3..$];
42elseif ((length(name) > 3) && (name[1..3] == "an "))
43name = name[4..$];
44elseif ((length(name) > 4) && (name[1..4] == "the "))
45name = name[5..$];
46endif
47namestrs = setadd(namestrs, ($su:aggregate_number(z[2]) + " ") + $su:plural(name));
48else
49namestrs = setadd(namestrs, z[1]);
50endif
51endfor
52text = ((((text + "  ") + $su:capitalize($su:english_list(namestrs))) + " ") + verbstr) + x[2];
53endfor
54return $su:trim(text);