diff --git a/game/modules/tome/data/general/objects/world-artifacts.lua b/game/modules/tome/data/general/objects/world-artifacts.lua index b8829f37c36f54d957c05f13ceaf7b2a1b22eb2a..268e09dd01baa0a6326e50f32c13f785dfce5ab2 100644 --- a/game/modules/tome/data/general/objects/world-artifacts.lua +++ b/game/modules/tome/data/general/objects/world-artifacts.lua @@ -937,9 +937,19 @@ newEntity{ base = "BASE_CLOTH_ARMOR", inc_damage={[DamageType.NATURE] = 10, [DamageType.MIND] = 10, [DamageType.ACID] = 10}, resists={[DamageType.NATURE] = 30}, on_melee_hit={[DamageType.POISON] = 20, [DamageType.SLIME] = 20}, + on_wear = function(self, who) + self.worn_by = who + if not game.state.spydre_mantra then + game.state.spydre_mantra = true + require("engine.ui.Dialog"):simpleLongPopup("Huh?", "As you wear the strange set of robes, you notice something folded into one of its pockets...", 500, function() + game.party:learnLore("shiiak-mantra") + end + end, + }, } + newEntity{ base = "BASE_HELM", define_as = "HELM_KROLTAR", power_source = {technique=true}, unique = true,