Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
12 stars 5 forks source link

Implement travel step for quests #381

Closed snipercup closed 2 weeks ago

snipercup commented 2 weeks ago

Fixes #350

Implements the requirements listed in #350. Implementing these requirements does not take much code, but since I required precise coordinate and position control, I had to basically rewrite the entire overmap script. The overmap is now more responsive to signals and adjusts accordingly.

An arrow points to the target location if the location is outside of the visible area. The arrow is not quite as accurate as I'd like it to be but it does the job for now. With this implementation, you can send players to the nearest overmap location that has the given map id and complete the quest step when entering it.

Additional functionality could allow one to send the player only to unexplored areas, but I haven't implemented this yet.