From bcccb19fef7e5f42bc7d2854419ffb39cae0cbca Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Tue, 18 Dec 2012 01:12:42 +0000 Subject: [PATCH] Can only transfer items to things with inventories Shard of Crystallized Time hasa neat description git-svn-id: http://svn.net-core.org/repos/t-engine4@6129 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/class/Party.lua | 2 +- game/modules/tome/data/zones/town-point-zero/objects.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/game/modules/tome/class/Party.lua b/game/modules/tome/class/Party.lua index 00af1b12bd..b2d1222d90 100644 --- a/game/modules/tome/class/Party.lua +++ b/game/modules/tome/class/Party.lua @@ -136,7 +136,7 @@ end function _M:countInventoryAble() local nb = 0 for i, actor in ipairs(self.m_list) do - if not actor.no_inventory_access then nb = nb + 1 end + if not actor.no_inventory_access and actor:getInven(actor.INVEN_INVEN) then nb = nb + 1 end end return nb end diff --git a/game/modules/tome/data/zones/town-point-zero/objects.lua b/game/modules/tome/data/zones/town-point-zero/objects.lua index f407a12a32..9b2d44bcba 100644 --- a/game/modules/tome/data/zones/town-point-zero/objects.lua +++ b/game/modules/tome/data/zones/town-point-zero/objects.lua @@ -25,6 +25,7 @@ local Talents = require "engine.interface.ActorTalents" newEntity{ base = "BASE_TOOL_MISC", power_source = {arcane=true}, define_as = "TIME_SHARD", + desc = [[An iridescent shard of violet crystal. Its light ebbs and flows, sometimes fast and sometimes slow, keeping track with the chaotic streams of time itself. It makes you feel both old and young, a newborn child and an ancient being, your flesh simply one instance in a thousand refractions of a single timeless and eternal soul.]], unique = true, name = "Shard of Crystalized Time", color = colors.YELLOW, unided_name = "glowing shard", image = "object/artifact/time_shard.png", -- GitLab