-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Respawn Stamp Boots when a player was killed (#993)
This PR closes #929. I made `WornStompBoots` component that marks the entity that created when the player used the boots. When the player is killed (`PlayerKilled`) and a related entity with `WornStompBoots` exists (`stomp_boots` in `WearingStompBoots`), I respawn the entity with `StompBoots` component and remove marker `WornStompBoots`.
- Loading branch information
Showing
1 changed file
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters