generic note #133
Aliases: generic note, note
2 verbs · 35 properties · 1 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
read | this none none | rxd | #133 | 37 |
text | this none this | rxd | #133 | 1 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
hold_to_read | #133 | rc | #361 | 1 |
read_msg | #133 | rc | #361 | "Written on %dt, you read:" |
oread_msg | #133 | rc | #361 | "%DN reads through %dt." |
text | #133 | rc | #361 | {} |
junk_on_read | #133 | rc | #361 | 0 |
handed | #5 | rc | #361 | <clear> |
wield_msg | #5 | rc | #361 | <clear> |
unwield_msg | #5 | rc | #361 | <clear> |
size | #5 | rc | #361 | <clear> |
look_place_msg | #5 | rc | #361 | <clear> |
value | #5 | rc | #361 | <clear> |
get_msg | #5 | rc | #361 | <clear> |
drop_msg | #5 | rc | #361 | <clear> |
get_fail_msg | #5 | rc | #361 | <clear> |
junk_ok | #5 | rc | #361 | <clear> |
floats | #5 | rc | #361 | <clear> |
long_name_msg | #5 | rc | #361 | <clear> |
article | #5 | rc | #361 | <clear> |
setup_list | #5 | rc | #361 | <clear> |
health | #5 | rc | #361 | <clear> |
health_max | #5 | rc | #361 | <clear> |
min_skill | #5 | rc | #361 | <clear> |
skill | #5 | rc | #361 | <clear> |
recipe_for | #5 | rc | #361 | <clear> |
carried_msg | #5 | rc | #361 | <clear> |
aliases | #1 | rc | #361 | {"generic note", "note"} |
description | #1 | rc | #361 | <clear> |
object_size | #1 | r | #29 | {2572, 1298433816} |
hidden_verbs | #1 | rc | #361 | <clear> |
phelp_msg | #1 | rc | #361 | {"Just a piece of paper with some text written on. Try the 'read' command on it."} |
weight | #1 | rc | #361 | <clear> |
owner_verbs | #1 | rc | #361 | <clear> |
plural_name | #1 | rc | #361 | <clear> |
client_image | #1 | rc | #361 | <clear> |
listening | #1 | rc | #361 | <clear> |
Ancestry
Ancestors (nearest first): #5 generic thing → #1 root
Children: #223 electronic scoreboard
Call graph
Source
read
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
Referenced by
Source
1return this.(verb);