Trying to make small aesthetic change, having trouble, help?
Posted: Fri May 20, 2016 3:05 pm
So I'm trying make a small addon that changes the time hound ASCII display to a light blue Z. Being absolute pants at coding and having notable trouble parsing the various instructions I've noticed on the forum (and more or less copying the format of the shadowflame tree tweak addon), I've ended up with this, so far, in superload/data/talents/chronomancy/temporal-hounds.lua:
The bright side is that it's stopped spitting out errors every time I try to load the addon (the first try just had the display line in there and nothing else, and it took several more to try the _M thing) and it actually recognizes the addon at all (which took a bit). The not so bright side is that temporal hounds are still showing up as light_black Cs. It... it feels like it should not be this difficult to change one letter and one word and get results, so I have the notable suspicion I'm either missing something terribly obvious or underestimating how much effort this is going to take. Anyone out there able to give me a hint as to what I'm screwing up?
Code: Select all
local _M = loadPrevious(...)
summonTemporalHound = function(self, t)
local m = require("mod.class.NPC").new{
display = "Z", color=colors.LIGHT_BLUE, image = ("npc/temp_hound_0%d.png"):format(rng.range(1, 12)),
}
end
return _M