ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/ipo.ext
(Generate patch)

Comparing deliantra/server/ext/ipo.ext (file contents):
Revision 1.7 by root, Tue Jun 19 20:39:30 2007 UTC vs.
Revision 1.9 by root, Wed Sep 19 21:56:30 2007 UTC

19 literacy => [ 19 literacy => [
20 1000, 'scroll_literacy', 20 1000, 'scroll_literacy',
21 sub { $_[0]->value (1000 * $price_fact) } 21 sub { $_[0]->value (1000 * $price_fact) }
22 ], 22 ],
23 mailscroll => [ 23 mailscroll => [
24 1, 'scroll', 24 1, 'mailscroll_empty',
25 sub { 25 sub {
26 $_[0]->name ("mailscroll T: $_[2] F: $_[1]"); 26 $_[0]->name ("mailscroll T: $_[2] F: $_[1]");
27 $_[0]->name_pl ("mailscrolls T: $_[2] F: $_[1]"); 27 $_[0]->name_pl ("mailscrolls T: $_[2] F: $_[1]");
28 $_[0]->value (1 * $price_fact); 28 $_[0]->value (1 * $price_fact);
29 }, 29 },
185 $who->reply ($npc, "Here is your $cmd"); 185 $who->reply ($npc, "Here is your $cmd");
186 } 186 }
187 187
188 } elsif ($cmd eq 'receive') { 188 } elsif ($cmd eq 'receive') {
189 cf::async { 189 cf::async {
190 $Coro::current->{desc} = "ipo receive";
191
190 my $storage = cf::map::find ("/planes/IPO_storage"); 192 my $storage = cf::map::find ("/planes/IPO_storage");
191 unless ($storage) { 193 unless ($storage) {
192 $who->reply ($npc, "Sorry, our package delivery service is currently in strike. Please come back later."); 194 $who->reply ($npc, "Sorry, our package delivery service is currently in strike. Please come back later.");
193 return 1; 195 return 1;
194 } 196 }
214 $who->reply ($npc, "Send to who?"); 216 $who->reply ($npc, "Send to who?");
215 return 1; 217 return 1;
216 } 218 }
217 219
218 cf::async { 220 cf::async {
221 $Coro::current->{desc} = "ipo send";
222
219 my $storage = cf::map::find ("/planes/IPO_storage"); 223 my $storage = cf::map::find ("/planes/IPO_storage");
220 unless ($storage) { 224 unless ($storage) {
221 $who->reply ($npc, "Sorry, our package delivery service is currently in strike. Please come back later."); 225 $who->reply ($npc, "Sorry, our package delivery service is currently in strike. Please come back later.");
222 return 1; 226 return 1;
223 } 227 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines