Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Talents = require "engine.interface.ActorTalents"
- --currently copied from helm code
- newEntity{
- define_as = "BASE_CODPIECE",
- slot = "CODPIECE",
- type = "armor", subtype="codpiece",
- add_name = " (#ARMOR#)",
- display = "]", color=colors.SLATE, image = resolvers.image_material("codpiece", "metal"),
- moddable_tile = resolvers.moddable_tile("codpiece"),
- require = { talent = { Talents.T_ARMOUR_TRAINING }, },
- encumber = 3,
- rarity = 7,
- metallic = true,
- desc = [[A large codpiece that can protect the entire groin.]],
- randart_able = "/data/general/objects/random-artifacts/generic.lua",
- egos = "/data/general/objects/egos/codpiece.lua", egos_chance = { prefix=resolvers.mbonus(40, 5), suffix=resolvers.mbonus(40, 5) },
- }
- newEntity{ base = "BASE_CODPIECE",
- name = "iron codpiece", short_name = "iron",
- level_range = {1, 20},
- cost = 5,
- material_level = 1,
- wielder = {
- combat_armor = 3,
- fatigue = 5,
- },
- }
- newEntity{ base = "BASE_CODPIECE",
- name = "dwarven-steel codpiece", short_name = "d.steel",
- level_range = {20, 40},
- cost = 7,
- material_level = 3,
- wielder = {
- combat_armor = 4,
- fatigue = 4,
- },
- }
- newEntity{ base = "BASE_CODPIECE",
- name = "voratun codpiece", short_name = "voratun",
- level_range = {40, 50},
- cost = 10,
- material_level = 5,
- wielder = {
- combat_armor = 5,
- fatigue = 5,
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment