Closed Breadp4ck closed 1 month ago
@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.
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 withWornStompBoots
exists (stomp_boots
inWearingStompBoots
), I respawn the entity withStompBoots
component and remove markerWornStompBoots
.