How would I go about implementing a souls-like bonefire mechanic in my game

So I want to add bonefires in my game like those in Dark Souls and similar games. I have already figured out the part where you recover all of your hp back and you get all of your health consumables back too, but I need to know how to do the following:
-Make it so that you respawn at the last bonefire you rested at (I got this figured out to some extent but I don't know if what I did is any good)
-Make it so that enemies respawn once you rest at the bonefire or respawn at the bonefire due to death
-Make it so that you can fast travel between bonefire

Any help would be appreciated. Please let me know if I need any plugins.

Here are some photos of the event pages of both the current bonefire I have made and the enemy I have if these help.
Screenshot_2473.png

Screenshot_2474.png

Screenshot_2475.png

Screenshot_2476.png


Screenshot_2478.png
Make it so that you respawn at the last bonefire you rested at (I got this figured out to some extent but I don't know if what I did is any good)
if it works, it works, but my suggestion is to move most of this stuff into common events so that you only need to go to one place to make changes.

-Make it so that enemies respawn once you rest at the bonefire or respawn at the bonefire due to death
since youre erasing the events, you only need to reload the map. a quick transfer to another map and back can respawn them.

-Make it so that you can fast travel between bonefire
you can reserve a switch for each bonfire and flip it when interacted with to symbolize having been there before. then you can make a menu out of a show choices event command that contains and using himes hidden choice plugin, you can only have bonfires show up if their switch is active. might be a hassle to set up if you have many bonfires

you can also slip a hidden item named after the location into the player's inv the first time they use any specific bonfire, use a select item event command to allow the player to choose the "location" and store the item id into a variable, and then transfer them based on the variable. you'd have to reserve the entirety of Hidden Items A or B though as all of items within the category would populate the list
since youre erasing the events, you only need to reload the map. a quick transfer to another map and back can respawn them.
I thought of an idea but its not a good one and its just to spark some inspiration. Making a switch for every enemy that turns on when you beat the enemy. Bonfire turns the switch off. this would be alot of switches though so not recommended :headshake:

As for transferring to multiple map areas. Hime choices is what I would recommend aswell, but for my project I have it so the safe hub has all the areas you can travel to (much like the bloodborne hunters dream.)

Also for respawning at bonfires. A simpler, evented idea I had (yet have not tested) is to use a plugin that lets you customize the game over screen and uses the coords (as you've done here) to respawn the player. I assume using such a plugin would also help make it so the game over screen doesn't have to be from the last loaded save (so much like the souls games if you use an item then boom gone out ur inventory)

these are all sloppy ideas and as I like the idea of bonfires myself I'll test out a few solutions (mainly that last one.) hope i helped 👍
Making a switch for every enemy that turns on when you beat the enemy. Bonfire turns the switch off. this would be alot of switches though so not recommended
you can pull it off with self switches if you know the scripts to do it. Not going to detail, but its possible to put an <enemy> notetag into your enemies' note fields and then have the bonfires in each map reset the self switches of all events with that notetag.

A simpler, evented idea I had (yet have not tested) is to use a plugin that lets you customize the game over screen and uses the coords (as you've done here) to respawn the player. I assume using such a plugin would also help make it so the game over screen doesn't have to be from the last loaded save
i think SRD has a plugin for that. i also remember making a one off plugin for someone before that instead of going to a game over the game just played a common event instead, but that would require digging up
i also remember making a one off plugin for someone before that instead of going to a game over the game just played a common event instead, but that would require digging up
I found one for MV if this was what you were referring to

Original thread: https://forums.rpgmakerweb.com/threads/how-would-i-go-about-implementing-a-souls-like-bonefire-mechanic-in-my-game.175130/