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

shimmer'ed objects say so in their descs

parent dfe97ca5
No related branches found
No related tags found
No related merge requests found
......@@ -2036,6 +2036,13 @@ function _M:getDesc(name_param, compare_with, never_compare, use_actor)
desc:add({"color", "WHITE"})
end
if self.shimmer_moddable then
local oname = (self.shimmer_moddable.name or "???"):toTString()
desc:add(true, {"color", "OLIVE_DRAB"}, "This object's appearance was changed to ")
desc:merge(oname)
desc:add(".", {"color","LAST"}, true)
end
if could_compare and not never_compare then desc:add(true, {"font","italic"}, {"color","GOLD"}, "Press <control> to compare", {"color","LAST"}, {"font","normal"}) end
return desc
......
game/modules/tome/data/gfx/shockbolt/terrain/mirror_of_reflection_front.png

27.3 KiB | W: | H:

game/modules/tome/data/gfx/shockbolt/terrain/mirror_of_reflection_front.png

27.1 KiB | W: | H:

game/modules/tome/data/gfx/shockbolt/terrain/mirror_of_reflection_front.png
game/modules/tome/data/gfx/shockbolt/terrain/mirror_of_reflection_front.png
game/modules/tome/data/gfx/shockbolt/terrain/mirror_of_reflection_front.png
game/modules/tome/data/gfx/shockbolt/terrain/mirror_of_reflection_front.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -90,11 +90,13 @@ function _M:generateList()
for name, data in pairs(unlocked) do
if self.object.type == data.type and self.object.subtype == data.subtype then
list[#list+1] = {
local d = {
moddables = table.clone(data.moddables, true),
name = name,
sortname = name:removeColorCodes(),
}
d.moddables.name = name
list[#list+1] = d
end
end
table.sort(list, "sortname")
......
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