… | |
… | |
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 | } |