ID:113326
 
Applies to:DM Language
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()
//Assume a mob has a character icon generated via SwapColor() and Blend. Named c_icon. To create a single frame /image you need to do this:
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