Skip to content
Snippets Groups Projects
Commit 47fe13be authored by DarkGod's avatar DarkGod
Browse files

switch staff gfx to look correct

parent 6572af2b
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -41,7 +41,7 @@ function _M:init(player, slot)
self.c_list = List.new{scrollbar=true, width=300, height=self.ih - 5, list=self.list, fct=function(item) self:use(item) end, select=function(item) self:select(item) end}
local donatortext = ""
if not profile:isDonator(1) then donatortext = "\n#{italic}##CRIMSON#This cosmetic feature is only available to donators/buyers. You can only preview.#WHITE##{normal}#" end
local help = Textzone.new{width=math.floor(self.iw - self.c_list.w - 20), height=self.ih, no_color_bleed=true, auto_height=true, text="You can alter "..oname.." to look like an other item of the same type/slot.\n#{bold}#This is a purely cosmetic change.#{normal}#"..donatortext}
local help = Textzone.new{width=math.floor(self.iw - self.c_list.w - 20), height=self.ih, no_color_bleed=true, auto_height=true, text="You can alter "..oname.." to look like another item of the same type/slot.\n#{bold}#This is a purely cosmetic change.#{normal}#"..donatortext}
local actorframe = ActorFrame.new{actor=self.actor, w=128, h=128}
self:loadUI{
......
......@@ -557,7 +557,7 @@ function resolvers.calc.moddable_tile(t, e)
r2 = {"lower_body_03","lower_body_04","lower_body_05","lower_body_06","lower_body_06",}
elseif slot == "robe" then r = {"upper_body_34","upper_body_35","upper_body_36","upper_body_37","upper_body_38",}
elseif slot == "shield" then r = {"%s_hand_10_01","%s_hand_11_01","%s_hand_11_02","%s_hand_12_01","%s_hand_12_02",}
elseif slot == "staff" then r = {"%s_hand_08_01", "%s_hand_08_02", "%s_hand_08_03", "%s_hand_08_04", "%s_hand_08_05"}
elseif slot == "staff" then r = {"%s_hand_08_01", "%s_hand_08_03", "%s_hand_08_02", "%s_hand_08_04", "%s_hand_08_05"} -- 03 & 02 are reversed due to an error in gfx, don't change it!
elseif slot == "leather_boots" then r = {"feet_03","feet_10","feet_10","feet_11","feet_11",}
elseif slot == "heavy_boots" then r = {"feet_06","feet_06","feet_07","feet_09","feet_08",}
elseif slot == "gauntlets" then r = {"hands_03","hands_04","hands_05","hands_07","hands_06",}
......
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