--- deliantra/server/ext/jeweler.ext 2010/04/19 12:03:50 1.21 +++ deliantra/server/ext/jeweler.ext 2010/05/30 19:49:40 1.26 @@ -106,6 +106,8 @@ my $ring_ob = $ring->to_object; + $ring_ob->kv_set (ext_jeweler_maker => $pl->name); + { # some audit info calculation my $sklvl = cf::exp_to_level ($sk->stats->exp); @@ -114,7 +116,8 @@ $pl->name, $ring->to_string, $ring_ob->uuid, $sklvl, $ring->power_to_level, $exp, $make_status; - warn "$make_info\n" if $make_status eq 'succeeded'; + cf::debug "$make_info\n" + if $make_status eq 'succeeded'; } $chdl->put ($ring_ob); @@ -130,7 +133,7 @@ $pl->message ("There are unidentified items in the workbench, identify them before you do anything."). return } elsif ($@) { - warn "error in jeweler ingredient extraction: $@"; + cf::error "error in jeweler ingredient extraction: $@"; return; } $ingred; @@ -271,9 +274,9 @@ } } }; - $@ and warn "ERROR: $@\n"; + $@ and cf::error "$@\n"; } ); -Jeweler::read_config "res/jeweler.yaml"; +Jeweler::load_config;