pattern file #105

Parent #54Owner #361Flags readSource hellcore/hellcore.db

Aliases: pattern file, file, file cabinet, cabinet, generics

5 verbs · 62 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
acceptablethis none thisrxd#1051
creature_heartbeatthis none thisrxd#1055
open closethis none nonerxd#1052
look_selfthis none thisrxd#1051
exitfuncthis none thisrxd#10511

Properties

PropertyDefinerFlagsOwnerValue
capacity#54rc#361<clear>
weight_reduction#54rc#361<clear>
opaque#54rc#361<clear>
dark#54rc#361<clear>
close_msg#54rc#361<clear>
open_msg#54rc#361<clear>
remove_msg#54rc#361<clear>
put_msg#54rc#361<clear>
empty_msg#54rc#361<clear>
contents_msg#54rc#361<clear>
open_fail_msg#54rc#361<clear>
put_fail_msg#54rc#361<clear>
closed_msg#54rc#361<clear>
closable#54rc#361<clear>
open#54rwc#3611
get_from_msg#54rc#361<clear>
max_objects#54rc#361<clear>
spill_on_break#54rc#361<clear>
peek_msg#54rc#361<clear>
clean_start_msg#54rc#361<clear>
oclean_start_msg#54rc#361<clear>
clean_finish_msg#54rc#361<clear>
oclean_finish_msg#54rc#361<clear>
break_msg#255rc#361<clear>
repair_difficulty#255rc#361<clear>
junk_on_break#255rc#361<clear>
rename_on_break#255rc#361<clear>
smashable#255rc#361<clear>
repairable#255rc#361<clear>
armor#255rc#361<clear>
held_break_msg#255rc#361<clear>
oheld_break_msg#255rc#361<clear>
handed#5rc#361<clear>
wield_msg#5rc#361<clear>
unwield_msg#5rc#361<clear>
size#5rc#361<clear>
look_place_msg#5rc#361"A file cabinet labelled 'PATTERN FILE', bulging with papers, is shoved against the wall."
value#5rc#361<clear>
get_msg#5rc#361<clear>
drop_msg#5rc#361<clear>
get_fail_msg#5rc#361<clear>
junk_ok#5rc#361<clear>
floats#5rc#361<clear>
long_name_msg#5rc#361<clear>
article#5rc#361<clear>
setup_list#5rc#361<clear>
health#5rc#361<clear>
health_max#5rc#361<clear>
min_skill#5rc#361<clear>
skill#5rc#361<clear>
recipe_for#5rc#361<clear>
carried_msg#5rc#361<clear>
aliases#1rc#361{"pattern file", "file", "file cabinet", "cabinet", "generics"}
description#1rc#361"A man-high aluminum file cabinet, its drawers labelled in a cryptic angular script."
object_size#1r#29{3762, 1298433815}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361<clear>
weight#1rc#361-1
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #54 generic container#255 generic smashable thing#5 generic thing#1 root

Children: none

Call graph

calls n105_1 #105:creature_heartbeat n1_56 #1:tell n105_1->n1_56 n20_59 #20:name_and_number n105_1->n20_59 n150_2 #150:unregister n105_1->n150_2 n105_2 #105:open n1_33 #1:area n105_2->n1_33 n54_3 #54:open n105_2->n54_3 n105_3 #105:look_self n107_43 #107:tell n105_3->n107_43 n105_4 #105:exitfunc n105_4->n20_59

Source

acceptable

Spec this none thisFlags rxdOwner #361Definer #105

Referenced by

none

Source

1return args[1].f;

creature_heartbeat

Spec this none thisFlags rxdOwner #361Definer #105

Referenced by

none

Source

1who = args[1];
2if (who.location == this)
3#98:tell("creature ", $su:nn(who), " had a valid heartbeat inside $generics.  killing!");
4$heart:unregister(who);
5endif

open close

Spec this none noneFlags rxdOwner #361Definer #105

Referenced by

none

Source

1this:area():god_check(player, this);
2pass(@args);

look_self

Spec this none thisFlags rxdOwner #361Definer #105

Referenced by

none

Source

1player:tell(("You grab the handle of the top drawer of the cabinet and pull. And pull, and pull... and pull... looks like there are " + tostr(length(this.contents))) + " files.");

exitfunc

Spec this none thisFlags rxdOwner #361Definer #105

Referenced by

none

Source

1what = args[1];
2if (what == player)
3"Seraph is stupid";
4elseif (!what.f)
5"Whoever put non-fertile objects into $generics is stupid.";
6elseif (is_a(what.location, $immortal))
7"Let dumb programmers get their shit out.";
8else
9$nets.prognet:announce(#2, (("Stopped " + $su:nn(what)) + " from leaving $generics!  It wanted to go to ") + $su:nn(what.location), 1);
10what:moveto(this);
11endif