mr:dart_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:dart_item [2026/08/02 10:35] – mr:dart_item: Enhance with comprehensive code references from entity analysis Bot | mr:dart_item [2026/08/02 10:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Dart Item - Code References ====== | ||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * **Class Hierarchy**: | ||
| + | * **Image**: `image = 1`, `imageFile = " | ||
| + | * **Damage**: MIN = 1, MAX = 4 (both min and max damage) | ||
| + | * **Quantity**: | ||
| + | * **Price**: 2 gold per dart (`quantity() * 2`) | ||
| + | * **Stackable**: | ||
| + | * **Usable By**: Huntress, Rogue, Gnoll classes (defined in MissileWeapon.java) | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This item does not have specific JSON configuration, | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented in Java, no Lua script exists. | ||
| + | |||
| + | ===== Usage in Code ===== | ||
| + | * Registered in ItemFactory.java (line 344): `registerItemClass(Dart.class)` | ||
| + | * Sold in TownShopLevel.java (line 79): `new Dart(5).identify()` - sells 5 darts per shop slot | ||
| + | * Base class for 4 variants: CurareDart, AmokDart, HealthDart, IncendiaryDart | ||
| + | * No Strength requirement (MissileWeapon characteristic) | ||
| + | |||
| + | ===== Related mr Entities ===== | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | * [[mr: | ||
| + | |||
| + | ===== Wiki Pages ===== | ||
| + | * English: [[en: | ||
| + | * Russian: (page does not exist - only curare_dart_item.txt exists) | ||
| + | * Machine-readable namespace: `mr: | ||
| + | |||
| + | {{tag> mr items weapons missile dart throwing reference}} | ||
mr/dart_item.txt · Last modified: by 127.0.0.1
