Table of Contents

Leather Armor Item - Code References

Java Classes

Lua Implementation

--- LeatherArmor: data armor kind (was armor/LeatherArmor.java / common/armor).
---
local RPD    = require "scripts/lib/commonClasses"
local weapon = require "scripts/lib/weapon"
 
return weapon.init{
    desc = function()
        return {
            tier      = 2,
            image     = 1,
        }
    end,
}

JSON Configuration

String Resources

<string name="LeatherArmor_Name">leather armor</string>
<string name="LeatherArmor_Desc">Armor made from tanned monster hide. Not as light as cloth armor, but it provides better protection.</string>