mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
Co-authored-by: Poojawa <Poojawa@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
16 lines
546 B
Plaintext
16 lines
546 B
Plaintext
//Let's be optimal with our menu preview icons, shall we?
|
|
/datum/asset/spritesheet_batched/synthesizer
|
|
name = "synthesizer"
|
|
|
|
/datum/asset/spritesheet_batched/synthesizer/create_spritesheets()
|
|
for(var/datum/category_item/synthesizer/path as anything in subtypesof(/datum/category_item/synthesizer))
|
|
var/datum/universal_icon/icon = get_display_icon_for(path::build_path)
|
|
|
|
if(!icon || !icon.icon_file)
|
|
continue
|
|
|
|
icon.scale(128, 128) //enbiggen for the menu UI
|
|
|
|
var/key = sanitize_css_class_name("[path::type]")
|
|
insert_icon(key, icon)
|