Skip to content

feat: Consuming Item Event#805

Merged
VALERA771 merged 3 commits intoExMod-Team:devfrom
MS-crew:Consumingİtem
Apr 14, 2026

Hidden character warning

The head ref may contain hidden characters: "Consuming\u0130tem"
Merged

feat: Consuming Item Event#805
VALERA771 merged 3 commits intoExMod-Team:devfrom
MS-crew:Consumingİtem

Conversation

@MS-crew
Copy link
Copy Markdown

@MS-crew MS-crew commented Apr 8, 2026

Description

Describe the changes
read title

What is the current behavior? (You can also link to an open issue here)

What is the new behavior? (if this is a feature change)

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentations

Submission checklist

  • I have checked the project can be compiled
  • I have tested my changes and it worked as expected

Patches (if there are any changes related to Harmony patches)

  • I have checked no IL patching errors in the console

Other

  • Still requires more testing

Copy link
Copy Markdown

@Someone-193 Someone-193 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@VALERA771
Copy link
Copy Markdown

I doubt that this event is useful. We also have a UsingItemEventArgs which fires not only for consumables but also for all useable items

@MS-crew
Copy link
Copy Markdown
Author

MS-crew commented Apr 11, 2026

I doubt that this event is useful. We also have a UsingItemEventArgs which fires not only for consumables but also for all useable items

They're not the same thing, and this is more effective. For example, with medkits, you can reject this event, bypassing the main medkit effects and logic and allowing the item to be used. It's better for making your own custom items.

@VALERA771 VALERA771 merged commit a1f8bf2 into ExMod-Team:dev Apr 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants