This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-05-02 17:42:04 -04:00
|
|
|
link[] places;
|
|
|
|
|
link place;
|
|
|
|
|
link character;
|
|
|
|
|
|
2021-05-06 23:05:36 -04:00
|
|
|
restore {
|
2021-05-08 23:06:31 -04:00
|
|
|
if(this.places.empty) {
|
2021-05-02 17:42:04 -04:00
|
|
|
for(let i = 0; i < 3; i ++) {
|
2021-05-09 19:42:03 -04:00
|
|
|
const place = create('places.forest', {
|
2021-05-02 17:42:04 -04:00
|
|
|
world: this
|
|
|
|
|
});
|
2021-05-08 23:06:31 -04:00
|
|
|
this.places.push(place);
|
2021-05-02 17:42:04 -04:00
|
|
|
}
|
|
|
|
|
}
|
2021-05-06 09:33:28 -04:00
|
|
|
|
2021-05-08 23:06:31 -04:00
|
|
|
for(const place of this.places) {
|
2021-05-09 19:42:03 -04:00
|
|
|
console.log(place.ping());
|
2021-05-06 09:33:28 -04:00
|
|
|
}
|
2021-05-06 23:05:36 -04:00
|
|
|
}
|