diff --git a/game/modules/tome/data/talents/gifts/cold-drake.lua b/game/modules/tome/data/talents/gifts/cold-drake.lua index db9a4c9ccc2d1986e817d2ec70414b86be83d273..b98ded6ac04162c65586b8e0663387c7ef11e324 100644 --- a/game/modules/tome/data/talents/gifts/cold-drake.lua +++ b/game/modules/tome/data/talents/gifts/cold-drake.lua @@ -105,7 +105,7 @@ newTalent{ self:useEnergy() self.temporary = self.temporary - 1 if self.temporary <= 0 then - game.level.map(self.x, self.y, Map.TERRAIN, self.old_feat) + game.level.map(self.x, self.y, engine.Map.TERRAIN, self.old_feat) game.level:removeEntity(self) game.level.map:redisplay() end diff --git a/game/modules/tome/data/talents/spells/earth.lua b/game/modules/tome/data/talents/spells/earth.lua index 0ac13f997b9c4dfe31a7b5d707893a801f4b5aac..5d2c04e2fc0719c0e980e2b86be866ff82c48597 100644 --- a/game/modules/tome/data/talents/spells/earth.lua +++ b/game/modules/tome/data/talents/spells/earth.lua @@ -142,7 +142,7 @@ newTalent{ self:useEnergy() self.temporary = self.temporary - 1 if self.temporary <= 0 then - game.level.map(self.x, self.y, Map.TERRAIN, self.old_feat) + game.level.map(self.x, self.y, engine.Map.TERRAIN, self.old_feat) game.level:removeEntity(self) game.level.map:redisplay() end diff --git a/game/modules/tome/dialogs/UseItemDialog.lua b/game/modules/tome/dialogs/UseItemDialog.lua index d5c4848cd82339abe49ee0856e5d19b617d1545b..e0af99f314fbe8124c8d74db28ef7297d490ae92 100644 --- a/game/modules/tome/dialogs/UseItemDialog.lua +++ b/game/modules/tome/dialogs/UseItemDialog.lua @@ -35,7 +35,7 @@ function _M:init(actor, object, item, inven, onuse) self:generateList() local name = object:getName() local nw, nh = self.font:size(name) - engine.Dialog.init(self, name, math.max(nw, self.max) + 10, self.maxh + 10 + 25, nil, nil, nil, self.font) + engine.Dialog.init(self, " "..name.." ", math.max(nw, self.max) + 10, self.maxh + 10 + 25, nil, nil, nil, self.font) self.sel = 1 self.scroll = 1