mr:longsword_item
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mr:longsword_item [2025/12/25 09:53] – Update wiki pages with accurate information and create missing pages mike | mr:longsword_item [2026/03/28 08:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== longsword_item - Code References ====== | ||
| + | |||
| + | {{ rpd: | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | **Key Implementation Details:** | ||
| + | * **Package**: | ||
| + | * **Extends**: | ||
| + | * **Constructor**: | ||
| + | - Base damage: 4 | ||
| + | - Attack speed factor: 1.0f | ||
| + | - Accuracy factor: 1.0f | ||
| + | * **image**: ItemSpriteSheet.LONG_SWORD (sprite index) | ||
| + | * **animation_class**: | ||
| + | * **slot()**: Returns Belongings.Slot.WEAPON (main hand slot) | ||
| + | * **blockSlot()**: | ||
| + | * **desc()**: Returns description from R.string.Longsword_Info via StringsManager | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented in Java, no JSON configuration exists | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists | ||
| + | |||
| + | ===== Entity Kind ===== | ||
| + | * **Entity Kind**: Longsword (returns class simple name via getEntityKind()) | ||
| + | * **Item Type**: Melee Weapon | ||
| + | * **Weapon Tier**: Based on damage value (4) | ||
| + | * **Slot**: WEAPON (main hand) | ||
| + | * **Block Slot**: LEFT_HAND (can block with weapon) | ||
| + | * **Animation**: | ||
| + | |||
| + | ===== Weapon Stats ===== | ||
| + | * **Base Damage**: 4 | ||
| + | * **Speed Factor**: 1.0f (normal attack speed) | ||
| + | * **Accuracy Factor**: 1.0f (normal accuracy) | ||
| + | * **Animation Class**: HEAVY_ATTACK | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
