Table of Contents

Sword Item - Code References

Java Classes

JSON Configuration

The Sword is not defined through a JSON configuration file; its properties are set directly in the Java constructor:

public Sword() {
    super( 3, 1f, 1f ); // tier 3, damage factor 1.0, delay factor 1.0
}

String Resources

English strings (values/strings_all.xml):

<string name="Sword_Name">sword</string>
<string name="Sword_Info">The razor-sharp steel blade shines reassuringly.</string>
<string name="Sword_Gender">masculine</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Key Implementation Details