Skip to content

feat(bevy_skills): add skill progression system for Bevy 0.18#8029

Merged
h0lybyte merged 2 commits intodevfrom
trunk/bevy-skills-1773575096
Mar 15, 2026
Merged

feat(bevy_skills): add skill progression system for Bevy 0.18#8029
h0lybyte merged 2 commits intodevfrom
trunk/bevy-skills-1773575096

Conversation

@h0lybyte
Copy link
Member

Summary

  • New bevy_skills crate at packages/rust/bevy/bevy_skills/
  • Tracks per-entity skill XP and levels via SkillProfile component
  • SkillRegistry resource for skill definitions (mining, woodcutting, cooking, etc.)
  • Quadratic XpCurve with configurable base, scaling, and max level (default 99)
  • Message-driven flow using Bevy 0.18 MessageReader/MessageWriter API
  • GrantXpMsg / LevelUpMsg for XP granting and level-up notifications
  • SkillCheckMsg / SkillCheckResultMsg for gating interactions by skill level
  • 3 unit tests for XP curve math

Test plan

  • cargo check -p bevy_skills passes
  • cargo test -p bevy_skills passes (3 tests)
  • CI validation

Tracks per-entity skill XP and levels using the Message API.
Provides SkillRegistry for definitions, SkillProfile component
for state, XpCurve for progression, and message-driven skill
checks for gating interactions like mining, woodcutting, cooking.
@github-actions
Copy link
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 3 package(s) with unknown licenses.
See the Details below.

License Issues

packages/rust/bevy/bevy_skills/Cargo.toml

PackageVersionLicenseIssue Type
bevy>= 0.18.0, < 0.19.0NullUnknown License
serde>= 1.0.0, < 2.0.0NullUnknown License
serde_json>= 1.0.0, < 2.0.0NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
cargo/bevy >= 0.18.0, < 0.19.0 UnknownUnknown
cargo/serde >= 1.0.0, < 2.0.0 UnknownUnknown
cargo/serde_json >= 1.0.0, < 2.0.0 UnknownUnknown

Scanned Files

  • packages/rust/bevy/bevy_skills/Cargo.toml

@h0lybyte h0lybyte merged commit 5224837 into dev Mar 15, 2026
4 checks passed
@h0lybyte h0lybyte deleted the trunk/bevy-skills-1773575096 branch March 15, 2026 12:09
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.

1 participant