generic region #189

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

Aliases: generic region, region

11 verbs · 16 properties · 3 children

Verbs

VerbSpecFlagsDefinerLines
regionthis none thisrxd#1891
areathis none thisrxd#1891
acceptthis none thisrxd#1895
who_namethis none thisrxd#1891
_allowsthis none thisrxd#1894
abbreviated_namethis none thisrxd#1896
spy_reportthis none thisrxd#18912
map_areathis none thisrxd#1898
enterfuncthis none thisrxd#1897
exitfuncthis none thisrxd#1895
announce_all_playersthis none thisrxd#1895

Properties

PropertyDefinerFlagsOwnerValue
obscure_area_in_who#189rc#3611
_allow_combat#189rc#3611
show_in_room_title#189rc#3611
map_area#189rc#361#-1
admin_ok#189rc#3610
_allows#189rc#361{}
aliases#1rc#361{"generic region", "region"}
description#1rc#361<clear>
object_size#1r#29{5139, 1298434235}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361<clear>
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): #1 root

Children: #161 dreamworld, #264 earth, #322 admin land

Call graph

calls n189_5 #189:abbreviated_name n20_39 #20:words n189_5->n20_39 n1_30 #1:name n189_5->n1_30 n189_6 #189:spy_report n1_23 #1:contents n189_6->n1_23 n189_7 #189:map_area n57_2 #57:_create n189_7->n57_2 n17_2 #17:set_owner n189_7->n17_2 n189_8 #189:enterfunc n189_8->n189_7 n189_9 #189:exitfunc n189_9->n189_7

Source

region

Spec this none thisFlags rxdOwner #361Definer #189

Referenced by

none

Source

1return this;

area

Spec this none thisFlags rxdOwner #361Definer #189

Referenced by

none

Source

1return #-1;

accept

Spec this none thisFlags rxdOwner #361Definer #189

Referenced by

none

Source

1if (is_a(args[1], $area) && (!args[1].f))
2return 1;
3else
4return 0;
5endif

who_name

Spec this none thisFlags rxdOwner #361Definer #189

Referenced by

none

Source

1return this.name;

_allows

Spec this none thisFlags rxdOwner #361Definer #189

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

Spec this none thisFlags rxdOwner #361Definer #189

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

Spec this none thisFlags rxdOwner #361Definer #189

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

Spec this none thisFlags rxdOwner #361Definer #189

Referenced by

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

Spec this none thisFlags rxdOwner #361Definer #189

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

Spec this none thisFlags rxdOwner #361Definer #189

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

Spec this none thisFlags rxdOwner #361Definer #189

Referenced by

none

Source

1for x in (connected_players())
2if (is_in(x, this))
3x:tell(@args);
4endif
5endfor