Page 1 of 1

Tokens

PostPosted: 08 Dec 2009, 00:53
by Chris H.
Tokens

I have a question. Dennis spent some time creating the token "c.setImageName()" code. And with the previous changes made to the existing tokens it may make sense to also convert over the Kobolds of Kher Keep and Kelp tokens.


I can add this to the Kher Keep code:

c.setImageName("R 0 1 Kobolds of Kher Keep");

and we would want to find and name the appropriate jpg:

r_0_1_kobolds_of_kher_keep.jpg


I can add this to the Wall of Kelp code:

c.setImageName("U 0 1 Kelp");

and we would want to re-name the appropriate jpg:

u_0_1_kelp.jpg

Re: Tokens

PostPosted: 08 Dec 2009, 04:20
by DennisBergkamp
Yeah, those are actually the correct names, I forgot to change them.

Re: Tokens

PostPosted: 08 Dec 2009, 11:24
by Chris H.
DennisBergkamp wrote:Yeah, those are actually the correct names, I forgot to change them.
`
No problem, I figured that it some times is easy to overlook things like this. :)

While I was looking at the code I also found for Dark Depths:

c.setName("Marit Lage");
c.setName("C 20 20 Marit Lage");

I think that the second one is supposed to be

c.setImageName("C 20 20 Marit Lage");


I will fix these myself and will merge the corrections into the SVN later today. :)

Re: Tokens

PostPosted: 08 Dec 2009, 13:15
by Chris H.
I see that Dark Depths creates a black and not a colorless token. I will fix and merge this into the SVN.

Our token needs to be renamed:

b_20_20_marit_lage.jpg