cst-weapon-detect

Community

Precisely detects weapon types for smarter combat

AuthorKorCaptain
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detect weapon usage types to drive weapon-aware logic in CaptainSkillTree.

Core Features & Use Cases

  • Three-step detection priority (Valheim base type → prefab name → weapon name) to reliably classify weapons across mods.
  • Uses the WeaponHelper class exclusively to perform weapon checks, ensuring consistent behavior and avoiding duplicate methods.
  • Supports vanilla and modded weapons, and logs a debug message if all checks fail for easier troubleshooting.

Quick Start

Initialize or call the detection logic within your weapon handling flow, ensuring WeaponHelper is available.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cst-weapon-detect
Download link: https://github.com/KorCaptain/Valheim_Captain_SkillTree/archive/main.zip#cst-weapon-detect

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.