Commit f1121879844e6503fe66507caef057cf278d4ac1

Authored by DarkGod
1 parent d25d95f5

fix quiver to be behind weapons/shields

@@ -3485,6 +3485,7 @@ function _M:updateModdableTile() @@ -3485,6 +3485,7 @@ function _M:updateModdableTile()
3485 i = self.inven[self.INVEN_HEAD]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", auto_tall=1} end 3485 i = self.inven[self.INVEN_HEAD]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", auto_tall=1} end
3486 i = self.inven[self.INVEN_HANDS]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", auto_tall=1} end 3486 i = self.inven[self.INVEN_HANDS]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", auto_tall=1} end
3487 i = self.inven[self.INVEN_CLOAK]; if i and i[1] and i[1].moddable_tile_hood then add[#add+1] = {image = base..(i[1].moddable_tile):format("hood")..".png", auto_tall=1} end 3487 i = self.inven[self.INVEN_CLOAK]; if i and i[1] and i[1].moddable_tile_hood then add[#add+1] = {image = base..(i[1].moddable_tile):format("hood")..".png", auto_tall=1} end
  3488 + i = self.inven[self.INVEN_QUIVER]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", auto_tall=1} end
3488 if not self:attr("disarmed") then 3489 if not self:attr("disarmed") then
3489 i = self.inven[self.INVEN_MAINHAND]; if i and i[1] and i[1].moddable_tile then 3490 i = self.inven[self.INVEN_MAINHAND]; if i and i[1] and i[1].moddable_tile then
3490 add[#add+1] = {image = base..(i[1].moddable_tile):format("right")..".png", auto_tall=1} 3491 add[#add+1] = {image = base..(i[1].moddable_tile):format("right")..".png", auto_tall=1}
@@ -3500,8 +3501,6 @@ function _M:updateModdableTile() @@ -3500,8 +3501,6 @@ function _M:updateModdableTile()
3500 end 3501 end
3501 end 3502 end
3502 3503
3503 - i = self.inven[self.INVEN_QUIVER]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", auto_tall=1} end  
3504 -  
3505 self:triggerHook{"Actor:updateModdableTile:front", base=base, add=add} 3504 self:triggerHook{"Actor:updateModdableTile:front", base=base, add=add}
3506 3505
3507 if self.moddable_tile_ornament and self.moddable_tile_ornament[self.female and "female" or "male"] then add[#add+1] = {image = base..self.moddable_tile_ornament[self.female and "female" or "male"]..".png", auto_tall=1} end 3506 if self.moddable_tile_ornament and self.moddable_tile_ornament[self.female and "female" or "male"] then add[#add+1] = {image = base..self.moddable_tile_ornament[self.female and "female" or "male"]..".png", auto_tall=1} end