… | |
… | |
72 | |
72 | |
73 | $ob->message ("\n"); |
73 | $ob->message ("\n"); |
74 | $ob->message ("You start to feel dizzy.\n"); |
74 | $ob->message ("You start to feel dizzy.\n"); |
75 | $ob->message ("The world around you blurs.\n"); |
75 | $ob->message ("The world around you blurs.\n"); |
76 | $ob->message ("\n"); |
76 | $ob->message ("\n"); |
|
|
77 | |
|
|
78 | $pl->savebed ("/nimbus", 24, 12); |
77 | } |
79 | } |
78 | |
|
|
79 | $pl->savebed ("/nimbus", 24, 12); |
|
|
80 | }, |
80 | }, |
81 | ); |
81 | ); |
82 | |
82 | |
83 | cf::object::attachment nimbus_exit => |
83 | cf::object::attachment nimbus_exit => |
84 | on_trigger => sub { |
84 | on_trigger => sub { |
… | |
… | |
106 | |
106 | |
107 | my $map = $ob->map; |
107 | my $map = $ob->map; |
108 | $pl->savebed (@savebed); |
108 | $pl->savebed (@savebed); |
109 | |
109 | |
110 | cf::async { |
110 | cf::async { |
|
|
111 | $Coro::current->{desc} = "nimbus exit"; |
111 | $ob->goto (@savebed); |
112 | $ob->goto (@savebed); |
112 | |
113 | |
113 | $map->nuke; |
114 | $map->nuke; |
114 | |
115 | |
115 | #$pl->play_sound (cf::sound::find "player_dies"); |
116 | #$pl->play_sound (cf::sound::find "player_dies"); |