… | |
… | |
67 | orig_stats => stats_get $pl->orig_stats, |
67 | orig_stats => stats_get $pl->orig_stats, |
68 | savebed => [$pl->get_savebed], |
68 | savebed => [$pl->get_savebed], |
69 | skill_exp => skills_get $ob, |
69 | skill_exp => skills_get $ob, |
70 | }; |
70 | }; |
71 | |
71 | |
|
|
72 | unless ($ob->{in_nimbus}) { |
72 | $ob->{in_nimbus} ||= $save; |
73 | $ob->{in_nimbus} = $save; |
73 | |
74 | |
74 | my $path = sprintf "%s/%s/%s/%s", |
75 | my $path = sprintf "%s/%s/%s/%s", |
75 | cf::localdir, cf::playerdir, $ob->name, "nimbus"; |
76 | cf::localdir, cf::playerdir, $ob->name, "nimbus"; |
76 | |
77 | |
77 | my $nimbus = cf::map::get_map "/schmorp/nimbus"; |
78 | my $nimbus = cf::map::get_map "/schmorp/nimbus"; |
78 | $nimbus->set_path ($path); |
79 | $nimbus->set_path ($path); |
79 | $nimbus->set_unique (1); |
80 | $nimbus->set_unique (1); |
80 | |
81 | |
81 | $pl->set_savebed ($path, 24, 12); |
82 | $pl->set_savebed ($path, 24, 12); |
82 | |
83 | |
83 | $ob->message ("\n"); |
84 | $ob->message ("\n"); |
84 | $ob->message ("You start to feel dizzy.\n"); |
85 | $ob->message ("You start to feel dizzy.\n"); |
85 | $ob->message ("The world around you blurs.\n"); |
86 | $ob->message ("The world around you blurs.\n"); |
86 | $ob->message ("\n"); |
87 | $ob->message ("\n"); |
|
|
88 | } |
87 | |
89 | |
88 | 0 |
90 | 0 |
89 | } |
91 | } |
90 | |
92 | |
91 | sub teleport { |
93 | sub teleport { |