generic note #133

Parent #5Owner #361Flags read, fertileSource hellcore/hellcore.db

Aliases: generic note, note

2 verbs · 35 properties · 1 children

Verbs

VerbSpecFlagsDefinerLines
readthis none nonerxd#13337
textthis none thisrxd#1331

Properties

PropertyDefinerFlagsOwnerValue
hold_to_read#133rc#3611
read_msg#133rc#361"Written on %dt, you read:"
oread_msg#133rc#361"%DN reads through %dt."
text#133rc#361{}
junk_on_read#133rc#3610
handed#5rc#361<clear>
wield_msg#5rc#361<clear>
unwield_msg#5rc#361<clear>
size#5rc#361<clear>
look_place_msg#5rc#361<clear>
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{"generic note", "note"}
description#1rc#361<clear>
object_size#1r#29{2572, 1298433816}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361{"Just a piece of paper with some text written on. Try the 'read' command on it."}
weight#1rc#361<clear>
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #5 generic thing#1 root

Children: #223 electronic scoreboard

Call graph

calls n133_0 #133:read n107_43 #107:tell n133_0->n107_43 n1_31 #1:dname n133_0->n1_31 n107_0 #107:_wield n133_0->n107_0 n1_9 #1:look_self n133_0->n1_9 n20_34 #20:pronoun_sub n133_0->n20_34 n6_102 #6:client_tell n133_0->n6_102 n133_1 #133:text n133_0->n133_1 n1_11 #1:tell_lines n133_0->n1_11 n6_140 #6:hear_rumor n133_0->n6_140 n5_9 #5:iname n133_0->n5_9 n103_2 #103:junk n133_0->n103_2

Source

read

Spec this none noneFlags rxdOwner #361Definer #133

Referenced by

none

Source

1if (this.hold_to_read)
2if (!(this in player.contents))
3player:tell("You're not carrying ", this:dname(), ".  You could try taking it.");
4return;
5endif
6if (!(this in player.wielding))
7player:_wield(this);
8endif
9endif
10this:look_self();
11player:tell($su:ps(this.read_msg, player, this, this));
12if (this.oread_msg)
13player.location:announce($su:ps(this.oread_msg, player, this, this));
14endif
15if (player.client)
16player:client_tell("#$#info");
17for x in (this:text())
18player:client_tell(x);
19endfor
20player:client_tell("#$#/info");
21else
22player:tell_lines(this:text());
23endif
24if (is_a(this.rumor, $rumor))
25player:hear_rumor(this.rumor);
26endif
27if (hint = `this.read_hint_msg ! ANY')
28if (valid(quest = this.hint_quest))
29quest:add_hint(player, ((("From " + this:iname()) + ": \"") + hint) + "\"");
30endif
31endif
32if (this.junk_on_read && `random(100) <= this.junk_chance ! ANY')
33if (m = `this.read_junk_msg ! ANY')
34player:tell($su:ps(m, player, this));
35endif
36$rpg:junk(this);
37endif

text

Spec this none thisFlags rxdOwner #361Definer #133

Referenced by

Source

1return this.(verb);