Skip to content

Conversation

Zippity
Copy link
Contributor

@Zippity Zippity commented Aug 6, 2025

What is the new behavior?

GTCEU tools that can harvest grass for straw now take damage on harvest.

Implementation Details

Custom event handler on break of blocks tagged with tfc:mineable_with_sharp_tool. If the tool breaking the grass is tagged tfc:sharp_tools (TFC's tag for grass-harvesting items) then the item takes one point of damage. AoE tools work as intended and take multiple points of damage, while single block tools only take one.

Outcome

Fixes #965

Potential Compatibility Issues

None, as long as tfc:sharp_tools is assigned to the right tools.

@Pyritie Pyritie requested a review from Redeix August 6, 2025 20:08
@Zippity Zippity marked this pull request as draft August 6, 2025 20:11
Redeix
Redeix previously approved these changes Aug 6, 2025
Pyritie
Pyritie previously approved these changes Aug 6, 2025
@Redeix
Copy link
Member

Redeix commented Aug 6, 2025

Btw have you tested the knives in game? I feel like they would break insanely fast when collecting straw

@Zippity
Copy link
Contributor Author

Zippity commented Aug 6, 2025

i have, and they do, which is intended TFC behavior

@Zippity Zippity dismissed stale reviews from Pyritie and Redeix via 33bdfa3 August 6, 2025 20:30
@gustovafing
Copy link
Member

xikaro my new account is gustovafing2

@Redeix
Copy link
Member

Redeix commented Aug 23, 2025

xikaro my new account is gustovafing2

sounds like something a spy would say

@Pyritie
Copy link
Member

Pyritie commented Sep 5, 2025

@Zippity what still needs to be done here?

@Pyritie Pyritie added the Pull request: Refactor Structural improvements. label Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pull request: Refactor Structural improvements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[🐛]: GT Tools takes no durability damage when collecting straw
4 participants