Skip to content
Snippets Groups Projects
Commit dc6862d2 authored by dg's avatar dg
Browse files

Using the cloak of deception will make a hood appear on the player's head (as...

Using the cloak of deception will make a hood appear on the player's head (as opposed to most other cloak which do not)


git-svn-id: http://svn.net-core.org/repos/t-engine4@3813 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1c9915a9
No related branches found
No related tags found
No related merge requests found
......@@ -1790,6 +1790,7 @@ function _M:updateModdableTile()
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", display_y=i[1].moddable_tile_big and -1 or 0, display_h=i[1].moddable_tile_big and 2 or 1} end
i = self.inven[self.INVEN_FEET]; if i and i[1] and i[1].moddable_tile then add[#add+1] = {image = base..(i[1].moddable_tile)..".png", display_y=i[1].moddable_tile_big and -1 or 0, display_h=i[1].moddable_tile_big and 2 or 1} end
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", display_y=i[1].moddable_tile_big and -1 or 0, display_h=i[1].moddable_tile_big and 2 or 1} end
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", display_y=i[1].moddable_tile_big and -1 or 0, display_h=i[1].moddable_tile_big and 2 or 1} end
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"} end
......
......@@ -26,6 +26,7 @@ newEntity{ define_as = "CLOAK_DECEPTION",
slot = "CLOAK",
type = "armor", subtype="cloak",
unided_name = "black cloak", image = "object/artifact/black_cloak.png",
moddable_tile = "cloak_%s_05", moddable_tile_hood = true,
name = "Cloak of Deception",
display = ")", color=colors.DARK_GREY,
encumber = 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment