mob
var/list
HotKeys=list(,"Key1","Key2","Key3","Key4","Key5","Key6","Key7","Key8","Key9","Key0","Key10","Key11","Key12")
proc/SetKey(key,object) HotKeys[key]=object
obj
var
screenlocation
SlotLoc = 0
Skillcards
layer = 12
New()
..()
src.mouse_drag_pointer = icon(src.icon,src.icon_state)
MouseDrop(obj/Slot)
if(Slot)
src.name = Slot.name
usr.client.screen += src
src.screen_loc=Slot.screen_loc
src.screenlocation = src.screen_loc
usr.SetKey(Slot.name,src)
Problem description:
Hi, I tried to save client screen but it dont work. How I can generate skillcards into client screen? Because each skillcard gets the key name, like key 1, key 2,... I have no idea what to do.