mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
16 lines
365 B
Plaintext
16 lines
365 B
Plaintext
/datum/icon_snapshot
|
|
var/name
|
|
var/icon
|
|
var/icon_state
|
|
var/list/overlays
|
|
|
|
/datum/icon_snapshot/proc/makeImg()
|
|
if(!icon || !icon_state)
|
|
return
|
|
var/obj/temp = new
|
|
temp.icon = icon
|
|
temp.icon_state = icon_state
|
|
temp.overlays = overlays.Copy()
|
|
var/icon/tempicon = getFlatIcon(temp) // TODO Actually write something less heavy-handed for this
|
|
return tempicon
|