root #1
Aliases: root
69 verbs · 10 properties · 74 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
initialize | this none this | rx | #1 | 6 |
recycle | this none this | rxd | #1 | 13 |
set_name | this none this | rxd | #1 | 7 |
title | this none this | rxd | #1 | 1 |
set_aliases | this none this | rxd | #1 | 20 |
match | this none this | rxd | #1 | 1 |
match_object | this none this | rxd | #1 | 3 |
set_description | this none this | rxd | #1 | 10 |
description | this none this | rxd | #1 | 5 |
look_self | this none this | rxd | #1 | 15 |
notify | this none this | rxd | #1 | 6 |
tell_lines | this none this | rxd | #1 | 6 |
accept | this none this | rxd | #1 | 2 |
moveto | this none this | rxd | #1 | 8 |
huh | this none this | rxd | #1 | 2 |
set_message | this none this | rxd | #1 | 13 |
do_examine | this none this | rxd | #1 | 16 |
examine_names | this none this | rxd | #1 | 11 |
examine_desc | this none this | rxd | #1 | 12 |
examine_contents | this none this | rxd | #1 | 11 |
get_message | this none this | rxd | #1 | 14 |
room_announce*_all_but | this none this | rxd | #1 | 4 |
init_for_core | this none this | rxd | #1 | 16 |
contents | this none this | rxd | #1 | 3 |
examine_verb_ok | this none this | rxd | #1 | 10 |
is_listening | this none this | rxd | #1 | 2 |
hidden_verbs | this none this | rxd | #1 | 20 |
announce*_all_but | this none this | rxd | #1 | 9 |
tell_lines_suspended | this none this | rxd | #1 | 9 |
acceptable | this none this | rxd | #1 | 3 |
name | this none this | rxd | #1 | 1 |
dname | this none this | rxd | #1 | 1 |
iname | this none this | rxd | #1 | 8 |
area | this none this | rxd | #1 | 11 |
tell_stat | this none this | rxd | #1 | 1 |
aliases | this none this | rxd | #1 | 1 |
examine_verbs | this none this | rxd | #1 | 50 |
weight | this none this | rx | #1 | 9 |
controlled_by | this none this | rxd | #1 | 2 |
dnamec | this none this | rxd | #1 | 1 |
inamec | this none this | rxd | #1 | 1 |
plural_name pname | this none this | rxd | #1 | 8 |
occupants | this none this | rxd | #1 | 45 |
look_place_msg | this none this | rxd | #1 | 16 |
_www _html | this none this | rxd | #1 | 32 |
named | this none this | rxd | #1 | 6 |
room | this none this | rxd | #1 | 10 |
tree_tag | this none this | rxd | #1 | 1 |
client_tell | this none this | rxd | #1 | 1 |
client_info | this none this | rxd | #1 | 4 |
client_inventory | this none this | rxd | #1 | 7 |
chill_factor | this none this | rxd | #1 | 1 |
real_name | this none this | rxd | #1 | 1 |
region | this none this | rxd | #1 | 10 |
occupants_suspended | this none this | rxd | #1 | 29 |
number_of | this none this | rxd | #1 | 1 |
tell | this none this | rxd | #1 | 8 |
occupantses | this none this | rxd | #1 | 13 |
junk_ok | this none this | rxd | #1 | 12 |
is_in | this none this | rxd | #1 | 8 |
holder | this none this | rxd | #1 | 7 |
is_junkable | this none this | rxd | #1 | 1 |
action_name | this none this | rxd | #1 | 1 |
verb_sub | this none this | rxd | #1 | 18 |
class | this none this | rxd | #1 | 11 |
hint_msg | this none this | rxd | #1 | 1 |
announce_action_text aat | this none this | rxd | #1 | 1 |
list_hint_msg | this none this | rxd | #1 | 16 |
entomb | this none this | rxd | #1 | 0 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
aliases | #1 | rc | #361 | {"root"} |
description | #1 | rc | #361 | "" |
object_size | #1 | r | #29 | {37394, 1298433815} |
hidden_verbs | #1 | rc | #361 | {} |
phelp_msg | #1 | rc | #361 | {} |
weight | #1 | rc | #361 | 0 |
owner_verbs | #1 | rc | #361 | {} |
plural_name | #1 | rc | #361 | "" |
client_image | #1 | rc | #361 | "" |
listening | #1 | rc | #361 | 0 |
Ancestry
#1 root
- #0 The System Object
- #3 generic room
- #4 Login Commands
- #5 generic thing
- #10 Limbo
- #24 Generic Help Database
- #26 Object #32
- #30 Generic Database Tree
- #37 Generic Mail Recipient
- #38 Mail Distribution Center
- #55 generic exit
- #62 Generic Option Package
- #63 Error Generator
- #67 Generic BigList Resident
- #72 Generic Utilities Package
- #76 Server Options
- #88 Object #88
- #90 web server
- #91 HTML
- #92 generic actor
- #93 Generic Action
- #96 generic skill
- #102 damage
- #103 RPG Utilities
- #109 generic cover
- #110 body
- #112 Time
- #114 generic area
- #117 generic building
- #120 Player Help
- #121 generic messages
- #122 ANSI Database
- #125 generic drug
- #141 generic decal
- #156 generic party
- #165 generic weather
- #166 generic quest
- #179 Moo Stats Collector
- #181 generic window
- #189 generic region
- #192 Drug Repository
- #202 big map
- #204 generic interface
- #205 interfaces registry
- #215 generic weather object
- #216 faction
- #231 generic noise
- #247 explosion
- #248 generic subarea
- #253 changelog
- #268 random number generator
- #269 default tactics
- #271 drug_vector
- #272 drug_vectors
- #287 jobs database
- #291 generic forum
- #292 generic event
- #294 generic database of objnums
- #296 task scheduler
- #301 MCP 2.1
- #305 generic item spawner
- #306 generic invasion
- #308 generic file
- #309 generic db object
- #311 hints DB
- #312 MCP package registry
- #316 quest data storage
- #325 JSON Utils
- #326 MySQL proxy
- #336 Player Last_huh Verbs
- #342 generic data
- #345 generic holding tank
- #355 generic message dispatch object
- #369 drug_vector
Ancestors (nearest first): none
Children: #0 The System Object, #3 generic room, #4 Login Commands, #5 generic thing, #10 Limbo, #24 Generic Help Database, #26 Object #32, #30 Generic Database Tree, #37 Generic Mail Recipient, #38 Mail Distribution Center, #55 generic exit, #62 Generic Option Package, #63 Error Generator, #67 Generic BigList Resident, #72 Generic Utilities Package, #76 Server Options, #88 Object #88, #90 web server, #91 HTML, #92 generic actor, #93 Generic Action, #96 generic skill, #102 damage, #103 RPG Utilities, #109 generic cover, #110 body, #112 Time, #114 generic area, #117 generic building, #120 Player Help, #121 generic messages, #122 ANSI Database, #125 generic drug, #141 generic decal, #156 generic party, #165 generic weather, #166 generic quest, #179 Moo Stats Collector, #181 generic window, #189 generic region, #192 Drug Repository, #202 big map, #204 generic interface, #205 interfaces registry, #215 generic weather object, #216 faction, #231 generic noise, #247 explosion, #248 generic subarea, #253 changelog, #268 random number generator, #269 default tactics, #271 drug_vector, #272 drug_vectors, #287 jobs database, #291 generic forum, #292 generic event, #294 generic database of objnums, #296 task scheduler, #301 MCP 2.1, #305 generic item spawner, #306 generic invasion, #308 generic file, #309 generic db object, #311 hints DB, #312 MCP package registry, #316 quest data storage, #325 JSON Utils, #326 MySQL proxy, #336 Player Last_huh Verbs, #342 generic data, #345 generic holding tank, #355 generic message dispatch object, #369 drug_vector
Call graph
Showing 48 of 75 verbs; 27 not shown.
Source
initialize
Referenced by
- #3:initialize line 1:
pass( - #24:initialize line 1:
pass( - #37:initialize line 3:
pass( - #68:initialize line 2:
pass( - #107:initialize line 1:
pass( - #114:initialize line 4:
pass( - #134:initialize line 2:
pass( - #173:initialize line 4:
pass( - #209:initialize line 2:
pass(
Source
1if (this.owner != #984) 2if (typeof(this.owner.owned_objects) == LIST) 3this.owner.owned_objects = setadd(this.owner.owned_objects, this); 4endif 5this.object_size = {0, 0}; 6endif
recycle
Referenced by
- #3:recycle line 50:
pass( - #5:recycle line 4:
pass( - #55:recycle line 7:
pass( - #107:recycle line 2:
pass( - #114:recycle line 2:
pass( - #166:recycle line 2:
pass( - #256:recycle line 2:
pass( - #296:recycle line 3:
pass(
Source
1if ((caller == this) || $perm_utils:controls(caller_perms(), this)) 2try 3if ((typeof(this.owner.owned_objects) == LIST) && (!is_clear_property(this.owner, "owned_objects"))) 4this.owner.owned_objects = setremove(this.owner.owned_objects, this); 5endif 6except e (ANY) 7"Oy, doesn't have a .owned_objects??, or maybe .owner is $nothing"; 8"Should probably do something...like send mail somewhere."; 9$rpg:report_error(e); 10endtry 11else 12return E_PERM; 13endif
set_name
Referenced by
- #6:set_name line 11:
pass( - #37:set_name line 6:
pass( - #37:set_name line 16:
pass( - #104:setup_for line 6:
this:set_name - #142:_spawn_name line 22:
this:set_name - #142:_spawn_name line 28:
this:set_name - #148:setup line 6:
this:set_name
Source
1"set_name(newname) attempts to change this.name to newname"; 2" => E_PERM if you don't own this or aren't its parent, or are a player trying to do an end-run around $player_db..."; 3if ((!caller_perms().wizard) && (is_player(this) || ((caller_perms() != this.owner) && (this != caller)))) 4return E_PERM; 5else 6return (typeof(e = `this.name = args[1] ! ANY') != ERR) || e; 7endif
title
Referenced by
none
Source
1return this:name();
set_aliases
Referenced by
- #6:set_aliases line 14:
pass( - #37:set_aliases line 7:
pass( - #37:set_aliases line 21:
pass( - #55:set_aliases line 10:
pass( - #104:setup_for line 7:
this:set_aliases - #104:setup_for line 10:
this:set_aliases - #142:_spawn_name line 33:
this:set_aliases - #148:setup line 7:
this:set_aliases
Source
1"set_aliases(alias_list) attempts to change this.aliases to alias_list"; 2" => E_PERM if you don't own this or aren't its parent"; 3" => E_TYPE if alias_list is not a list"; 4" => E_INVARG if any element of alias_list is not a string"; 5" => 1 if aliases are set exactly as expected (default)"; 6" => 0 if aliases were set differently than expected"; 7" (children with custom :set_aliases should be aware of this)"; 8if (!($perm_utils:controls(caller_perms(), this) || (this == caller))) 9return E_PERM; 10elseif (typeof(aliases = args[1]) != LIST) 11return E_TYPE; 12else 13for s in (aliases) 14if (typeof(s) != STR) 15return E_INVARG; 16endif 17endfor 18this.aliases = $lu:remove_duplicates(aliases); 19return 1; 20endif
match
Referenced by
- #2:#* line 19:
player:match
Source
1return $match_utils:match(args[1], {this});
match_object
Referenced by
none
Source
1":match_object(string [,who])"; 2args[2..1] = {this}; 3return $string_utils:match_object(@args);
set_description
Referenced by
- #25:do_reset line 10:
this:set_description
Source
1"set_description(newdesc) attempts to change this.description to newdesc"; 2" => E_PERM if you don't own this or aren't its parent"; 3if (!($perm_utils:controls(caller_perms(), this) || (this == caller))) 4return E_PERM; 5elseif (typeof(desc = args[1]) in {LIST, STR}) 6this.description = desc; 7return 1; 8else 9return E_TYPE; 10endif
description
Referenced by
- #1:look_self line 1:
this:description - #1:examine_desc line 4:
this:description - #1:_www line 6:
this:description - #3:description line 19:
pass( - #5:description line 1:
pass( - #37:look_self line 35:
this:description - #55:description line 1:
pass( - #66:help_msg line 2:
this:description - #69:help_msg line 1:
this:description - #74:help_msg line 1:
this:description - #96:description line 1:
pass( - #104:setup_for line 14:
this:description - #114:_www line 4:
this:description
Source
1if ((!this.description) && (!(this == #1))) 2return parent(this).description; 3else 4return this.description; 5endif
look_self
Referenced by
- #1:do_examine line 10:
this:look_self - #8:look_self line 1:
pass( - #55:look_self line 2:
pass( - #55:look_self line 8:
pass( - #57:look_self line 11:
pass( - #107:look_self line 12:
pass( - #111:look_self line 1:
pass( - #127:look_self line 1:
pass( - #129:look_self line 1:
pass( - #130:look_self line 1:
pass( - #133:read line 10:
this:look_self - #138:look_self line 1:
pass( - #141:look_self line 4:
pass( - #144:look_self line 1:
pass( - #145:look_self line 1:
pass( - #151:look_self line 1:
pass( - #153:look_self line 1:
pass( - #167:look_self line 1:
pass( - #176:look_self line 2:
pass( - #181:look_self line 1:
pass( - #227:look_self line 1:
pass( - #255:look_self line 1:
pass( - #283:look_self line 1:
pass(
Source
1desc = this:description(); 2if (desc) 3player:tell_lines(desc); 4else 5"player:tell(\"You see nothing special.\");"; 6player:tell("It's ", this:iname(), ", fuck you."); 7endif 8if ((hint = this:hint_msg()) && player:check_pref("hints")) 9fork (1) 10(player.location == this:room()) && player:systell(hint); 11if (valid(quest = `this.hint_quest ! ANY => #-1')) 12quest:add_hint(player, this:list_hint_msg(hint)); 13endif 14endfork 15endif
notify
Referenced by
- #107:stow line 9:
this:notify - #107:stow line 18:
this:notify - #107:stow line 20:
this:notify - #107:inform_of_death line 1:
this:notify - #107:inform_of_death line 2:
this:notify - #107:inform_of_death line 3:
this:notify - #107:inform_of_death line 4:
this:notify - #107:inform_of_death line 5:
this:notify - #107:inform_of_death line 6:
this:notify - #107:inform_of_death line 7:
this:notify
Source
1{vthis, vname, vprog, vloc, vplayer, vline} = callers(1)[1]; 2line = tostr("Unneccessary tell from ", vloc, ":", vname, " line ", vline, "."); 3if (vthis != vloc) 4line = tostr(line, " (this == ", $su:nn(vthis), ")"); 5endif 6#196834:announce(#-1, line, 1);
tell_lines
Referenced by
- #1:look_self line 3:
player:tell_lines - #2:@measure line 8:
player:tell_lines - #2:@measure line 118:
player:tell_lines - #3:look_self line 68:
player:tell_lines - #3:tell_map line 88:
player:tell_lines - #3:textmap line 3:
player:tell_lines - #3:look_self_NEW line 126:
player:tell_lines - #3:look_self_backup line 128:
player:tell_lines - #3:look_self_backup line 143:
player:tell_lines - #3:look_self_backup2 line 134:
player:tell_lines - #3:look_self_backup2 line 149:
player:tell_lines - #3:tell_map_backup line 80:
player:tell_lines - #3:look_self_old line 145:
player:tell_lines - #3:tell_map_old line 83:
player:tell_lines - #6:list_prefs line 17:
player:tell_lines - #6:tell_contents_backup line 22:
player:tell_lines - #6:tell_contents_backup line 23:
player:tell_lines - #6:new_tell_contents line 65:
player:tell_lines - #6:new_tell_contents line 121:
player:tell_lines - #6:job*s line 133:
player:tell_lines - #6:bigmap line 30:
player:tell_lines - #6:list_pref_categories line 18:
player:tell_lines - #38:look_self line 1:
player:tell_lines - #39:parse_invoke line 5:
player:tell_lines - #39:showlists line 1:
player:tell_lines - #40:parse_invoke line 5:
player:tell_lines - #40:look_self line 3:
player:tell_lines - #41:comment line 11:
player:tell_lines - #41:uncomment line 11:
player:tell_lines - #43:lis*t line 43:
player:tell_lines - #43:del*ete line 8:
player:tell_lines - #43:print line 3:
player:tell_lines - #43:look_self line 2:
player:tell_lines - #50:whodo line 34:
player:tell_lines - #50:@current-daily-gain line 28:
player:tell_lines - #50:@canedit line 10:
player:tell_lines - #50:@canedit line 23:
player:tell_lines - #50:@canedit line 27:
player:tell_lines - #50:@disassemble line 15:
player:tell_lines - #50:@task*s line 122:
player:tell_lines - #57:look_self line 9:
player:tell_lines - #65:look_self line 1:
player:tell_lines - #89:@join_old line 42:
player:tell_lines - #100:help line 22:
player:tell_lines - #107:show_score_full line 166:
player:tell_lines - #107:@qp line 22:
player:tell_lines - #113:@vloc line 39:
player:tell_lines - #114:look_self line 2:
player:tell_lines - #120:tell_object_help line 2:
player:tell_lines - #133:read line 22:
player:tell_lines - #137:look_self line 8:
player:tell_lines - #147:look_self line 3:
player:tell_lines - #150:tell_log line 2:
player:tell_lines - #167:biz_log line 4:
player:tell_lines - #167:biz_listperms line 14:
player:tell_lines - #167:biz_listperms line 15:
player:tell_lines - #223:read line 13:
player:tell_lines - #223:read line 25:
player:tell_lines - #253:_changelog_object line 21:
player:tell_lines - #253:_changelog_verb line 16:
player:tell_lines - #253:_changelog_all line 28:
player:tell_lines - #253:_changelog_critical line 39:
player:tell_lines - #261:@mem line 12:
player:tell_lines - #317:@actor-check line 13:
player:tell_lines - #317:@compare line 185:
player:tell_lines - #317:@topitems line 16:
player:tell_lines - #317:@topvalues line 17:
player:tell_lines - #324:look_self line 1:
player:Tell_lines - #334:desc*ribe line 11:
player:tell_lines - #334:invoice line 12:
player:tell_lines - #334:bpdesc line 6:
player:tell_lines - #334:mapicon line 35:
player:tell_lines - #334:areaicon line 36:
player:tell_lines
Source
1{vthis, vname, vprog, vloc, vplayer, vline} = callers(1)[1]; 2line = tostr("Unneccessary tell_lines on ", this, " from ", vloc, ":", vname, " line ", vline, "."); 3if (vthis != vloc) 4line = tostr(line, " (this == ", $su:nn(vthis), ")"); 5endif 6#196834:announce(#-1, line, 1);
accept
Referenced by
none
Source
1set_task_perms(caller_perms()); 2return this:acceptable(@args);
moveto
Referenced by
- #0:moveto line 2:
pass( - #5:thrown_at line 11:
this:moveto - #5:on_failed_breakdown line 4:
this:moveto - #55:recycle line 6:
this:moveto - #57:moveto line 1:
pass( - #95:thrown_at line 22:
this:moveto - #96:@initialize line 18:
this:moveto - #107:moveto line 3:
pass( - #111:moveto line 6:
pass( - #130:moveto line 5:
pass( - #135:moveto line 4:
pass( - #141:moveto line 30:
pass( - #144:hang line 9:
this:moveto - #144:hang line 15:
this:moveto - #187:moveto line 28:
pass( - #215:moveto line 2:
pass( - #215:moveto line 6:
pass( - #215:moveto line 16:
pass( - #215:moveto line 41:
pass( - #267:install line 17:
this:moveto - #267:uninstall line 12:
this:moveto
Source
1set_task_perms(this.owner); 2{target} = args; 3try 4move(this, target); 5return this; 6except e (ANY) 7return e[1]; 8endtry
huh
Referenced by
none
Source
1set_task_perms((caller_perms() != #-1) ? caller_perms() | player); 2$command_utils:do_huh(verb, args);
set_message
Referenced by
none
Source
1":set_message(msg_name,new_value)"; 2"Does the actual dirty work of @<msg_name> object is <new_value>"; 3"changing the raw value of the message msg_name to be new_value."; 4"Both msg_name and new_value should be strings, though their interpretation is up to the object itself."; 5" => error value (use E_PROPNF if msg_name isn't recognized)"; 6" => string error message if something else goes wrong."; 7" => 1 (true non-string) if the message is successfully set"; 8" => 0 (false non-error) if the message is successfully `cleared'"; 9if (!((caller == this) || $perm_utils:controls(caller_perms(), this))) 10return E_PERM; 11else 12return `this.(args[1] + "_msg") = args[2] ! ANY' && 1; 13endif
do_examine
Referenced by
none
Source
1"do_examine(examiner[,no_desc])"; 2"the guts of examine"; 3"call a series of verbs and report their return values to the player"; 4who = args[1]; 5no_desc = (length(args) > 1) ? args[2] | 0; 6no_desc || who:tell(""); 7no_desc || who:tell_lines(this:examine_names(who) || {}); 8"no_desc || who:tell_lines(this:examine_desc(who) || {});"; 9if (who:check_pref("examlook")) 10no_desc || this:look_self(player = who); 11endif 12if (v = this:examine_verbs(who)) 13who:tell_lines(v); 14else 15who:systell("No obvious commands."); 16endif
examine_names
Referenced by
- #1:do_examine line 7:
this:examine_names
Source
1"examine_names(examiner)"; 2"Return a list of strings to be told to the player, indicating the name and aliases (and, by default, the object number) of this."; 3a = setremove(this.aliases, this.name); 4while (this.name in a) 5a = setremove(a, this.name); 6endwhile 7s = ($ansi.bold_on + this.name) + $ansi.reset; 8if (a) 9s = ((s + " (aka ") + $su:english_list(a)) + ")"; 10endif 11return {s};
examine_desc
Referenced by
none
Source
1"examine_desc(who) - return the description, probably"; 2"who is the player examining"; 3"this should probably go away"; 4desc = this:description(); 5if (desc) 6if (typeof(desc) != LIST) 7desc = {desc}; 8endif 9return desc; 10else 11return {"(No description set.)"}; 12endif
examine_contents
Referenced by
none
Source
1"examine_contents(examiner)"; 2"by default, calls :tell_contents."; 3"Should probably go away."; 4who = args[1]; 5if (caller == this) 6try 7this:tell_contents(this.contents, this.ctype); 8except (ANY) 9"Just ignore it. We shouldn't care about the contents unless the object wants to tell us about them via :tell_contents ($container, $room)"; 10endtry 11endif
get_message
Referenced by
none
Source
1":get_message(msg_name)"; 2"Use this to obtain a given user-customizable message's raw value, i.e., the value prior to any pronoun-substitution or incorporation of any variant elements --- the value one needs to supply to :set_message()."; 3"=> error (use E_PROPNF if msg_name isn't recognized)"; 4"=> string or list-of-strings raw value"; 5"=> {2, @(list of {msg_name_n,rawvalue_n} pairs to give to :set_message)}"; 6"=> {1, other kind of raw value}"; 7"=> {E_NONE, error message} "; 8if (!((caller == this) || $perm_utils:controls(caller_perms(), this))) 9return E_PERM; 10elseif (((t = typeof(msg = `this.(args[1] + "_msg") ! ANY')) in {ERR, STR}) || (((t == LIST) && msg) && (typeof(msg[1]) == STR))) 11return msg; 12else 13return {1, msg}; 14endif
room_announce*_all_but
Referenced by
none
Source
1try 2this.location:(verb)(@args); 3except (ANY) 4endtry
init_for_core
Referenced by
- #0:init_for_core line 2:
pass( - #4:init_for_core line 2:
pass( - #11:init_for_core line 2:
pass( - #17:init_for_core line 2:
pass( - #21:init_for_core line 2:
pass( - #22:init_for_core line 4:
pass( - #32:init_for_core line 2:
pass( - #33:init_for_core line 2:
pass( - #37:init_for_core line 2:
pass( - #38:init_for_core line 5:
pass( - #43:init_for_core line 2:
pass( - #44:init_for_core line 2:
pass( - #57:init_for_core line 5:
pass( - #66:init_for_core line 2:
pass( - #68:init_for_core line 6:
pass( - #69:init_for_core line 3:
pass( - #80:init_for_core line 4:
pass( - #81:init_for_core line 2:
pass(
Source
1if (caller_perms().wizard) 2vnum = 1; 3while (vnum <= length(verbs(this))) 4$command_utils:suspend_if_needed(0); 5info = verb_info(this, vnum)[3]; 6if (index(info, "(old)")) 7delete_verb(this, vnum); 8else 9vnum = vnum + 1; 10endif 11endwhile 12if (this == $root_class) 13set_verb_code(this, "initialize", verb_code(this, "initialize(core)")); 14delete_verb(this, "initialize(core)"); 15endif 16endif
contents
Referenced by
- #3:tell_contents line 4:
this:contents - #3:match line 1:
this:contents - #3:list_description line 53:
this:contents - #3:list_description line 65:
this:contents - #3:render_contents line 1:
this:contents - #3:look_self_NEW line 75:
this:contents - #3:look_self_NEW line 129:
this:contents - #3:look_self_backup line 99:
this:contents - #3:look_self_backup line 154:
this:contents - #3:look_self_backup2 line 16:
this:contents - #3:look_self_old line 25:
this:contents - #3:_look_self_obvious line 2:
this:contents - #3:tell_contents_terserun line 1:
this:contents - #6:i line 4:
player:contents - #8:re*move line 8:
this:contents - #8:tell_contents line 3:
this:contents - #50:find_verbs_on line 2:
this:contents - #50:find_properties_on line 2:
this:contents - #54:match_backup line 1:
this:contents - #54:tell_contents_sub line 8:
this:contents - #107:do_command line 23:
player:contents - #107:tell_contents line 6:
this:contents - #114:spy_report line 5:
this:contents - #146:contents line 1:
pass( - #147:tell_contents_old line 6:
this:contents - #147:all_recipes line 2:
this:contents - #186:tell_contents_sub line 10:
this:contents - #189:spy_report line 5:
this:contents
Source
1"Returns a list of the objects that are apparently inside this one. Don't confuse this with .contents, which is a property kept consistent with .location by the server. This verb should be used in `VR' situations, for instance when looking in a room, and does not necessarily have anything to do with the value of .contents (although the default implementation does). `Non-VR' commands (like @contents) should look directly at .contents."; 2"This is reversed, because the in-server representation is newest-to-oldest, which is the opposite of what people expect."; 3return this.contents;
examine_verb_ok
Referenced by
none
Source
1"examine_verb_ok(loc, index, info, syntax, commands_ok, hidden_verbs)"; 2"loc is the object that defines the verb; index is which verb on the object; info is verb_info; syntax is verb_args; commands_ok is determined by this:commands_ok, probably, but passed in so we don't have to calculate it for each verb."; 3"hidden_verbs is passed in for the same reasons. It should be a list, each of whose entries is either a string with the full verb name to be hidden (e.g., \"d*rop th*row\") or a list of the form {verb location, full verb name, args}."; 4if ((caller == this) || $perm_utils:controls(caller_perms(), this)) 5{loc, index, info, syntax, commands_ok, hidden_verbs} = args; 6vname = info[3]; 7return (((((syntax[2..3] != {"none", "this"}) && (!index(vname, "("))) && (commands_ok || ("this" in syntax))) && `verb_code(loc, index) ! ANY') && (!(vname in hidden_verbs))) && (!({loc, vname, syntax} in hidden_verbs)); 8else 9return E_PERM; 10endif
is_listening
Referenced by
none
Source
1"return 1 if the object can hear a :tell, or cares. Useful for active objects that want to stop when nothing is listening."; 2return 0;
hidden_verbs
Referenced by
- #68:hidden_verbs line 3:
pass(
Source
1"hidden_verbs(who)"; 2"returns a list of verbs on this that should be hidden from examine"; 3"the player who's examining is passed in, so objects can hide verbs from specific players"; 4"verbs are returned as {location, full_verb_name, args} or just full_verb_name. full_verb name is what shows up in verb_info(object, verb)[2], for example \"d*op th*row\"."; 5if ((caller == this) || $perm_utils:controls(caller_perms(), this)) 6hidden = {}; 7what = this; 8while (what != $nothing) 9for i in [1..length(verbs(what))] 10info = verb_info(what, i); 11if (!index(info[2], "r")) 12hidden = setadd(hidden, {what, info[3], verb_args(what, i)}); 13endif 14endfor 15what = parent(what); 16endwhile 17return hidden; 18else 19return E_PERM; 20endif
announce*_all_but
Referenced by
none
Source
1{vthis, vname, vprog, vloc, vplayer, vline} = callers(1)[1]; 2line1 = tostr("unnecessary ", verb, " to ", $su:nn(this)); 3line2 = tostr(" from ", vloc, ":", vname, " line ", vline, "."); 4if (vthis != vloc) 5line2 = tostr(line2, " (this == ", $su:nn(vthis), ")"); 6endif 7$nets.tellnet:announce(this, line1, 1); 8$nets.tellnet:announce(this, line2, 1); 9$rpg:log_callers(#7195);
tell_lines_suspended
Referenced by
- #2:@measure line 113:
player:tell_lines_suspended
Source
1lines = args[1]; 2if (typeof(lines) == LIST) 3for line in (lines) 4this:tell(line); 5$command_utils:suspend_if_needed(0); 6endfor 7else 8this:tell(lines); 9endif
acceptable
Referenced by
- #1:accept line 2:
this:acceptable
Source
1return 0; 2"intended as a 'quiet' way to determine if :accept will succeed. Currently, some objects have a noisy :accept verb since it is the only thing that a builtin move() call is guaranteed to call."; 3"if you want to tell, before trying, whether :accept will fail, use :acceptable instead. Normally, they'll do the same thing.";
name
Referenced by
- #1:title line 1:
this:name - #1:dname line 1:
this:name - #1:iname line 1:
this:name - #1:real_name line 1:
this:name - #1:action_name line 1:
this:name - #3:title line 13:
this:name - #3:@residents line 2:
this:name - #3:@residents line 5:
this:name - #3:@rmresident line 2:
this:name - #3:@rmresident line 10:
this:name - #3:@rmresident line 12:
this:name - #5:iname line 1:
this:name - #38:name line 2:
pass( - #54:count line 50:
this:name - #63:name line 2:
pass( - #92:iname line 1:
this:name - #96:description line 5:
this:name - #100:dname_disabled line 2:
this:name - #107:dname line 2:
this:name - #107:dname line 4:
this:name - #107:iname line 4:
this:name - #107:real_name line 4:
this:name - #107:abbreviated_name line 4:
this:name - #118:command_who line 21:
this:name - #128:light line 33:
this:name - #128:light line 49:
this:name - #130:_page line 14:
this:name - #130:radio_receive line 4:
this:name - #130:give line 1:
this:name - #135:pull line 1:
this:name - #166:name_for line 2:
this:name - #179:_www line 1:
this:name - #189:abbreviated_name line 3:
this:name - #334:edit line 5:
this:name - #334:commit line 7:
this:name - #334:commit line 11:
this:name - #334:bury line 37:
this:name - #334:valid_blueprint line 3:
this:name - #334:authorize line 17:
this:name - #334:deauthorize line 11:
this:name - #334:deauthorize line 13:
this:name - #334:areaicon line 50:
this:name
Source
1return this.name;
dname
Referenced by
- #1:dnamec line 1:
this:dname - #5:throw line 5:
this:dname - #5:break*down line 8:
this:dname - #5:find_recipe line 37:
this:dname - #5:on_failed_breakdown line 3:
this:dname - #5:_push line 15:
this:dname - #8:re*move line 13:
this:dname - #54:close line 2:
this:dname - #54:cant_get_from line 7:
this:dname - #54:cant_get_from line 9:
this:dname - #54:cant_get_from line 17:
this:dname - #54:clean line 5:
this:dname - #54:count line 44:
this:dname - #54:old_count line 8:
this:dname - #55:dname line 10:
pass( - #111:rem*ove line 2:
this:dname - #111:tease line 2:
this:dname - #111:try_wear line 5:
what:dname - #114:dname line 4:
pass( - #115:fix line 11:
this:dname - #115:turn line 20:
this:dname - #124:action_doing_msg line 3:
this:dname - #124:action_doing_msg line 5:
this:dname - #124:action_doing_msg line 7:
this:dname - #124:action_doing_msg line 9:
this:dname - #128:light line 2:
this:dname - #129:get line 5:
this:dname - #129:put line 2:
this:dname - #129:put line 8:
this:dname - #129:put line 11:
this:dname - #130:init line 3:
this:dname - #130:init line 7:
this:dname - #133:read line 3:
this:dname - #134:look_self line 29:
this:dname - #135:fall line 13:
this:dname - #135:fall line 18:
this:dname - #135:grenade line 6:
this:dname - #137:recline line 2:
this:dname - #137:recline line 7:
this:dname - #137:users_msg line 23:
this:dname - #137:users_msg line 25:
this:dname - #137:users_msg line 29:
this:dname - #137:users_msg line 31:
this:dname - #137:users_msg line 34:
this:dname - #137:_sit line 3:
this:dname - #137:_sit line 17:
this:dname - #138:eat line 8:
this:dname - #138:smell line 15:
this:dname - #141:wipe line 10:
this:dname - #144:hang line 3:
this:dname - #146:uninstall line 17:
this:dname - #146:uninstall line 21:
this:dname - #146:open line 2:
this:dname - #146:autoclose_on_lock line 13:
this:dname - #146:autoclose_on_lock line 15:
this:dname - #146:autoopen_on_unlock line 13:
this:dname - #146:autoopen_on_unlock line 15:
this:dname - #146:location_specifier line 1:
this:dname - #146:pick line 2:
this:dname - #146:bolt_old line 3:
this:dname - #146:bolt_old line 11:
this:dname - #146:unbolt_old line 3:
this:dname - #147:tell_contents_old line 23:
this:dname - #147:make line 4:
this:dname - #147:make line 12:
this:dname - #147:make line 28:
this:dname - #147:make line 34:
this:dname - #147:make line 9:
this:dname - #147:read line 4:
this:dname - #147:read line 12:
this:dname - #147:read line 16:
this:dname - #150:squeeze line 1:
this:dname - #150:squeeze line 2:
this:dname - #150:inspect line 2:
this:dname - #150:stop line 5:
this:dname - #150:start line 6:
this:dname - #167:biz_disband line 36:
this:dname - #181:open line 4:
this:dname - #181:close line 4:
this:dname - #198:eat line 5:
this:dname - #201:turn line 2:
this:dname - #223:read line 4:
this:dname - #227:start line 8:
this:dname - #267:do_spring line 12:
this:dname - #267:uninstall line 6:
this:dname - #267:uninstall line 9:
this:dname - #335:do_use_start line 9:
this:dname - #335:do_use_start line 13:
this:dname - #338:fill line 12:
this:dname - #338:fill line 23:
this:dname - #338:_finish_drink line 3:
this:dname - #338:dump line 4:
this:dname - #338:toast line 2:
this:dname - #338:action_doing_msg line 3:
this:dname - #338:chug line 2:
this:dname - #367:new_player line 1:
this:dname
Source
1return "the " + this:name();
iname
Referenced by
- #1:look_self line 6:
this:iname - #1:inamec line 1:
this:iname - #1:list_hint_msg line 6:
this:iname - #1:list_hint_msg line 9:
this:iname - #1:list_hint_msg line 11:
this:iname
Source
1name = this:name(); 2if (this.f) 3name = strsub(name, "generic ", ""); 4endif 5if (has_property(this, "article")) 6return tostr((this.article + " ") + name); 7endif 8return (tostr($english_utils:article_for(tostr(name))) + " ") + tostr(name);
area
Referenced by
- #2:@dig line 11:
player:area - #2:@reset-area line 1:
player:area - #3:sky_room line 1:
this:area - #3:set_xyz_rec line 13:
this:area - #3:client_title line 1:
this:area - #3:client_map line 2:
this:area - #3:_render_map line 15:
this:area - #3:_render_map line 53:
this:area - #3:_render_map line 100:
this:area - #3:_room_map line 2:
this:area - #3:_update_map line 4:
this:area - #3:_update_map line 6:
this:area - #3:_update_map line 7:
this:area - #3:_update_map line 7:
this:area - #3:_update_map line 9:
this:area - #3:_link_map line 2:
this:area - #3:_room_map_list line 2:
this:area - #3:_descriptive_map_old line 18:
this:area - #3:_descriptive_map_old line 20:
this:area - #3:look_sky line 11:
this:area - #3:look_sky line 14:
this:area - #3:tell_notes line 2:
this:area - #3:write_landmark_msg line 2:
this:area - #3:_descriptive_map line 18:
this:area - #3:_descriptive_map line 21:
this:area - #6:_wake line 3:
this:area - #6:pinch line 5:
this:area - #6:wake line 1:
this:area - #6:killed_by line 8:
this:area - #6:lm*ap line 28:
this:area - #50:@revert-form line 5:
this:area - #95:at*tack line 2:
player:area - #100:time line 1:
this:area - #105:open line 1:
this:area - #106:start_fighting line 4:
this:area - #106:random_rumor line 3:
this:area - #107:start_fighting line 11:
this:area - #107:_knockout line 13:
this:area - #107:_fight_ari line 3:
this:area - #150:megacheck line 1:
this:area - #150:inspect line 1:
this:area - #150:stop line 1:
this:area - #150:start line 1:
this:area - #257:_room_map line 5:
this:area - #257:_room_map line 6:
this:area - #257:_room_map line 7:
this:area - #257:_render_map line 18:
this:area - #257:_render_map line 19:
this:area - #257:_render_map line 20:
this:area - #257:_render_map line 61:
this:area - #257:smell line 22:
this:area - #257:smell line 22:
this:area - #257:smell line 23:
this:area - #258:_darkness line 1:
this:area - #267:auto_connect line 2:
this:area - #317:ascend line 1:
player:area - #317:ascend line 3:
player:area - #334:mapicon line 45:
player:area - #334:areaicon line 46:
player:area - #367:view line 10:
this:area
Source
1":area()"; 2"Return the area to which we belong, or #-1."; 3"return area(this)"; 4where = this; 5while (valid(where)) 6if (is_a(where, $area)) 7return where; 8endif 9where = where.location; 10endwhile 11return #-1;
tell_stat
Referenced by
- #5:tell_stat line 1:
pass(
Source
1player:tell($ansi.bold_on + this.name, " (a ", parent(this).name, ")" + $ansi.reset);
aliases
Referenced by
none
Source
1return this.aliases;
examine_verbs
Referenced by
- #1:do_examine line 12:
this:examine_verbs - #3:examine_verbs line 1:
pass( - #89:examine_verbs line 1:
pass(
Source
1who = args[1]; 2what = this; 3l = {}; 4done = {}; 5hv = {}; 6p = what; 7while (valid(p)) 8hv = {@hv, @p.hidden_verbs}; 9p = parent(p); 10endwhile 11while (what != $nothing) 12for vn in [1..length(verbs(what))] 13so = verbs(what)[vn]; 14swords = $su:words(so); 15ns = {}; 16s1 = swords[1]; 17s1 = strsub(s1, "*", ""); 18if (!(s1 in {@hv, @done})) 19if (((player == this.owner) || player.programmer) || (!(s1 in this.owner_verbs))) 20info = verb_info(what, vn); 21arglist = verb_args(what, vn); 22if (arglist != {"this", "none", "this"}) 23if ((is_a(what, $thing) || is_a(what, $room)) || ("this" in arglist)) 24done = {@done, s1}; 25s = ($ansi:bold_on() + swords[1]) + $ansi:bold_off(); 26if (length(swords) > 1) 27for sx in (swords[2..$]) 28s = (s + "/") + sx; 29endfor 30endif 31s = s + $code_utils:vargs_to_english(arglist, this); 32l = {@l, ((" " + $ansi:cyan()) + s) + $ansi:reset()}; 33if (vd = $code_utils:verb_documentation(what, s1)) 34for vx in (vd) 35l = {@l, " " + vx}; 36endfor 37endif 38endif 39endif 40endif 41endif 42endfor 43$command_utils:suspend_if_needed(0); 44what = parent(what); 45endwhile 46if (l) 47return {(($ansi.yellow + $ansi.bold_on) + "Obvious commands:") + $ansi.reset, @l}; 48else 49return {}; 50endif
weight
Referenced by
- #95:weight line 1:
pass( - #107:encumbrance line 6:
this:weight - #107:cant_take line 23:
this:weight - #129:weight line 4:
pass( - #142:_scavenge line 4:
this:weight
Source
1w = this.weight; 2if (w == -1) 3return w; 4endif 5for x in (this.contents) 6w = w + x:weight(); 7yield; 8endfor 9return w;
controlled_by
Referenced by
none
Source
1who = args[1]; 2return ((who == this.owner) || `who.wizard ! ANY => 0') || (is_a(this.owner, $biz) && this.owner:permit_control(who, this));
dnamec
Referenced by
- #5:thrown_at line 5:
this:dnamec - #5:thrown_at line 8:
this:dnamec - #54:open line 4:
this:dnamec - #54:close line 4:
this:dnamec - #95:thrown_at line 13:
this:dnamec - #95:thrown_at line 16:
this:dnamec - #100:tell_appraise line 7:
this:dnamec - #104:tell_appraise line 1:
this:dnamec - #104:butch*er line 3:
this:dnamec - #104:cut line 3:
this:dnamec - #106:spare_old line 10:
this:dnamec - #107:die line 18:
this:dnamec - #107:dodge_or_parry line 37:
this:dnamec - #107:dodge_or_parry line 39:
this:dnamec - #107:dodge_or_parry line 51:
this:dnamec - #107:dodge_or_parry line 53:
this:dnamec - #107:start_fighting line 39:
this:dnamec - #107:give_to line 10:
this:dnamec - #107:give_to line 15:
this:dnamec - #107:say line 19:
this:dnamec - #107:clear_hands line 53:
this:dnamec - #107:cure line 8:
this:dnamec - #107:stand line 4:
target:dnamec - #107:stand line 19:
target:dnamec - #107:_get_many line 19:
this:dnamec - #107:_get_many line 21:
this:dnamec - #107:_get_from_container line 6:
this:dnamec - #107:dress line 8:
this:dnamec - #107:think line 16:
this:dnamec - #107:_whisper line 3:
this:dnamec - #107:title line 1:
this:dnamec - #114:dnamec line 4:
pass( - #119:try_open line 7:
this:dnamec - #119:try_open line 12:
this:dnamec - #119:try_close line 4:
this:dnamec - #119:unlock line 3:
this:dnamec - #119:lock line 3:
this:dnamec - #119:push line 2:
this:dnamec - #126:description line 9:
this:dnamec - #129:get line 8:
this:dnamec - #129:get line 12:
this:dnamec - #129:put line 24:
this:dnamec - #129:look_self line 3:
this:dnamec - #130:init line 5:
this:dnamec - #135:burn_up line 1:
this:dnamec - #137:do_sit line 11:
this:dnamec - #142:slave_to line 8:
this:dnamec - #142:should_aggro line 27:
this:dnamec - #146:uninstall line 11:
this:dnamec - #146:lock line 7:
this:dnamec - #146:lock line 11:
this:dnamec - #146:_lock line 6:
this:dnamec - #146:unbolt_old line 7:
this:dnamec - #147:make_old line 3:
this:dnamec - #148:search line 9:
this:dnamec - #148:tell_health line 2:
this:dnamec - #148:tell_health line 7:
this:dnamec - #150:beat line 8:
this:dnamec - #151:_finish line 11:
this:dnamec - #154:popmon line 16:
this:dnamec - #154:popmon line 20:
this:dnamec - #154:popmon line 26:
this:dnamec - #154:popmon line 43:
this:dnamec - #154:popmon line 48:
this:dnamec - #167:biz_withdraw line 16:
this:dnamec - #181:open line 2:
this:dnamec - #181:close line 2:
this:dnamec - #216:change_reputation line 18:
this:dnamec - #216:change_reputation line 26:
this:dnamec - #267:auto_connect line 15:
this:dnamec - #267:auto_connect line 18:
this:dnamec - #267:uninstall line 2:
this:dnamec - #267:disarm line 2:
this:dnamec - #267:disarm line 5:
this:dnamec - #267:auto_disconnect line 2:
this:dnamec - #335:use line 24:
this:dnamec - #338:fill line 15:
this:dnamec - #338:fill_from line 29:
this:dnamec - #338:_start_drink line 10:
this:dnamec - #338:dump line 2:
this:dnamec - #338:_break line 5:
this:dnamec - #341:call_police line 6:
this:dnamec - #342:forbid_action_get line 4:
this:dnamec
Source
1return $su:capitalize(this:dname());
inamec
Referenced by
- #106:respond_convo line 17:
this:inamec - #142:tame line 2:
this:inamec - #142:show_sheet line 1:
this:inamec
Source
1return $su:capitalize(this:iname());
plural_name pname
Referenced by
none
Source
1{?howmany = 1} = args; 2enum = ""; 3if (howmany > 1) 4enum = $su:english_number(howmany); 5endif 6name = this.plural_name ? this.plural_name | $su:plural(this.name); 7name = strsub(name, "%t", this.name); 8return (enum ? enum + " " | "") + name;
occupants
Referenced by
- #3:-* line 3:
this:occupants - #3:-* line 4:
this:occupants - #3:player_integration_msg_backup line 4:
this:occupants - #3:fall_into line 6:
this:occupants - #3:powerplant line 1:
this:occupants - #3:psi_shimmer line 1:
this:occupants - #3:list_description line 16:
this:occupants - #3:list_description line 38:
this:occupants - #3:list_description line 45:
this:occupants - #3:announce_admins_but line 5:
this:occupants - #3:_covers line 2:
this:occupants - #3:look_self_NEW line 19:
this:occupants - #3:look_self_NEW line 57:
this:occupants - #3:look_self_NEW line 68:
this:occupants - #3:look_self_backup line 43:
this:occupants - #3:look_self_backup line 81:
this:occupants - #3:look_self_backup line 92:
this:occupants - #3:look_self_backup2 line 13:
this:occupants - #3:look_self_backup2 line 15:
this:occupants - #3:look_self_verybrief line 2:
this:occupants - #3:smell line 3:
this:occupants - #3:smell line 3:
this:occupants - #3:tell_map_backup line 15:
this:occupants - #3:_ghosticon line 4:
this:occupants - #3:_ghosticon line 7:
this:occupants - #3:_ghosticon line 10:
this:occupants - #3:look_self_old line 26:
this:occupants - #3:look_self_old line 27:
this:occupants - #3:player_integration_msg_old line 3:
this:occupants - #3:player_integration_msg_old line 17:
this:occupants - #3:_radicon line 10:
this:occupants - #3:_radicon line 13:
this:occupants - #6:wear line 3:
player:occupants - #6:wear line 7:
player:occupants - #6:_heartbeat_hunger line 4:
this:occupants - #54:_break line 3:
this:occupants - #54:old_count line 16:
this:occupants - #56:_player_integration_msg line 6:
this:occupants - #104:cryptkeeper line 1:
this:occupants - #106:heartbeat line 27:
this:occupants - #107:die line 192:
this:occupants - #107:drop line 11:
player:occupants - #107:drop line 21:
player:occupants - #107:drop line 34:
player:occupants - #107:dress line 7:
this:occupants - #114:find_all_paths line 7:
this:occupants - #114:add_stub_room line 3:
this:occupants - #114:do_reset line 20:
this:occupants - #114:calculate_offset line 7:
this:occupants - #114:find_reset_listeners line 4:
this:occupants - #114:find_transitions line 11:
this:occupants - #114:random_room line 4:
this:occupants - #114:hibernate line 3:
this:occupants - #114:unhibernate line 3:
this:occupants - #114:_www line 10:
this:occupants - #114:reset_map line 1:
this:occupants - #114:make_public line 1:
this:occupants - #119:peep line 7:
this:occupants - #134:heartbeat line 5:
this:occupants - #134:start line 6:
this:occupants - #147:accepted_products line 2:
this:occupants - #147:accepted_products line 2:
this:occupants - #148:search line 11:
this:occupants - #167:biz_disband line 37:
this:occupants - #200:creature_heartbeat line 2:
this:occupants - #200:lose_unit line 1:
this:occupants - #200:room_smell_msg line 1:
this:occupants - #257:smell line 4:
this:occupants - #257:smell line 4:
this:occupants - #334:dig line 15:
this:occupants - #334:rooms line 7:
this:occupants - #334:warp line 4:
this:occupants - #338:tell_contents line 4:
this:occupants - #338:capacity_left line 2:
this:occupants - #338:fill line 1:
player:occupants - #338:lose_unit line 1:
this:occupants - #338:_start_drink line 9:
this:occupants - #338:_finish_drink line 2:
this:occupants - #338:dump line 1:
this:occupants - #338:smell line 3:
this:occupants - #338:wash line 1:
player:occupants - #338:wash line 4:
this:occupants - #338:supports_fish line 1:
this:occupants - #338:do_wash line 5:
this:occupants - #338:unchuggable line 2:
this:occupants - #338:on_chug line 3:
this:occupants - #338:on_chug line 9:
this:occupants
Source
1":occupants(OBJ/LIST parent[, STR property)"; 2"A list of all objects in .contents that are descended from parent, or one of parent if it is a list of objects."; 3"If property is given, search that instead of .contents."; 4"If that property is an alist, search for elements whose first element is descended from parent."; 5if (!args) 6return this.contents; 7elseif ((length(args) == 1) && (typeof(args[1]) == OBJ)) 8bi = occupants(this, args[1]); 9return bi ? bi | {}; 10endif 11occ = {}; 12ts = (typeof(args[1]) == LIST) ? args[1] | {args[1]}; 13if (length(args) > 1) 14prop = args[2]; 15if ((this.(prop) && (typeof(this.(prop)) == LIST)) && (typeof(this.(prop)[1]) == LIST)) 16for x in (this.(prop)) 17for t in (ts) 18if (is_a(x[1], t)) 19occ = listappend(occ, x); 20break; 21endif 22endfor 23endfor 24elseif (typeof(this.(prop)) == LIST) 25for x in (this.(prop)) 26for t in (ts) 27if (is_a(x, t)) 28occ = listappend(occ, x); 29break; 30endif 31endfor 32endfor 33endif 34else 35c = this.contents; 36for x in (c) 37for t in (ts) 38if (is_a(x, t)) 39occ = listappend(occ, x); 40break; 41endif 42endfor 43endfor 44endif 45return occ;
look_place_msg
Referenced by
- #119:look_place_msg line 1:
pass( - #137:look_place_msg line 2:
pass( - #176:look_place_msg line 1:
pass(
Source
1if (msg = `this.(verb) ! ANY => ""') 2m = $su:ps(msg, player, this); 3if (!m) 4return; 5endif 6if (length(m) < 3) 7return m; 8endif 9if (player:check_pref("boldnames")) 10bn = `this.look_place_name_msg ! ANY => this.name'; 11m = strsub(m, bn, ($ansi.bold_on + bn) + $ansi.bold_off); 12endif 13return m; 14else 15return ""; 16endif
_www _html
Referenced by
- #324:index line 1:
$player_start:_html
Source
1text = {((("<HTML><head><title>" + $network.MOO_name) + ": ") + $su:nn(this)) + "</title></head>"}; 2text = {("Welcome to " + $network.MOO_name) + "!"}; 3if (0) 4text = {@text, "<body bgcolor=\"#000000\" text=\"#22cc22\">"}; 5text = {@text, ("<h2>" + $su:capitalize($su:nn(this))) + "</h2>"}; 6text = {@text, this:description()}; 7text = {@text, "<hr>"}; 8if ($ou:has_property(this, "wiki_msg")) 9text = {@text, $html:link("Wiki Documentation", this.wiki_msg)}; 10text = {@text, "<hr>"}; 11endif 12text = {@text, "<h3>Description</h3>"}; 13if (typeof(desc = this.description) == LIST) 14for idx in [1..length(desc)] 15desc[idx] = desc[idx] + "<BR>"; 16endfor 17text = {@text, @desc, "<br>"}; 18else 19text = {@text, tostr(this.description + "<br>")}; 20endif 21text = {@text, "<h3>Contents</h3>"}; 22for c in (this.contents) 23text = {@text, tostr(((("<a href=\"/" + tostr(tonum(c))) + "\">") + c.name) + "</a><br>")}; 24endfor 25text = {@text, "<h3>Verbs</h3>"}; 26verbs = verbs(this); 27for verbname in (verbs) 28text = {@text, verbname + "<br>"}; 29endfor 30text = {@text, "</body></html>"}; 31endif 32return text;
named
Referenced by
- #6:chatnet_BACKUP line 1:
#118:named - #6:teach line 25:
$skill:named - #6:learn line 3:
$skill:named - #89:@join line 6:
$npc:named - #297:report_from_issuelists line 18:
$player:named
Source
1"return $ou:fastfind(this, @args);"; 2name = args[1]; 3fertile = (length(args) > 1) ? args[2] | 0; 4set = fertile ? $ou:fertile_branches(this) | $ou:leaves_suspended(this); 5$cu:sin(); 6return $match_utils:match(name, set);
room
Referenced by
- #1:look_self line 10:
this:room - #1:list_hint_msg line 6:
this:room - #1:list_hint_msg line 9:
this:room - #50:@pathto line 3:
player:room - #54:make_noise line 2:
this:room - #54:_break line 10:
this:room - #124:_unlock line 35:
this:room - #124:_lock line 26:
this:room - #135:_explode line 1:
this:room - #135:_pull line 25:
this:room - #135:_pull line 26:
this:room - #135:fall line 1:
this:room - #135:burn_up line 1:
this:room - #135:burn_up line 2:
this:room - #135:blast_severity line 3:
this:room - #138:burn_up line 1:
this:room - #201:turn_on line 1:
this:room - #201:turn_off line 1:
this:room - #255:_break line 1:
this:room - #267:do_spring line 12:
this:room - #334:addnote line 1:
player:room - #334:notes line 1:
player:room - #335:do_use_finish line 14:
this:room - #347:burn_up line 2:
this:room
Source
1":room()"; 2"Return the room to which we belong, or #-1."; 3where = this; 4while (valid(where)) 5if (is_a(where, $room)) 6return where; 7endif 8where = where.location; 9endwhile 10return #-1;
tree_tag
Referenced by
- #141:tree_tag line 9:
pass(
Source
1return "";
client_tell
Referenced by
none
Source
1
client_info
Referenced by
none
Source
1":object_info() => prints text summarizing this object for the benefit of"; 2" the Charon client."; 3player:tell("name:" + this.name); 4player:tell("objectNumber:" + tostr(this));
client_inventory
Referenced by
none
Source
1player:client_tell("#$#inventory"); 2for x in (this.contents) 3if (is_a(x, $thing)) 4$client:tell_inv_add(player, x); 5endif 6endfor 7player:client_tell("#$#/inventory");
chill_factor
Referenced by
- #255:chill_factor line 2:
pass(
Source
1return `this.chill_factor ! E_PROPNF => 0';
real_name
Referenced by
none
Source
1return this:name();
region
Referenced by
- #3:title line 22:
this:region - #6:internet_BACKUP line 2:
player:region - #100:time line 12:
this:region - #114:do_reset line 18:
this:region - #114:find_transitions line 24:
this:region - #114:find_transitions line 31:
this:region - #114:_allows line 4:
this:region - #114:_allows line 4:
this:region
Source
1":region()"; 2"Return the region to which we belong, or #-1."; 3where = this; 4while (valid(where)) 5if (is_a(where, $region)) 6return where; 7endif 8where = where.location; 9endwhile 10return #-1;
occupants_suspended
Referenced by
- #3:debug_tell line 1:
this:occupants_suspended - #114:store_sorted_rooms_by_z line 2:
this:occupants_suspended
Source
1":occupants(OBJ parent[, STR property)"; 2"A list of all objects in .contents that are descended from parent."; 3"If property is given, search that instead of .contents."; 4"If that property is an alist, search for elements whose first element is descended from parent."; 5occ = {}; 6t = args[1]; 7if (this == #742) 8$rpg:log_callers(#7195); 9endif 10if (length(args) > 1) 11prop = args[2]; 12if ((this.(prop) && (typeof(this.(prop)) == LIST)) && (typeof(this.(prop)[1]) == LIST)) 13for x in (this.(prop)) 14if (x[1] == t) 15occ = listappend(occ, x); 16endif 17$cu:sin(0); 18endfor 19return occ; 20endif 21else 22for x in (this.contents) 23if (is_a(x, t)) 24occ = listappend(occ, x); 25endif 26$cu:sin(0); 27endfor 28return occ; 29endif
number_of
Referenced by
none
Source
1return length($ou:descendants_suspended(args[1]));
tell
Referenced by
- #1:tell_lines_suspended line 4:
this:tell - #1:tell_lines_suspended line 8:
this:tell - #20:match_backup_spunky line 39:
#97:tell - #50:@receive-dump line 3:
#97:tell - #50:@receive-dump line 14:
#97:tell - #50:@receive-dump line 18:
#97:tell - #92:queue_action line 8:
this:tell - #92:queue_action line 22:
this:tell - #105:creature_heartbeat line 3:
#98:tell - #114:next_hop_out line 6:
#98:tell - #114:tell line 8:
pass( - #119:allows_shove line 5:
#98:tell
Source
1{vthis, vname, vprog, vloc, vplayer, vline} = callers(1)[1]; 2line1 = tostr("Unneccessary tell to ", $su:nn(this)); 3line2 = tostr(" from ", vloc, ":", vname, " line ", vline, "."); 4if (vthis != vloc) 5line2 = tostr(line2, " (this == ", $su:nn(vthis), ")"); 6endif 7$nets.tellnet:announce(this, line1, 1); 8$nets.tellnet:announce(this, line2, 1);
occupantses
Referenced by
none
Source
1tlen = length(types = args); 2results = {}; 3for x in [1..length(types)] 4results = {@results, {}}; 5endfor 6for x in [1..length(this.contents)] 7for y in [1..tlen] 8if (is_a(which = this.contents[x], types[y])) 9results[y] = listappend(results[y], which); 10endif 11endfor 12endfor 13return results;
junk_ok
Referenced by
- #5:_eat line 3:
this:junk_ok - #335:do_use_finish line 7:
this:junk_ok
Source
1what = this; 2if (!what.f) 3if (!children(what)) 4if (!verbs(what)) 5if ((!properties(what)) || (properties(what) == {"inscription"})) 6if (`what.junk_ok ! ANY => 0') 7return 1; 8endif 9endif 10endif 11endif 12endif
is_in
Referenced by
none
Source
1return is_in(this, args[1]); 2if ((args[1] == this) || (args[1] == this.location)) 3return 1; 4elseif (this.location == #-1) 5return 0; 6else 7return this.location:is_in(@args); 8endif
holder
Referenced by
none
Source
1":holder()"; 2"Return the creature whose inventory we're in, or #-1."; 3o = this.location; 4while (valid(o) && (!is_a(o, $creature))) 5o = o.location; 6endwhile 7return o;
is_junkable
Referenced by
none
Source
1return 0;
action_name
Referenced by
none
Source
1return this:name();
verb_sub
Referenced by
- #107:verb_sub line 3:
pass(
Source
1"Substitute my .verb_subs in messages, if any."; 2{text, ?mark_miss = 0} = args; 3if (a = `$list_utils:assoc(text, this.verb_subs) ! ANY') 4subs = a[2]; 5if (typeof(subs) == LIST) 6if ((length(subs) >= 2) && (typeof(subs[1]) == OBJ)) 7return (valid(subs[1]) ? subs[1] | this):(subs[2])(text, @subs[3..$]); 8else 9return subs[random($)]; 10endif 11else 12return subs; 13endif 14elseif (mark_miss) 15return E_NONE; 16else 17return text; 18endif
class
Referenced by
none
Source
1o = this; 2while (valid(o)) 3if (has_property(o, "is_unique_class") && o.is_unique_class) 4return o; 5elseif ((length(o.name) > 8) && (o.name[1..8] == "generic ")) 6return o; 7elseif (o == #1) 8return o; 9endif 10o = parent(o); 11endwhile
hint_msg
Referenced by
- #1:look_self line 8:
this:hint_msg - #1:list_hint_msg line 1:
this:hint_msg
Source
1return `this.(verb) ! ANY => ""';
announce_action_text aat
Referenced by
- #5:_push line 15:
player:aat - #6:disfunc line 7:
this:aat - #6:_walkto line 17:
this:aat - #6:_walkto line 19:
this:aat - #6:heartbeat line 19:
this:aat - #6:remove line 12:
player:aat - #6:pee line 18:
this:aat - #8:re*move line 13:
player:aat - #50:murder line 18:
this:aat - #50:murder line 26:
this:aat - #50:_kick line 16:
this:aat - #50:_kick line 19:
this:aat - #50:_kick line 33:
this:aat - #50:_kick line 39:
this:aat - #50:_kick line 64:
this:aat - #50:@assume-form line 22:
player:aat - #50:@revert-form line 13:
player:aat - #54:open line 2:
player:aat - #54:open line 12:
player:aat - #54:close line 12:
player:aat - #89:die line 19:
this:aat - #100:stop line 40:
player:aat - #104:get_as_it_once_was line 19:
player:aat - #107:_wield line 11:
this:aat - #107:_wield line 33:
this:announce_action_text - #107:_unwield line 14:
this:announce_action_text - #107:die line 18:
this:aat - #107:give_to line 10:
this:aat - #107:give_to line 15:
this:aat - #107:hand_to line 4:
this:aat - #107:say line 19:
this:aat - #107:say line 26:
this:aat - #107:say line 38:
this:aat - #107:say line 40:
this:aat - #107:_get line 13:
this:aat - #107:_get line 22:
this:aat - #107:_drop line 8:
this:aat - #107:clear_hands line 53:
this:aat - #107:stand line 16:
target:aat - #107:_get_many line 19:
this:aat - #107:_get_many line 21:
this:aat - #107:_get_from_container line 6:
this:aat - #107:_get_from_container line 11:
this:aat - #107:rescue line 25:
player:aat - #107:get line 9:
player:aat - #107:get_wet line 3:
this:aat - #107:_block line 5:
this:aat - #111:tease line 10:
player:aat - #115:fix line 4:
player:announce_action_text - #115:turn line 7:
player:announce_action_text - #115:turn line 15:
player:announce_action_text - #119:_slam line 6:
player:aat - #128:light line 22:
player:aat - #128:light line 28:
player:aat - #130:switch line 10:
player:aat - #130:alarm line 12:
player:aat - #134:start line 7:
player:aat - #134:start line 11:
player:aat - #135:fall line 18:
player:aat - #138:smell line 15:
player:aat - #141:wipe line 10:
player:aat - #141:wipe line 20:
player:aat - #141:wipe line 22:
player:aat - #141:lick line 7:
player:aat - #141:lick line 13:
player:aat - #141:lick line 15:
player:aat - #142:slave_to line 8:
this:aat - #142:should_aggro line 27:
this:aat - #144:hang line 11:
player:aat - #144:hang line 16:
player:aat - #148:search line 2:
player:aat - #150:inspect line 2:
player:aat - #150:stop line 5:
player:aat - #150:start line 6:
player:aat - #154:popmon line 16:
this:aat - #154:popmon line 20:
this:aat - #154:popmon line 26:
this:aat - #154:popmon line 30:
this:aat - #154:popmon line 35:
this:aat - #154:popmon line 43:
this:aat - #154:popmon line 48:
this:aat - #158:detach line 9:
player:aat - #158:jump line 6:
player:aat - #158:jump line 9:
player:aat - #181:open line 6:
player:aat - #181:close line 6:
player:aat - #198:eat line 4:
player:aat - #201:turn line 10:
player:aat - #201:turn line 17:
player:aat - #227:start line 8:
player:aat - #227:squeal line 10:
this:aat - #227:squeal line 15:
this:aat - #227:squeal line 20:
this:aat - #267:install line 16:
player:aat - #267:uninstall line 9:
player:aat - #317:ascend line 6:
player:aat - #338:fill line 40:
player:aat - #338:dump line 8:
player:aat - #338:dump line 10:
player:aat - #338:smell line 2:
player:aat - #338:toast line 6:
player:aat - #338:toast line 10:
player:aat - #338:toast line 12:
player:aat - #341:call_police line 6:
this:aat - #342:copy line 6:
player:aat
Source
1this.location:announce_all(@args);
list_hint_msg
Referenced by
- #1:look_self line 12:
this:list_hint_msg - #3:look_self line 106:
this:list_hint_msg
Source
1{?m = `this:hint_msg() ! ANY'} = args; 2if (m) 3if (is_a(this, $room)) 4loc = (this.name + " in ") + area(this):dname(); 5elseif (is_a(this, $npc)) 6loc = (((this:iname() + " at ") + this:room().name) + " in ") + area(this):dname(); 7elseif (is_a(this, $thing) || is_a(this, $exit)) 8if (this.weight == -1) 9loc = (((this:iname() + " at ") + this:room().name) + " in ") + area(this):dname(); 10else 11loc = this:iname(); 12endif 13endif 14m = (("From " + loc) + ": ") + m; 15return m; 16endif
entomb
Referenced by
- #5:entomb line 5:
pass( - #107:entomb line 3:
pass( - #256:entomb line 3:
pass(
Source
No program (verb defined but unprogrammed).