--- deliantra/Deliantra/Deliantra.pm 2006/02/22 22:41:22 1.18 +++ deliantra/Deliantra/Deliantra.pm 2006/02/22 23:02:59 1.19 @@ -274,7 +274,7 @@ *ARCH = read_arch "$LIB/archetypes", "$cachedir/archetypes.pst"; } -=item $data = arch_attr $arch +=item $type = arch_attr $arch Returns a hashref describing the object and its attributes. It can contain the following keys: @@ -285,6 +285,7 @@ desc use section => [name => \%attr, name => \%attr] + import =cut @@ -316,6 +317,8 @@ use PApp::Util; warn PApp::Util::dumpval $attr; + + $attr || \%Crossfire::Data::DEFAULT_ATTR; } sub arch_edit_sections {