generic region #189
Aliases: generic region, region
11 verbs · 16 properties · 3 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
region | this none this | rxd | #189 | 1 |
area | this none this | rxd | #189 | 1 |
accept | this none this | rxd | #189 | 5 |
who_name | this none this | rxd | #189 | 1 |
_allows | this none this | rxd | #189 | 4 |
abbreviated_name | this none this | rxd | #189 | 6 |
spy_report | this none this | rxd | #189 | 12 |
map_area | this none this | rxd | #189 | 8 |
enterfunc | this none this | rxd | #189 | 7 |
exitfunc | this none this | rxd | #189 | 5 |
announce_all_players | this none this | rxd | #189 | 5 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
obscure_area_in_who | #189 | rc | #361 | 1 |
_allow_combat | #189 | rc | #361 | 1 |
show_in_room_title | #189 | rc | #361 | 1 |
map_area | #189 | rc | #361 | #-1 |
admin_ok | #189 | rc | #361 | 0 |
_allows | #189 | rc | #361 | {} |
aliases | #1 | rc | #361 | {"generic region", "region"} |
description | #1 | rc | #361 | <clear> |
object_size | #1 | r | #29 | {5139, 1298434235} |
hidden_verbs | #1 | rc | #361 | <clear> |
phelp_msg | #1 | rc | #361 | <clear> |
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): #1 root
Children: #161 dreamworld, #264 earth, #322 admin land
Call graph
Source
region
Referenced by
none
Source
1return this;
area
Referenced by
none
Source
1return #-1;
accept
Referenced by
none
Source
1if (is_a(args[1], $area) && (!args[1].f)) 2return 1; 3else 4return 0; 5endif
who_name
Referenced by
none
Source
1return this.name;
_allows
Referenced by
none
Source
1if (!(args[1] in $rpg.allowable_area_settings)) 2raise(E_PROPNF); 3endif 4return `this.("_allow_" + args[1]) ! E_PROPNF => 0';
abbreviated_name
Referenced by
none
Source
1"An abbreviated name from the first letter in each word of the name."; 2aname = ""; 3for w in ($su:words(this:name())) 4aname = tostr(aname, w[1]); 5endfor 6return aname;
spy_report
Referenced by
none
Source
1players = {}; 2animals = {}; 3loot = {}; 4bodies = {}; 5for area in (this:contents()) 6{aplayers, aanimals, aloot, abodies} = area:spy_report(); 7players = {@players, @aplayers}; 8animals = {@animals, @aanimals}; 9loot = {@loot, @aloot}; 10bodies = {@bodies, @abodies}; 11endfor 12return {players, animals, loot, bodies};
map_area
Referenced by
- #189:enterfunc line 3:
this:map_area - #189:exitfunc line 2:
this:map_area
Source
1if (!is_a(this.map_area, #12412)) 2ma = $recycler:_create(#12412); 3$wiz_utils:set_owner(ma, this.owner); 4ma.name = this.name + " map"; 5ma:moveto(#-1); 6this.map_area = ma; 7endif 8return this.map_area;
enterfunc
Referenced by
none
Source
1if (is_a(area = args[1], $area)) 2if (area:path_ok()) 3if (is_a(ma = this:map_area(), #12412)) 4ma:add_area(area); 5endif 6endif 7endif
exitfunc
Referenced by
none
Source
1if (is_a(area = args[1], $area)) 2if (is_a(ma = this:map_area(), #12412)) 3ma:remove_area(area); 4endif 5endif
announce_all_players
Referenced by
none
Source
1for x in (connected_players()) 2if (is_in(x, this)) 3x:tell(@args); 4endif 5endfor