frame parameter for image()
|
|
|
|
| Status: |
Open
Issue hasn't been assigned a status value.
|
|
|
As of now, to create a single frame /image from a dynamicly created icon, requires you to use icon() and then image(). It'd be nice if image() supported the frame argument in the same way icon() does. Here's an example.
mob/verb/image_frame() var/icon/I = icon(src.c_icon,dir=SOUTH,frame=1) var/image/G = image(I,src.loc) src << G
|
It'd be handy to be able to do this instead:
mob/verb/image_frame_new() var/image/G = image(I,src.loc,dir=SOUTH,frame=1) src << G
|
|