generic data #342
Aliases: generic data
4 verbs · 16 properties · 1 children
Verbs
| Verb | Spec | Flags | Definer | Lines |
|---|---|---|---|---|
forbid_action_get | this none this | rxd | #342 | 6 |
copy | this none none | rxd | #342 | 7 |
_copy | this none this | rxd | #342 | 5 |
_clone | this none this | rxd | #342 | 16 |
Properties
| Property | Definer | Flags | Owner | Value |
|---|---|---|---|---|
size | #342 | rc | #29 | 1 |
filetype | #342 | rc | #29 | "dat" |
matrix_r | #342 | rc | #29 | 0 |
matrix_w | #342 | rc | #29 | 0 |
matrix_x | #342 | rc | #29 | 0 |
data | #342 | rc | #29 | {} |
aliases | #1 | rc | #29 | {"generic data"} |
description | #1 | rc | #29 | <clear> |
object_size | #1 | r | #29 | {2949, 1298433893} |
hidden_verbs | #1 | rc | #29 | <clear> |
phelp_msg | #1 | rc | #29 | <clear> |
weight | #1 | rc | #29 | <clear> |
owner_verbs | #1 | rc | #29 | <clear> |
plural_name | #1 | rc | #29 | <clear> |
client_image | #1 | rc | #29 | <clear> |
listening | #1 | rc | #29 | <clear> |
Ancestry
Ancestors (nearest first): #1 root
Children: #172 generic document
Call graph
Source
forbid_action_get
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
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
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
Referenced by
- #342:_copy line 3:
this:_clone
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;