Skip to content

feat: Respawn Stamp Boots when a player was killed#993

Merged
MaxCWhitehead merged 2 commits intofishfolk:mainfrom
Ultipuk:update_stamp_boots
May 16, 2024
Merged

feat: Respawn Stamp Boots when a player was killed#993
MaxCWhitehead merged 2 commits intofishfolk:mainfrom
Ultipuk:update_stamp_boots

Conversation

@Ultipuk
Copy link
Contributor

@Ultipuk Ultipuk commented May 15, 2024

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.

@Ultipuk Ultipuk changed the title Respawn Stamp Boots when a player was killed feat: Respawn Stamp Boots when a player was killed May 15, 2024
@Ultipuk Ultipuk changed the title feat: Respawn Stamp Boots when a player was killed feat: Respawn Stamp Boots when a player was killed (#929) May 15, 2024
@Ultipuk Ultipuk changed the title feat: Respawn Stamp Boots when a player was killed (#929) feat: Respawn Stamp Boots when a player was killed May 15, 2024
@MaxCWhitehead MaxCWhitehead added this pull request to the merge queue May 16, 2024
@Ultipuk
Copy link
Contributor Author

Ultipuk commented May 16, 2024

@MaxCWhitehead

I think we should not close the issue right now.

However, after experimenting for a while, I discovered that players can equip two boot items, but only one of them will respawn when the player is killed. I suggest dropping the worn boots when a player attempts to equip another pair.

Merged via the queue into fishfolk:main with commit d27a8b7 May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spike Shoes are still in player's hand after equipping

2 participants