generic data #342

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

Aliases: generic data

4 verbs · 16 properties · 1 children

Verbs

VerbSpecFlagsDefinerLines
forbid_action_getthis none thisrxd#3426
copythis none nonerxd#3427
_copythis none thisrxd#3425
_clonethis none thisrxd#34216

Properties

PropertyDefinerFlagsOwnerValue
size#342rc#291
filetype#342rc#29"dat"
matrix_r#342rc#290
matrix_w#342rc#290
matrix_x#342rc#290
data#342rc#29{}
aliases#1rc#29{"generic data"}
description#1rc#29<clear>
object_size#1r#29{2949, 1298433893}
hidden_verbs#1rc#29<clear>
phelp_msg#1rc#29<clear>
weight#1rc#29<clear>
owner_verbs#1rc#29<clear>
plural_name#1rc#29<clear>
client_image#1rc#29<clear>
listening#1rc#29<clear>

Ancestry

Ancestors (nearest first): #1 root

Children: #172 generic document

Call graph

calls n342_0 #342:forbid_action_get n1_39 #1:dnamec n342_0->n1_39 n342_1 #342:copy n107_43 #107:tell n342_1->n107_43 n1_66 #1:announce_action_text n342_1->n1_66 n20_34 #20:pronoun_sub n342_1->n20_34 n92_2 #92:queue_action n342_1->n92_2 n342_2 #342:_copy n342_2->n20_34 n342_3 #342:_clone n342_2->n342_3 n45_6 #45:ancestors n342_3->n45_6 n2_19 #2:_create n342_3->n2_19 n17_2 #17:set_owner n342_3->n17_2

Source

forbid_action_get

Spec this none thisFlags rxdOwner #29Definer #342

Referenced by

none

Source

1who = args[1];
2what = args[3][1][1];
3if (((what == this) && (this.matrix_r == 0)) && (this.owner != who))
4who:tell(this:dnamec(), " is not a readable object; it cannot be moved or copied.");
5return 1;
6endif

copy

Spec this none noneFlags rxdOwner #361Definer #342

Referenced by

none

Source

1"Creates a copy of this object and places it on your avatar.";
2if ((this.matrix_r == 0) && (player != this.owner))
3player:tell("That is not a readable object, and therefore cannot be copied.");
4return;
5endif
6player:aat($su:ps(this.copy_start_msg));
7player:queue_action($actions.verb, {this, "_copy", {player, this}, 1.0, 1}, 1, "copy  " + this.name);

_copy

Spec this none thisFlags rxdOwner #361Definer #342

Referenced by

none

Source

1who = args[1];
2what = args[2];
3copy = this:_clone(who);
4copy:moveto(who);
5who:aat($su:ps(this.copy_finish_msg));

_clone

Spec this none thisFlags rxdOwner #361Definer #342

Referenced by

Source

1"Copied from generic matrix data object (#129831):_clone by Satan (#2) Mon Nov 20 13:03:30 2006 PST";
2who = args[1];
3parent = $object_utils:ancestors(this)[1];
4copy = #2:_create(parent);
5copy.name = this.name;
6copy.aliases = this.aliases;
7copy.description = this.description;
8copy.matrix_r = this.matrix_r;
9copy.matrix_w = this.matrix_w;
10copy.matrix_x = this.matrix_x;
11copy.data_props = this.data_props;
12for a in (this.data_props)
13copy.("" + a) = this.("" + a);
14endfor
15$wiz_utils:set_owner(copy, who);
16return copy;