New(client/C) //define the New proc for objs
C.screen += src //add the object to your screen
..()
Click()
usr.clantra = src.clanc
usr.ShowDesc(clanc)
Basic
icon_state = "Basic"
clanc = "Basic"
screen_loc = "9,11"
mob/proc/ShowDesc(c)
var/D = text2path("/obj/makeachar/ClanDs/[c]")
new D(client)
ClanDs
layer = 52
screen_loc = "1,3"
New(client/C) //define the New proc for objs
C.screen += src //add the object to your screen
..()
Basic
icon='PNG/BasicD.PNG'
Problem description:
ok, the problem is that in my game, when the description is created, it's shrunk into one tile. I'v tried other methods, but they don't work. any suggenstions? thanks in advance.
also, the first part is the item clicked, then it's the proc that is called. it creates an obj in client, and that obj is to be displayed in that location.
To solve the problem: Break the picture up into 32x32 bricks and add them each individually, OR place the image on the game map and move the player to that location.