Skip to content

Commit

Permalink
aaaasdsadsadsad
Browse files Browse the repository at this point in the history
  • Loading branch information
leaftail1880 committed Aug 27, 2024
1 parent cea129c commit d083c86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/quests/learning/learning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,18 +270,20 @@ class Learning {
return
}

console.log('Teleporting to', Vector.string(this.randomTeleportLocation))
player.camera.fade({
fadeColor: { blue: 0, green: 0, red: 0 },
fadeTime: { fadeInTime: 0, holdTime: 90000, fadeOutTime: 2 },
})
player.teleport(this.randomTeleportLocation)

new ActionForm(
'Заметка',
'Ты - выживший, ты мало что умеешь, и просто так рубить блоки не можешь, да. Следуй по компасу.',
).addButton('Понятно', () => {
player.camera.fade({ fadeTime: { fadeInTime: 0, holdTime: 0, fadeOutTime: 2 } })
if (!this.randomTeleportLocation.valid) return

console.log('Teleporting to', Vector.string(this.randomTeleportLocation))
player.teleport(this.randomTeleportLocation)
})
}
}
Expand Down

0 comments on commit d083c86

Please sign in to comment.