Table of Contents

MeleeWeapon Item - Code References

Sword

Java Classes

Known MeleeWeapon Subclasses

JSON Configuration

This entity is implemented in Java, no JSON configuration exists for the base MeleeWeapon class. Individual melee weapons may have JSON configuration in Treasury.json for loot tables.

String Resources

English string resources (values/strings_all.xml) contain names and descriptions for all melee weapons. Example strings:

<string name="ShortSword_Name">short sword</string>
<string name="ShortSword_Info">A well-balanced sword suitable for most situations.</string>
<string name="Dagger_Name">dagger</string>
<string name="Dagger_Info">A light, fast weapon designed for stabbing.</string>

Russian string resources (values-ru/strings_all.xml) provide localization for all melee weapons.

Lua Scripts

This entity is implemented in Java, no Lua script exists for the base MeleeWeapon class. Custom melee weapons may use Lua scripts in scripts/items/.

Weapon Stats

Wiki Pages

English:

Russian: