Skip to content

Provide an entity:onTakingShieldDamage() callback - #2902

Merged
daid merged 1 commit into
daid:masterfrom
dkapell:onShieldDamage
Aug 3, 2026
Merged

Provide an entity:onTakingShieldDamage() callback#2902
daid merged 1 commit into
daid:masterfrom
dkapell:onShieldDamage

Conversation

@dkapell

@dkapell dkapell commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR adds a entity:onTakingShieldDamage() callback which works the same as entity:onTakingDamage() but for damage to Shields instead of damage to Hull.

This allows for lua scripts to trigger on shield damage instead of just hull damage.

@dkapell
dkapell marked this pull request as ready for review August 3, 2026 00:20
@daid
daid merged commit 4f88ec5 into daid:master Aug 3, 2026
5 checks passed
oznogon pushed a commit to oznogon/EmptyEpsilon that referenced this pull request Aug 4, 2026
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.

2 participants