[MIRROR] Food Synthesizers (#12885)

Co-authored-by: Poojawa <Poojawa@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-07-09 13:11:41 -07:00
committed by GitHub
parent 3d332058f5
commit 725fac5bb3
31 changed files with 2382 additions and 62 deletions
@@ -0,0 +1,15 @@
//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)